erik-krogh / SudoSlider

The most versatile jQuery content slider
36 stars 24 forks source link

History effect is gone #30

Closed robinknaapen closed 9 years ago

robinknaapen commented 9 years ago

Hi there, used sudo slider because its very nice. i wanted to enable history so i did... (duh), but when i navigate through pages the effects are gone. weird thing is when i go back (with the history) the page slides smoothly.

TL;DR

forward animation broken when history is enabled, backward animation still works when history is enabled

this is the config i use

$("#slider").sudoSlider({ ajax: [ 'pages/home.php', 'pages/beheer.php', 'pages/consultancy.php', 'pages/datacenter.php', 'pages/netwerkOntwerp.php', 'pages/voip.php' ], effect:"slide", history:true, customLink:'.link', prevNext: false, speed:500, interruptible:true, responsive:false, numericText:['Home', 'Beheer', 'Consultancy', 'Datacenter', 'NetwerkOntwerp', 'Voip'] });

webbiesdk commented 9 years ago

Congratulations, you actually found a bug.

For now you can fix it by setting interruptible to false, but I'll look into fixing the actual bug.

robinknaapen commented 9 years ago

that fixed the issue thanks. if this bug is resolved i would like to hear so. it will be much nicer if interruptions are possible.

webbiesdk commented 9 years ago

Should be fixed in the commit i just pushed.

Just download the latest version here from github https://github.com/webbiesdk/SudoSlider/archive/master.zip to get the fixed version.

robinknaapen commented 9 years ago

hooray thanx for the great support and fast fix

webbiesdk commented 9 years ago

You're welcome.