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!

Is there a way to make this work in Netscape 4.47+

Status
Not open for further replies.

FranckM

Programmer
May 8, 2002
76
CA
<td align=&quot;center&quot; onMouseOver=&quot;this.bgColor='#ff0000'&quot; onMouseOut=&quot;this.bgColor='#0000ff'&quot;>

Is there a way to make this work in netscape 4.47
 
This is something else I've tryed to do:

<td align=&quot;center&quot; onMouseOver=&quot;document.classes.test.bgcolor='green'&quot; onMouseOut=&quot;document.classes.test.bgcolor='green'&quot;>

test is a class I createdin a style sheet. I get an error with this one.

Thanks for taking the time to read.
 
get rid of the &quot;this.&quot;
<table>
<tr>
<td align=&quot;center&quot; onMouseOver=&quot;bgColor='#ff0000'&quot; onMouseOut=&quot;bgColor='#0000ff'&quot;>
blah, blah!
</td></tr>
</table> I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
 
It does work in IE, but still nothing in netscape 4.47
 
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:

<tr>
<!----------Menu 1 starts here---------->
<td align=&quot;center&quot;>
<ilayer><layer onmouseover=&quot;bgChange('green')&quot; onmouseout=&quot;bgChange('white')&quot;>
<span onmouseover=&quot;bgChange('green')&quot; onmouseout=&quot;bgChange('white')&quot;>




<%
rstMenu.Open sql, oCnn, adOpenForwardOnly

If not rstMenu.EOF then
Response.Write (&quot;<a href=&quot; & rstMenu(&quot;URL&quot;) & &quot;?lang=&quot; & Language & &quot;>&quot; & rstMenu(&quot;LABEL_&quot; & Language & &quot;DESC&quot;) & &quot;</a>&quot; & vbcrlf)
rstMenu.MoveNext
End If
%>

</span>
</layer></ilayer>
</td>
<!----------Menu 2 starts here---------->
<td align=&quot;center&quot;>
<ilayer><layer onmouseover=&quot;bgChange('green')&quot; onmouseout=&quot;bgChange('white')&quot;>
<span onmouseover=&quot;bgChange('green')&quot; onmouseout=&quot;bgChange('white')&quot;>
<%
If not rstMenu.EOF then
Response.Write (&quot;<a href=&quot; & rstMenu(&quot;URL&quot;)& &quot;?lang=&quot; & Language & &quot;>&quot; & rstMenu(&quot;LABEL_&quot; & Language & &quot;DESC&quot;) & &quot;</a>&quot; & vbcrlf)
rstMenu.MoveNext
End If
%>
</span>
</layer></ilayer>
</td>
<!----------Menu 2 ends here---------->
<!----------Menu 3 starts here---------->
<td align=&quot;center&quot;>

<ilayer left=&quot;45&quot; width=&quot;1*&quot; onmouseover=&quot;bgChange('green')&quot; onmouseout=&quot;bgChange('white')&quot;>
<layer visibility=&quot;show&quot; onMouseOver=&quot;if(ns4) return dropit(event, 'document.dropmenu0')&quot;>
<div class=&quot;wrap1&quot;>
<span class=&quot;wrap2&quot; onMouseOver=&quot;bgChange('green');dropit(event, 'dropmenu0');event.cancelBubble=true;return false&quot; onmouseout=&quot;bgChange('white')&quot;>
<%
If not rstMenu.EOF then
Response.Write (&quot;<a href=&quot; & rstMenu(&quot;URL&quot;) & &quot;?lang=&quot; & Language & &quot;>&quot; & rstMenu(&quot;LABEL_&quot; & Language & &quot;DESC&quot;) & &quot;</a>&quot; & vbcrlf)
rstMenu.MoveNext
End If
%>
</span>
</div>
</layer>
</ilayer>

</td>
<!----------Menu 3 ends here---------->
<!----------Menu 4 starts here---------->
<td align=&quot;center&quot;>

<ilayer left=&quot;45&quot; width=&quot;1*&quot; onmouseover=&quot;bgChange('green')&quot; onmouseout=&quot;bgChange('white')&quot;>
<layer visibility=&quot;show&quot; onMouseOver=&quot;if(ns4) return dropit(event, 'document.dropmenu0')&quot;>
<div class=&quot;wrap1&quot;>
<span class=&quot;wrap2&quot; onMouseOver=&quot;bgChange('green');dropit(event, 'dropmenu0');event.cancelBubble=true;return false&quot; onmouseout=&quot;bgChange('white')&quot;>
<%
If not rstMenu.EOF then
Response.Write (&quot;<a href=&quot; & rstMenu(&quot;URL&quot;)& &quot;?lang=&quot; & Language & &quot;>&quot; & rstMenu(&quot;LABEL_&quot; & Language & &quot;DESC&quot;) & &quot;</a>&quot; & vbcrlf)
rstMenu.MoveNext
End If
rstMenu.Close
set rstMenu = nothing
%>
</span>
</div>
</layer>
</ilayer>

</td>
<!----------Menu 4 ends here---------->

Thanks for reading.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top