Stereobit / dragend

dragend JS – a touch ready, full responsive, content swipe script
http://stereobit.github.com/dragend/
MIT License
486 stars 113 forks source link

How get current position web #83

Open juanlabrador opened 8 years ago

juanlabrador commented 8 years ago

Thanks for your work. I slide between my pages, but I don't know how get current position or to do an action when one page is focus from Dragend.

alexiovay commented 8 years ago

Need to know the same thing?

alexiovay commented 8 years ago

I found a solution. Maybe this helps you too:

http://stackoverflow.com/questions/37237466/how-can-i-know-which-direction-the-user-swiped/37238878#37238878

@juanlabrador

markosole commented 8 years ago

Hi, thanks for asking. I'm trying to do the same thing. I gave 7 images/slides. I want to show number of active slide. I have managed to count all slides using jQuery. I want to have something like this: 5 / 7 7 - number of slides (total) 5 - number of active slide

Does anyone have any idea how to make this?