GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 22-Aug-2005, 09:12
Kacyndra's Avatar
Kacyndra Kacyndra is offline
Member
 
Join Date: May 2005
Location: Maryland
Posts: 230
Kacyndra will become famous soon enough
Exclamation

Netscape Menu -- Please Help


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%">&nbsp;</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...
__________________
Xrum!
  #2  
Old 22-Aug-2005, 14:53
Kacyndra's Avatar
Kacyndra Kacyndra is offline
Member
 
Join Date: May 2005
Location: Maryland
Posts: 230
Kacyndra will become famous soon enough
nevermind,
once again i ask and asnwer my own question.
and once again, here is how i did it:

HTML Code:
if (browserName=="Microsoft Internet Explorer") { 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'; } } else { getslctdindx(); if (slctdrept == 'perrat02' || slctdrept == 'perrat05' || slctdrept == 'perrat06' || slctdrept == 'perrat10' || slctdrept == 'perrat11' || slctdrept == 'perrat12' || slctdrept == 'perrat13') { document.getElementById("GETOU").style.visibility = "visible"; } else { document.getElementById("GETOU").style.visibility = "hidden"; } }
__________________
Xrum!
  #3  
Old 23-Aug-2005, 08:05
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
You're just too fast...

Anyway, thank you for the follow-up post K, someone will find the information (example) useful, I am sure.
 
 

Recent GIDBlogOnce again, no time for hobbies by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image on the unused Menu bar area ? hemanth.balaji C++ Forum 7 11-Jan-2009 04:45
Can someone suggestion a nice drop down menu? rhino1616 Web Design Forum 4 22-Aug-2005 11:16
Popup menu gavrile MS Visual C++ / MFC Forum 8 12-Aug-2004 02:50
javascript menu dopee Web Design Forum 7 31-Jul-2004 00:22
Slight increase in Netscape users? JdS Web Design Forum 10 01-Sep-2002 12:59

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 10:48.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.