I have a simple website which has a few :hover effects in it, placed on div's, not links. I need to make these effects visible on the ipad.
I am currently using 'touchstart' in my header:
<script>
document.addEventListener("touchstart", function(){}, true);
</script>
Which does a good job... On the ipad, when i touch the div, the mouse over (hover) effect is displayed. When i touch anywhere outside of the div, the effect is reversed (mouse out).
However, i need the effect to reverse even if i tap on the same div again...
Anyone able to help? Thanks! M