How can I get this to work in a template?

DarkVodka

Formerly Wuebit
HTML:
        <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

index.php?manga/

Many Thanks
 

DarkVodka

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)
 
Top