JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignJavaScript Development

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 May 25th, 1999, 07:14 AM
hapsberg
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I know how to create a banner/contents/main frame. The screen reflects three frames. This is my scenario. I want to create a form within the contents frame. The form has a list box. Once the individual clicks on an item in the list box, the request is sent to the main frame. I do not want a new page to come up when this happens. This way the individual can keep one page and view one item at a time without losing the list page. How do I proceed? Thanks for any input.

Reply With Quote
  #2  
Old June 1st, 1999, 10:51 AM
christine
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
URL Hope this helps. It can be used to link to different pages (page1.htm), or different locations within the same page (page1.htm#paragraph2).

<HTML>
<HEAD>
<BASE TARGET="frame2">
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--hide code from old browsers
function go()
{
if (document.form.list.options[document.form.list.selectedIndex].value !="none")
{
parent.frame2.location = document.form.list.options[document.form.list.selectedIndex].value; return;
}
}
// end hiding-->
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="form">
<SELECT NAME="list" SIZE="1" onChange="go()">
<OPTION VALUE="none">pages
<OPTION VALUE="page1.htm">page1
<OPTION VALUE="page1.htm">page2
<OPTION VALUE="page1.htm">page3
<OPTION VALUE="page1.htm">page4
</SELECT>
</FORM>
</BODY>
</HTML>

Reply With Quote
  #3  
Old June 4th, 1999, 10:41 AM
Rory
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
this site may also help:
http://cool.icestorm.net/monarkh/frametest.html

- Rory
http://cool.icestorm.net/monarkh/resources.html

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > FRAMES/FORMS/JavaScript


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