View Full Version : Mobile devices, run function on flick

09-20-2011, 04:11 PM
Im working on a mobile site for a friend and im curious, can i trigger javascript events on screen flick (By flick i mean the way to scroll through homepage screens). Id love to run a few things like that but i dont know if thats possible. If it is is there a tutorial about i could look at?

09-20-2011, 05:13 PM
Could be onscroll:

but I am not sure how consistent is this event among mobiles. Which mobile is all about? iPhone? Android? Blackberry? Win Mobile?

09-20-2011, 06:25 PM
I'm sure your looking for solutions for as many devices as possible, but this should help ensure that your solutions are iPhone compatible:

09-20-2011, 10:08 PM
Thanks, yeah i want it as widely compatible as possible but i realise the whole mobile internet is still quite new. Ill take a look over those links hopefully can get it working for at least one phone :).