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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The image in my table won't load until I rollover the mouse...

Status
Not open for further replies.

123456programmer

Programmer
Aug 3, 2003
105
AU
I have this CSS that would change the background when mouse roll-over
<TD WIDTH=101 HEIGHT=75 background="menu.gif" style="cursor: pointer;" onClick="document.location = ' onmouseover="this.background= onmouseout="this.background=' </TD>

but unfortunately the menu.gif won't load until the mouse rolls-over the image.

thanks in advance.
PS: Is there a way to do this thing but so that this would work on NetScape aswell.
 
You should make it so that it pre-loads the image. For more information on how to do this, post the same question in the Javascript string.

Peace out,
Peace Co.
 
so this can't be resolved in CSS...
alright, thanks a lot.
I ll post on the javascript thread.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top