Gunner
06-01-2003, 01:54 PM
I cant seem to get certain scripts to work in netscape but they work fine in IE example:
<script language="javascript" type="text/javascript">
function changeBackColorA()
{
if (document.form1.button1.style.backgroundColor
== "#00c6bd")
document.form1.button1.style.backgroundColor
= "#40FF40"
else
document.form1.button1.style.backgroundColor
= "#00c6bd"
}
</script>
<form action="../action/return.html" method="get"
enctype="application/x-www-form-urlencoded"
name="form1"
id="form1">
<input style="background-color: #00c6bd;
color: #000000;
font-weight: bold;font-size: 14pt;
font-family: arial; width:92px; height:30px" type="button" value="Home"
onmouseover="changeBackColorA(this)" onmouseout="changeBackColorA(this)"
name="button1"
id="button1" onClick="parent.location='http://www.thegunnersgallery.com'"
/>
</form>
This works fine in IE
How do I get it to work in netscape?
I have other scripts that dont work in netscape.
If you use they code above I had to put a bunch of line breaks to keep it from right scolling this post
<script language="javascript" type="text/javascript">
function changeBackColorA()
{
if (document.form1.button1.style.backgroundColor
== "#00c6bd")
document.form1.button1.style.backgroundColor
= "#40FF40"
else
document.form1.button1.style.backgroundColor
= "#00c6bd"
}
</script>
<form action="../action/return.html" method="get"
enctype="application/x-www-form-urlencoded"
name="form1"
id="form1">
<input style="background-color: #00c6bd;
color: #000000;
font-weight: bold;font-size: 14pt;
font-family: arial; width:92px; height:30px" type="button" value="Home"
onmouseover="changeBackColorA(this)" onmouseout="changeBackColorA(this)"
name="button1"
id="button1" onClick="parent.location='http://www.thegunnersgallery.com'"
/>
</form>
This works fine in IE
How do I get it to work in netscape?
I have other scripts that dont work in netscape.
If you use they code above I had to put a bunch of line breaks to keep it from right scolling this post