How to show a percentage of an image using the jquery Show() method

PeseEngeree

New Member
i'm trying to create the same nice effect of and overlayed arrow (ie desktop version of chrome) when you swipe left or right in for a mobile browser.I use javascript and jQuery and for now i can show the arrow when I swipe. I managed to have the distance of the swipe but i can't find a way to link the two so i only show a portion of the arrow in relation with the distance !\[code\]$('#arrow').show('slide',{direction: 'right'},1000);$('#arrow').fadeIn();$('#arrow').fadeOut();\[/code\]I'm trying to do it also with animate() but i'm still stuck :SThanks for the help
 
Back
Top