Why doesn't Netscape like this javascript?
by "Frederick J. Barnett" <fred(at)eatel.net>
|
| Date: |
Wed, 29 Jan 2003 11:14:15 -0600 |
| To: |
hwg-basics(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
I've had two different people at nearly the same time tell me
they're having problems with a javascript dropdown navigation menu I
have on my astronomy club pages (http://www.bro.lsu.edu/bras/). The
first person was using Netscape 7, and said the formatting was messed
up for the menu, and the page was three or four times wider than it
should've been. He did not specify if he was using a Mac or PC
version of NS 7.
The second person was using Chimera(sp?), a Mozilla derivative for
the Mac. His problem was the browser wouldn't display the "GO"
button, so he couldn't use the menu to navigate.
The only other complaint I've ever had about the javascript since I
put it in was with someone using an older, non-javascript capable
browser. An upgrade fixed that. Since both complaintants are us NS
products, I'm wondering if it's something with NS in this case.
The original script came with my HomeSite 5 HTML editor. The only
modification I did was in the selections. The script appears on all
the pages, and I really would hate to lose it. But if it is going to
mess up our visitors, I may have to.
Any help or advice will be greatly appreciated. TIA.
<DIV ALIGN="center"><SCRIPT LANGUAGE="JavaScript"
TYPE="text/javascript">
<!--
// original code by Bill Trefzger 12/12/96
function go1(){
if
(document.selecter1.select1.options[document.selecter1.select1.selecte
dIndex].value != "none") {
location =
document.selecter1.select1.options[document.selecter1.select1.selected
Index].value
}
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
document.write('<form name="selecter1"><select name="select1"
size=1>');
document.write('<option value=none>BRAS Pages');
document.write('<option value=none>--------------------');
document.write('<option value="memberap.html">Membership Application
Page');
document.write('<option value="../cgi-
bin/wwwboard/wwwboard.html">Message Board');
document.write('<option value="kisatchie.html">Kisatchie Star Party
Page');
document.write('<option value="transfers.html">T-shirt Transfers');
document.write('<option value="stargaze.html">Public Stargazes');
document.write('<option value="clinton.html">Clinton Stargazes');
document.write('<option value="photos.html">Member Astrophotos');
document.write('<option value="observing.html">Monthly Observing
Information');
document.write('<option value="atm.html">Amateur Telescope Making
Links');
document.write('<option
value="astrophotography.html">Astrophotography Links');
document.write('<option value="commercial.html">Commercial Links');
document.write('<option value="info.html">Information Links');
document.write('<option value="opt.html">Observatories, Planetariums,
& Telescope Links');
document.write('<option value="org.html">Organization Links');
document.write('<option value="personal.html">Personal Pages');
document.write('<option value="places.html">Places To Go Links');
document.write('<option value="astroprg.html">Software Links');
document.write('<option value="solar.html">Solar System Links');
document.write('<option value="spaceflight.html">Spaceflight Links');
document.write('<option value="use.html">Usenet Newsgroups');
document.write('<option value="weather.html">Weather Links');
document.write('<INPUT TYPE="button" VALUE="Go" onclick="go1()">');
// end hiding contents -->
</SCRIPT></DIV>
--
Frederick J. Barnett http://www.eatel.net/~fred/
"Someone's got to take the responsibility if the job's going to get
done!! Do you
think that's easy?!" Gregory Peck - The Guns Of Navarone
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.