HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 13th, 2000, 08:42 PM
erinkw erinkw is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 4 erinkw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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>

Reply With Quote
  #2  
Old July 13th, 2000, 11:38 PM
rkmarcks rkmarcks is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 81 rkmarcks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to rkmarcks
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]


Reply With Quote
  #3  
Old July 14th, 2000, 10:31 AM
erinkw erinkw is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 4 erinkw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > drop down menu and onclick in Netscape


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway