I've done a really simple jQuery slider
$(document).ready(function(){
$('li').hover(function(){
$(this).children('div').slideToggle();
});
});
Like this. It works perfectly, div
's are hidden and they display when you hover the li
item, but there's a problem. When you press the "back" button in browser sometimes the slidetoggle
"freezes" in the "opened" position (meaning the div
is displayed) and they start working backwards. Any ideas for fix?