KevinBatdorf / liquidslider

A Responsive jQuery Content Slider
161 stars 63 forks source link

Page scroll to the top when click on new slide #127

Closed divljak closed 9 years ago

divljak commented 10 years ago

Hi guys,

I have really strange bug.

My page scrolls to the top when changing slides.

You can see live page here and check what I talking about -> http://www.bodyweightburn.com/bwblander

Thanks in advance! Oggy

KevinBatdorf commented 10 years ago

What browser/ operating system?

kreaseb commented 10 years ago

Hi people,

I have the same problem. OS : windows 7 Family ed, Mac OS 10.7.5 browsers: Chrome 35.0.1916.86 , Firefox 28.0, safari

Thank you for your help

Seb

kreaseb commented 10 years ago

Hi, There is a solution. You can edit the liquislider.js file. Replace in "addArrows" function the hashtag(#) by javascript:void(0). Exemple: < a href="#">' + f.options.dynamicArrowLeftText + " becomes < a href="javascript:void(0)">' + f.options.dynamicArrowLeftText + "

Have a good day

Séb

KevinBatdorf commented 10 years ago

This should be fixed in the recent version