x4rl Well-known member Apr 11, 2011 #1 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 Am trying to get it to "work and stay" on the page its coded for index.php?manga/ Many Thanks
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 Am trying to get it to "work and stay" on the page its coded for index.php?manga/ Many Thanks
x4rl Well-known member Apr 11, 2011 #2 Done it anyone else wanting to know this is what I used HTML: href="javascript:void(0)"
R ragtek Guest Apr 13, 2011 #3 You don't need the link Add the onclick event to the img and remove the a tag.
x4rl Well-known member Apr 13, 2011 #4 ragtek said: You don't need the link Add the onclick event to the img and remove the a tag. Click to expand... 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)
ragtek said: You don't need the link Add the onclick event to the img and remove the a tag. Click to expand... 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)
R ragtek Guest Apr 13, 2011 #5 Vodkaholic said: 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) Click to expand... yes, that's because of the #
Vodkaholic said: 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) Click to expand... yes, that's because of the #
x4rl Well-known member Apr 13, 2011 #6 ragtek said: yes, that's because of the # Click to expand... I didn't use # because that just send me to the home page everytime it was clicked :C
ragtek said: yes, that's because of the # Click to expand... I didn't use # because that just send me to the home page everytime it was clicked :C