jquery - PHP mod_rewrite Anchors -


I have mod_rewrite work with all my URLs.

But I have some anchor links, like reference #top at the top back

I also have a jquery slider with a start stop button. This button uses href = "#" to trigger, but it does not start or stop the slider, instead it reloads the page and so the slider moves back to the 1st slide with the slider.

Any thoughts?

There is nothing with mod_rewrite. You need to stop the default functionality of a link.

: Something in the lines of:

  $ ('a.slidertrigger'). Click (function (e) {E.preventDefault ();});    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -