lirlir
Jul 11th, 2000, 01:59 AM
i m trying runing this page on NetScape and it not working.
can any1 tell me y ?
on IE5 it works.
the code:
<html>
<head>
<META NAME="VI60_defaultClientScript" CONTENT=JavaScript>
<META NAME="GENERATOR" CONTENT="Microsoft Visual Studio 6.0">
<LINK REL="stylesheet" HREF="StyleSheets/csslinks.css">
<BASE TARGET="main">
<TITLE></TITLE>
<SCRIPT LANGUAGE=javascript>
<!--
function openit(strUrl)
{
parent.frames.main.location.href=strUrl;
}
function btn_mouseover(btn)
{
btn.style.backgroundColor="#c0e0e6";
}
function btn_mouseout(btn)
{
btn.style.backgroundColor="#f4e7cd";
}
function btn_mousedown( btn)
{
btn.style.borderBottom ="#f4e7cd inset";
btn.style.borderLeft ="#f4e7cd inset";
btn.style.borderRight="#f4e7cd inset";
btn.style.borderTop = "#f4e7cd inset";
}
function btn_mouseup( btn)
{
btn.style.borderBottom ="#f4e7cd outset";
btn.style.borderLeft ="#f4e7cd outset";
btn.style.borderRight="#f4e7cd outset";
btn.style.borderTop = "#f4e7cd outset";
}
//-->
</SCRIPT>
</HEAD>
<BASE TARGET="main">
<BODY BGCOLOR="#ffffff" >
<TABLE WIDTH="20%" ALIGN="center" BORDER="0" CELLSPACING="1" CELLPADDING="1">
<TR>
<TD><INPUT TYPE="button" NAME="btnShow" VALUE="Main" onmouseup ="btn_mouseup(btnShow);" onmouseover=" btn_mouseover(btnShow);" onmouseout=" btn_mouseout(btnShow);" onclick="openit('showall.asp');" onmousedown="btn_mousedown(btnShow);"><P></P></TD>
</TR>
<TR>
<TD><INPUT TYPE="button" NAME="btnAdd" VALUE="Add New" onmouseup ="btn_mouseup(btnAdd);" onmouseover=" btn_mouseover(btnAdd);" onmouseout=" btn_mouseout(btnAdd);" onclick="openit('Add.htm');" onmousedown="btn_mousedown(btnAdd);"> <P></P></TD>
</TR>
</TABLE>
</BODY>
</HTML>
And another thing the NS dont recognize my CSS, Y?
can any1 tell me y ?
on IE5 it works.
the code:
<html>
<head>
<META NAME="VI60_defaultClientScript" CONTENT=JavaScript>
<META NAME="GENERATOR" CONTENT="Microsoft Visual Studio 6.0">
<LINK REL="stylesheet" HREF="StyleSheets/csslinks.css">
<BASE TARGET="main">
<TITLE></TITLE>
<SCRIPT LANGUAGE=javascript>
<!--
function openit(strUrl)
{
parent.frames.main.location.href=strUrl;
}
function btn_mouseover(btn)
{
btn.style.backgroundColor="#c0e0e6";
}
function btn_mouseout(btn)
{
btn.style.backgroundColor="#f4e7cd";
}
function btn_mousedown( btn)
{
btn.style.borderBottom ="#f4e7cd inset";
btn.style.borderLeft ="#f4e7cd inset";
btn.style.borderRight="#f4e7cd inset";
btn.style.borderTop = "#f4e7cd inset";
}
function btn_mouseup( btn)
{
btn.style.borderBottom ="#f4e7cd outset";
btn.style.borderLeft ="#f4e7cd outset";
btn.style.borderRight="#f4e7cd outset";
btn.style.borderTop = "#f4e7cd outset";
}
//-->
</SCRIPT>
</HEAD>
<BASE TARGET="main">
<BODY BGCOLOR="#ffffff" >
<TABLE WIDTH="20%" ALIGN="center" BORDER="0" CELLSPACING="1" CELLPADDING="1">
<TR>
<TD><INPUT TYPE="button" NAME="btnShow" VALUE="Main" onmouseup ="btn_mouseup(btnShow);" onmouseover=" btn_mouseover(btnShow);" onmouseout=" btn_mouseout(btnShow);" onclick="openit('showall.asp');" onmousedown="btn_mousedown(btnShow);"><P></P></TD>
</TR>
<TR>
<TD><INPUT TYPE="button" NAME="btnAdd" VALUE="Add New" onmouseup ="btn_mouseup(btnAdd);" onmouseover=" btn_mouseover(btnAdd);" onmouseout=" btn_mouseout(btnAdd);" onclick="openit('Add.htm');" onmousedown="btn_mousedown(btnAdd);"> <P></P></TD>
</TR>
</TABLE>
</BODY>
</HTML>
And another thing the NS dont recognize my CSS, Y?