get rid of the "this."
<table>
<tr>
<td align="center" onMouseOver="bgColor='#ff0000'" onMouseOut="bgColor='#0000ff'">
blah, blah!
</td></tr>
</table> I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
as I found by looking for a answer for you. There is no easy way to do this unless I am not seeing one out there. Here is a link to do what you want with a little modifications though.
It's one step closer, now i'm trying to debug the netscape version. In netscape the mouseover effect works with the first button, then the second button makes acts as if it were the first button thus we see the effect on the first button when the mouse is over of or the second button. The last 2 buttons don't work at all. In IE everything works fine, but in netscape 4.47(which I have to support) I get the problems above. Any help would be appreciated. This is my menu code:
If not rstMenu.EOF then
Response.Write ("<a href=" & rstMenu("URL" & "?lang=" & Language & ">" & rstMenu("LABEL_" & Language & "DESC" & "</a>" & vbcrlf)
rstMenu.MoveNext
End If
%>
</span>
</layer></ilayer>
</td>
<!----------Menu 2 starts here---------->
<td align="center">
<ilayer><layer onmouseover="bgChange('green')" onmouseout="bgChange('white')">
<span onmouseover="bgChange('green')" onmouseout="bgChange('white')">
<%
If not rstMenu.EOF then
Response.Write ("<a href=" & rstMenu("URL"& "?lang=" & Language & ">" & rstMenu("LABEL_" & Language & "DESC" & "</a>" & vbcrlf)
rstMenu.MoveNext
End If
%>
</span>
</layer></ilayer>
</td>
<!----------Menu 2 ends here---------->
<!----------Menu 3 starts here---------->
<td align="center">
<ilayer left="45" width="1*" onmouseover="bgChange('green')" onmouseout="bgChange('white')">
<layer visibility="show" onMouseOver="if(ns4) return dropit(event, 'document.dropmenu0')">
<div class="wrap1">
<span class="wrap2" onMouseOver="bgChange('green');dropit(event, 'dropmenu0');event.cancelBubble=true;return false" onmouseout="bgChange('white')">
<%
If not rstMenu.EOF then
Response.Write ("<a href=" & rstMenu("URL" & "?lang=" & Language & ">" & rstMenu("LABEL_" & Language & "DESC" & "</a>" & vbcrlf)
rstMenu.MoveNext
End If
%>
</span>
</div>
</layer>
</ilayer>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.