So, "hover" doesn't really exist on touchscreens. So what's the best option, a bit of javascript to give a small popup with an "x" in the corner to close it down?
I'd rather not have a mass of code to achieve this simple effect.
So, "hover" doesn't really exist on touchscreens. So what's the best option, a bit of javascript to give a small popup with an "x" in the corner to close it down?
I'd rather not have a mass of code to achieve this simple effect.
Hover on touch devices is tricky. One option is to have a "long press" event trigger the tooltip/popup, in which case this will help.
Another, more low-tech option is to add a small icon next to every element that needs a hoverable. When the icon is clicked, the hoverable opens. The benefit to this option is that it's more accessible (providing the icon is not microscopic, of course).