beont
Programmer
- May 16, 2008
- 9
I have used :
<td align="center" width = "20%" height = "40"
onmousedown ="this.style.backgroundImage ='url(./images/bc.jpg)'" onmouseover="this.style.backgroundImage ='url(./images/bo.jpg)'" onmouseout="this.style.backgroundImage='url(./images/b.jpg)'" background="./images/b2.jpg">
<A HREF='./index.php?nav=search' style='text-decoration:none'><font face="Tahoma" color=white size = 3>Search</font></a></td>
When mouseover it changes but when I try mousedown for the first time no image is displayed i have to click several times until the mousedown image appears. then everything works
<td align="center" width = "20%" height = "40"
onmousedown ="this.style.backgroundImage ='url(./images/bc.jpg)'" onmouseover="this.style.backgroundImage ='url(./images/bo.jpg)'" onmouseout="this.style.backgroundImage='url(./images/b.jpg)'" background="./images/b2.jpg">
<A HREF='./index.php?nav=search' style='text-decoration:none'><font face="Tahoma" color=white size = 3>Search</font></a></td>
When mouseover it changes but when I try mousedown for the first time no image is displayed i have to click several times until the mousedown image appears. then everything works