I have problems with an image rollover that works in IE but not in Netscape.
1) I created a layer:
layer1=new DynLayer(null,11,24,203,116)
2) the HTML for that layer includes the following line:
<a href=\"advocacy_untreaty.html\" onmouseover=\"over('button1')\"
onmouseout=\"out('button1')\"><img name=\"button1\"
src=\"images/advocacy_untreaty_out.gif\" width=\"71\" height=\"23\" border=\"0\"
alt=\"\">
3) the rest of the js code relevant:
button1_on = new Image();
button1_on.src = "images/advocacy_untreaty_over.gif";
button1_off = new Image();
button1_off.src = "images/advocacy_untreaty_out.gif";
function over(img) {
document[img].src=eval(img+"_on.src");
return true;
}
function out(img) {
document[img].src=eval(img+"_off.src");
return true;
}
Can somebody tell me what I have to change to make the rollover work in
Netscape, too?
thx, Matthias
--
--
Bischofsweg 50, 01099 Dresden, Germany
+49-(0)351-8024153
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help