Unstoppable Domains

Simple HTML question

Spaceship Spaceship
Watch

zack

Account Closed
Impact
5
This is the code for a button that soes mouseover effects, etc.
How do I make the page stop loading new ones. (I recently converted from a frame setup.)
<img border="0" id="img3" src="button17.jpg" height="20" width="100" alt="Exhaust" onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'button18.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'button17.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'button19.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'button18.jpg')" fp-style="fp-btn: Jewel 3; fp-orig: 0" fp-title="Exhaust">
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
PLEASE PLEASE PLEASE USE "HTML" TAGS! (that's [ HTML ] and [ /HTML ] without the spaces).

That will produce this:
HTML:
<img border="0" id="img3" src="button17.jpg"
height="20" width="100" alt="Exhaust" onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'button18.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'button17.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'button19.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'button18.jpg')"
fp-style="fp-btn: Jewel 3; fp-orig: 0" fp-title="Exhaust">

Which you would agree is MUCH easier to read.

Otherwise, I'm not exactly sure. There's an easier way to do this I think though, give the image a name, then source, then when the user rolls the mouse over, do something like:

imagename.src='image_url.jpg'

See what I mean?
 
Last edited:
0
•••
No, not really. I want to make the hyperlink to load the page in the same browser. When I click it it opens a new window for each page.
 
0
•••
In your <a> tag, put target="_self" in it.
 
0
•••
Thats exactly what I wanted. I'll give ya NP. Thanks man. I appreciate it.
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back