• 0

Help with code


Question

I need some help with the coding of the tag below. The problem is - onMouseOver I want the background of the cell to be an image instead of a solid colour.

onMouseOver="style.backgroundColor='#A4B3DC'"

onClick='openLink("index.htm,"_self")' onMouseOut="style.backgroundColor='#EFFEFF'" align=right width=111>

HOME

Any help is much appreciated :)

Link to comment
https://www.neowin.net/forum/topic/2791-help-with-code/
Share on other sites

4 answers to this question

Recommended Posts

  • 0

i also have another way of doing it -

<pre>

<td 

onMouseOver="td1.style.background='url('image2.gif')';" 

onClick='openLink("index.htm,"_self")' 

onMouseOut="td1.style.background='url('image1.gif')';" 

align=right width=111 id="td1" background="image1.gif">



<div class=menuItem> <font class="text">HOME</font> </div> 

</td> 

</pre>

Link to comment
https://www.neowin.net/forum/topic/2791-help-with-code/#findComment-18957
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.