Slider: How to disable the hash #prev and #next in url

Hej there,

is it possible to disable the hash #prev and #next in the url, if I am clicking on the prev and next button in a slider?

Looking forward to hearing from you
Best wishes

Hello Carlo,

Thanks for writing in! You can change the HTML tag from using <a> to <div> so that the link can be disabled. You can still click on the next and previous button.

Hope this works out for you.

1 Like

Hej @ruenel,
thank you very much.
It works.
Best wishes

Hi Carlo,

Glad that it worked.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.