I’m developing a Javascript slider that implements back/forward arrows for navigation. My problem is that rapidly clicking the ‘Forward’ arrow selects text. (Though for some reason this doesn’t happen when rapidly clicking any of my other buttons.) I basically have the same problem as the OP in [this][1] question, but none of the answers work for me. I don’t have the option of using <button>‘s, I even tried it and it didn’t work.
I’m developing a Javascript slider that implements back/forward arrows for navigation. My problem is
Share
Instead of making the arrow images the background for the
<a>items, try actually placing the<img>s inside of the<a>tags. I believe the problem is that the browser thinks you’re clicking on the background – which you effectively are – and many clicks on the background highlights text.You said you don’t have the option of using
<button>— What other limitations are we working with?