mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 13:14:45 +00:00
23 lines
485 B
JavaScript
23 lines
485 B
JavaScript
$(function(){
|
|
$('.photoview')
|
|
.live('swipeleft',function(){
|
|
$(this).find('a').ajaxClick();
|
|
})
|
|
.live('swiperight',function(){
|
|
$(this).next().find('a:contains(Prev)').ajaxClick();
|
|
});
|
|
$('.photoview a').click(function(){
|
|
event.stopImmediatePropagation();
|
|
})
|
|
.tap(function(event){
|
|
$(this).ajaxClick();
|
|
event.stopImmediatePropagation();
|
|
})
|
|
.taphold(function(event){
|
|
$.fixedToolbars.toggle();
|
|
event.stopImmediatePropagation();
|
|
})
|
|
|
|
}
|
|
});
|
|
|