i have following code
-
Try this:
<script>
document.addEventListener("touchstart", function(){}, true);
</script>
讨论(0)
-
Several solutions:
- skip hover effects in touch device stylesheets
- use JavaScript to turn hover into click interactions
- use JavaScript to simulate hover interactions on the touch device (see this Question on StackOverflow
讨论(0)