I want to use a simple jquery function:
It doesn’t work and I can’t seem to concoct a suitable alternative.
Can anyone help please?
you mean jquery mobile i guess … well it should work.
it’s always good practice to post a hypefile … makes things clearer
though those swipeevents are builtin so why use an external library¿
Apologies, of course a hypefile would make it clearer… Doh!
swipe.zip (173.9 KB)
As Hans mentions, you can use the Hype Native Swipe events and detect if left or right swipe by catching the event type.
you forgot to load the jQuery-mobile-library. didn’t have a look at your code … guess it’ll work when loaded.
Thank you for your reply, I’ve added jQuery-mobile-library but the swipe function doesn’t work
swipe.zip (106.3 KB)
first loaded library has to be jquery …
Thank you Hans, that’s made my day