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 March 6th, 2000, 07:40 AM
tigertim tigertim is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 1999
Location: St.JOhn's, Newfoundland, Canada
Posts: 7 tigertim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have the code below on a page, but the problem is that I have it is frames, and the menu is based in a small frame, and what I would like is to have the selected page on a new entire page without frames, is this possible, if so please tell me how. the code that I have is as follows:

<script language="javascript">
<!-- Hide script from old browsers

function jumpPage(newLoc) {
newPage = newLoc.options[newLoc.selectedIndex].value

if (newPage !="_top"){
window.location.href = newPage
}
}

// End hiding script -->
</script>


<DIV ALIGN=center>
<FORM ACTION=gotoLocation.cgi" METHOD=GET>
<SELECT NAME="newLocation" onChange="jumpPage(this.form.newLocation)">
<option value="" SELECTED>DocNetworks Website
<option value="">- Resident/Medical Students --
<option value="boards.htm">Preparing for the Boards
<option value="/web/home/docchat/default.asp">The Lounge
<option value="refer.htm">Let Us Refer Patients
<option value="technology.htm">Technology Today
<option value="myoffice.htm">My Office
<option value="freeaccess.htm">Free Medline & Pubmed
<option value="samples.htm">Free Product Samples
<option value="alumninet.htm">Alumni Networks
</SELECT>
<NOSCRIPT>
<INPUT TYPE=SUBMIT VALUE="Go There">
</NOSCRIPT>
</FORM>
</DIV>

Reply With Quote
  #2  
Old March 6th, 2000, 07:56 AM
Ramon Ramon is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 1999
Location: Helden,Limburg,The Netherlands
Posts: 33 Ramon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
A solution could be:

parent.location.href="newpage.html";

With this line of code the frameset will be replaced by newpage.



------------------
Ramon Litjens
Boradoli Web Design
(www.boradoli.nl)

Reply With Quote
  #3  
Old March 6th, 2000, 08:05 AM
tigertim tigertim is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 1999
Location: St.JOhn's, Newfoundland, Canada
Posts: 7 tigertim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok that works, but how do I set it up so that each page on the list would open, bexcause right now only the newpage.htm opens, do I have to have one of these lines for each page.

thanks
Tim

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Select and Go menu Help Please


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 5 hosted by Hostway