...

View Full Version : Mobile devices, run function on flick



tomharto
09-20-2011, 03: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?

Kor
09-20-2011, 04:13 PM
Could be onscroll:
http://help.dottoro.com/ljurkcpe.php

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

blaze4218
09-20-2011, 05: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:
http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW1

tomharto
09-20-2011, 09: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 :).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum