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
Carlo

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.
:slight_smile:
Best wishes
Carlo

Hi Carlo,

Glad that it worked.

Thanks

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