How can I get this to work in a template?


Formerly Wuebit
        <a href="#" onclick="moveToNextPage(); return false;"><img id="display" src="js/VKmanga/spinner.gif"></a>
Everytime it just takes me back to the xenforo root page :mad:
Am trying to get it to "work and stay" on the page its coded for


Many Thanks


Formerly Wuebit
You don't need the link;)

Add the onclick event to the img and remove the a tag.
Thanks man will this way stop the page jumping to the top everytime it's clicked? or is that something else lol

You can see here what I mean (something ive been working on)