Using "target" navigation anchors and browser history getting crowded!

Asked

Viewed 19 times

0

I’m using Ancoras in a slide application in its proper back and forth arrows, but every click on the anchored arrows with links of the positions and images set in my directory, will store a content in the browser history, and it ends up being full of blank pages, which in this case is my own HTML page that has the slide, would have some way to prevent this absurd storage ?? https://i.stack.Imgur.com/dorwO.png

  • Dude your arrows are links? Like <a href="#"> ? Have you tried with event.preventDefault() ?

  • Yes, they are <a href="#"> that consequently the history gets full

  • I tried to use that command you mentioned, but I’m not sure how I did it

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.