You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
also i find out that when i clear cashe slider stops on first slide and buttons don't work, but when i click on left or right slide it sliding out as usual
The text was updated successfully, but these errors were encountered:
$("#slider a").bind("click",function(event){if($(this).closest('.mb-panel').is('.current')){// allow clickreturn;}else{// prevent link from working - click still switches panels.event.preventDefault();}});
Thank you very much for your quick response, now it works as it should
also, if you using ajax load content into moving boxes its better to chose live() instead bind()
$("#slider a").live("click",function(event){
..............
});
all that I need to do its make links in the slides unclicable until the slide became selected
i try something like this
$("#slider li").not(".current").find("a").live("click",function(event){event.preventDefault();});
but this don't work
also i find out that when i clear cashe slider stops on first slide and buttons don't work, but when i click on left or right slide it sliding out as usual
The text was updated successfully, but these errors were encountered: