|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
This is the coding that I am using, it works great in IE and just sits there with a script error in Netscape. Any suggestions would be appreciated.
<script language="JavaScript"> <!-- function do_tbd(form) { goURL=form.tbd.options[form.tbd.selectedIndex].value; if (goURL!="none"){ window.open (goURL,'main','scrollbars=yes,status=yes'); } } //--!> </script> <font face="Verdana, Arial, Helvetica" size="2"> <form> <select name="tbd" onchange=do_tbd(form) size="1" tabindex="9"> <option value="none">Select and Item</option> <option value="aqh/index.htm">Choice One</option> </select> </form> </font> |
|
#2
|
|||
|
|||
|
Could you be a bit more specific? When I copied this code as written and used it in Netscape, it SEEMED to work fine, with the exception, of course, that it couldn't find the URL. Which version of Netscape are you using?
Russ <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by erinkw: This is the coding that I am using, it works great in IE and just sits there with a script error in Netscape. Any suggestions would be appreciated. <script language="JavaScript"> <!-- function do_tbd(form) { goURL=form.tbd.options[form.tbd.selectedIndex].value; if (goURL!="none"){ window.open (goURL,'main','scrollbars=yes,status=yes'); } } //--!> </script> <font face="Verdana, Arial, Helvetica" size="2"> <form> <select name="tbd" onchange=do_tbd(form) size="1" tabindex="9"> <option value="none">Select and Item</option> <option value="aqh/index.htm">Choice One</option> </select> </form> </font>[/quote] |
|
#3
|
|||
|
|||
|
I am using Netscape 4.6 and I finally did get it work when I took out the <!--, hide from browser coding.
If I put it back in this is what I get JavaScript Error: http://www.thequine.com/breeds/index.htm, line 7: syntax error. <!C- ^ JavaScript Error: /breeds/index.htm, line 65: do_tbd is not defined. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > drop down menu and onclick in Netscape |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|