Hi guys, wondering if you might be able to help with this.
I found this jQuery plugin for detecting an iPhone finger swipe.
It works well bringing up an Alert with this call:
$('.swipe').swipe({
swipeLeft: function() { $('#someDiv').fadeIn() },
swipeRight: function() { $('#someDiv').fadeOut() },
})
But what i want it to do is use the link made by next_post_link and previous_post_link in WP and navigate to them accordingly.
So how would i go about doing that?
The links to Next and Prev are inside Div’s, but obviously compiled from wordpress PHP calls.
Cheers guys,
Alex