Hi,
i'm making a little menu, and it works perfectly in IE, but when it comes to Netscape, everything is messed up.
can someone please look at it, and see if you find that little something that is messing up.
thanks
HTML Code:
<HTML>
<HEAD>
<TITLE>Performance Management Reports</TITLE>
<!---------------------------------------------------------------------->
<style>
.TBstyle {border:2px outset white;background-color:#d0d0d0;
font-family:arial;font-size:10pt;font-weight:bold}
.pagehdr {color:#000080;
font-family:arial;font-size:16pt;font-weight:bold}
.pageftr {color:#000080;
font-family:arial;font-size:9pt;font-weight:bold}
.TDstyle {padding:5px;vertical-align:bottom;color:#800000}
.SUBBtnStyle {padding:5px;text-align:center}
.HLPBtnStyle {padding:5px;text-align:right}
</style>
<!---------------------------------------------------------------------->
<SCRIPT>
<!---------------------------------------------------------------------->
function initialize() {
document.THEFORM.IBIF_ex.selectedIndex=0;
document.THEFORM.IBIF_ex.focus();
}
<!---------------------------------------------------------------------->
function getslctdindx() {
slctdindx=document.THEFORM.IBIF_ex.selectedIndex;
slctdrept=document.THEFORM.IBIF_ex(slctdindx).value;
}
<!---------------------------------------------------------------------->
function getoudsply() {
getslctdindx();
if (slctdrept == 'perrat02' || slctdrept == 'perrat05' ||
slctdrept == 'perrat06' || slctdrept == 'perrat10' ||
slctdrept == 'perrat11' || slctdrept == 'perrat12' ||
slctdrept == 'perrat13')
GETOU.style.visibility='visible';
else
GETOU.style.visibility='hidden';
}
<!---------------------------------------------------------------------->
function setapprndm() {
apprndm=Math.random();
document.THEFORM.WFS_apprndm.value=apprndm;
}
<!---------------------------------------------------------------------->
function preparefrm() {
setapprndm();
document.THEFORM.submit();
}
<!---------------------------------------------------------------------->
function showhelp() {
getslctdindx();
setapprndm();
winURL="/perfrate/" + slctdrept + ".htm?&WFS_apprndm=" + apprndm;
winOPT="width=600,height=450";
window.open(winURL,"_blank",winOPT);
}
</SCRIPT>
</HEAD>
<!---------------------------------------------------------------------->
<body bgcolor="#FFFFFF" background="/perfrate/images/bgnav.gif"
TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"
onload="initialize();">
<!---------------------------------------------------------------------->
<DIV ALIGN="center">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%"
ALIGN="center">
<TR ALIGN="center" VALIGN=TOP>
<TD ALIGN=LEFT VALIGN=TOP height="71">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%"
ALIGN="center">
<TR ALIGN=LEFT VALIGN=TOP>
<TD ALIGN=LEFT VALIGN=TOP WIDTH="98">
<A href="http://www-i.nist.gov">
<IMG SRC="/perfrate/images/navin.gif"
ALT="Inside NIST" WIDTH="98" HEIGHT="71" BORDER="0"></A>
</TD>
<TD ALIGN=LEFT VALIGN=TOP WIDTH="508" colspan="2">
<IMG SRC="/perfrate/images/navwords.gif"
USEMAP="#Internal Navigation" WIDTH="508" HEIGHT="40" BORDER="0">
</td>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<!---------------------------------------------------------------------->
<font class="pagehdr">
Performance Management Reports</font><br><br>
<font style="color:#ff0000">
(<b>Microsoft's Internet Explorer</b> must be used<br>to view the Performance Management Reports)</font>
<!-- <FORM name="THEFORM" action="/cgi-bin/ibi_cgi/webapi.dll" method="POST" target="_blank"> -->
<FORM name="THEFORM" action="/ibi_apps/WFServlet" method="POST" target="_blank">
<table class="TBstyle">
<tr>
<td class="TBstyle">Please select a Report:</td>
</tr>
<tr>
<td class=standard colspan="2">
<select name="IBIF_ex" size="15" onchange="getoudsply();">
<option value="tanrat02">
TANYA TEST Range of Performance Rating Scores
<!- </option> -->
<option value="perrat01">
One
</option>
<option value="perrat02">
Two
</option>
<option value="perrat03">
Three
</option>
<option value="perrat04">
Four
</option>
<option value="perrat05">
Five
</option>
</td>
</tr>
<tr>
<td class="TDstyle">
<div id="GETOU" style="visibility:hidden">
Please select an OU:
<select name="OU" size="1">
<option value="86">86 - BFRL</option>
<option value="89">89 - ITL</option>
</select>
</div>
</td>
</tr>
<tr>
<td class="TDstyle">
Fiscal Year:
<select name="FY" size="1">
<option value="2004">2004</option>
<option value="2003">2003</option>
<option value="2002">2002</option>
</select>
</td>
<td class="TDstyle">
Output Format:
<select name="FRMT" size="1">
<option value="HTML">HTML</option>
<option value="PDF">PDF</option>
</select>
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%">
<tr>
<td width="33%"> </td>
<td class="SUBBtnStyle" width="33%">
<input type="button" value="Submit"
onclick="preparefrm();"></td>
<td class="HLPBtnStyle" width="33%">
<input type="button" value="About this Report"
onclick="showhelp();" style="width:120px"></td>
</tr>
</table>
</td>
</tr>
</table>
<INPUT type="hidden" name="IBIC_server" value="EDASERVE">
<input type="hidden" name="WFS_appname" value="perfmang">
<INPUT type="hidden" NAME="WFS_apprndm" VALUE="">
</form></p>
</DIV>
</BODY>
</HTML>
run it in ie, and netscape...
