Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change size of 'MouseOver image' for rollover 1

Status
Not open for further replies.

spinningman

Programmer
Oct 17, 2003
9
GB
My first 'normal' image is small but my 'Mouse over' image is much bigger. I'm using DW and can only get the 'mouse over' image to be the same size as the normal image. Can I do this is DW or does it involve changing the JC manually? If I need the script does anyone have some. Thanks!!!
 
You can either set the height and width from the code, or you can remove the initial height and width params.

For example:

1:
Code:
<img src="img1.gif" height="10" width="10" onmouseover="this.src='img2.gif'; this.height='50'; this.width='50';" />

2:
Code:
<img src="img1.gif" onmouseover="this.src='img2.gif';" />

*cLFlaVA
----------------------------
[tt]insert funny quotation here.[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top