I.T. Discussion Community!
-Collapse +Expand
JavaScript
Search JavaScript Group:

Advanced
-Collapse +Expand JavaScript Store

Prestwood eMagazine

July Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyJavaScript and AJAX BoardJavaScript Topic   All Groups   Print This   

Drop down list box question using JavaScript.

Drop down list box question using JavaScript. in JavaScript topic (part of our JavaScript and AJAX group).

Quick Search: question   JavaScript   Drop down   Drop down list   box question   using JavaScript  

blkshirt
Here's the little problem I have facing me...

I have a webpage that will have frames in it... There will be a top and left frame with a main area for placing html files. However the top and left frames will be static while the main area will change.

If I place a drop down list box on the left frame and it looks something like this:



How do I get each event to relate to a specific html file and show that html file that has been selected by the user to show up in the main page area? I've been told I should do this using javascript however I haven't been able to find exactly what I'm looking for. I did find an example of it
Old UBB Archived Link: [URL=http://www.deltatiming.com/events/2003/allohio/]here[/URL]
but I've tried looking at the source code and I was just confused...

Thanks for your help!

blkshirt
 Posted 10 years ago (Thread Starter)
Comment Quote
Location=-- USA,  Joined=12 years ago   MB Posts=3  
More... -Collapse +Expand
blkshirt
 (Inactive)
-- USA
Rank: Cadet 2nd Year
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.
Post ID #10139, 4 replies
Thread Started 1/11/2004 8:36:00 PM
View Counter=4245
Last Reply Posted 1/12/2004 4:31:00 PM)

blkshirt
I have to test this out, but this may or may not work... my target frame would be main.html

I'll let you know if it works... Thanks for your help...
 Posted 10 years ago (Thread Starter)
Comment Quote
Location=-- USA,  Joined=12 years ago   MB Posts=3  
More... -Collapse +Expand
blkshirt
 (Inactive)
-- USA
Rank: Cadet 2nd Year
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.
Post ID #10158 (Level 1.1)  Reply to 10139
Thread Started 1/12/2004 7:28:00 AM
View Counter=2

Kim Berry
If you email your html to me I can look at this further. For non-frames the following selects pages from a dropdown.

kim@prestwood.com

  



 Posted 10 years ago
Comment Quote
Location=Citrus Heights, CA USA,  Joined=12 years ago   MB Posts=65   KB Posts=19  
More... -Collapse +Expand
Kim Berry
Prestwood IT
Citrus Heights, CA USA
Rank: Commander
Approved member.
Member subscribes to this thread with a verified email.
About Kim Berry

Kim Berry is an experienced coder currently specializing in VS.Net C# coding of WinForm and WebForm applications. Kim currently works part time for Prestwood IT Solutions and participates in this online community when time allows. Kim worked fulltime at Prestwood Software for four years and is still available for part time evenings and weekends work. He was one of the main Prestwood developers developing ASPSuite and has coded in many languages including C, Visual Basic, Delphi, and Visual Studio.Net.


Post ID #10156 (Level 1.2)  Reply to 10139
Reply Posted 1/12/2004 7:11:00 AM

Kim Berry
Josh,

Thanks for sending the source. I got it working here:
Old UBB Archived Link: [URL=http://www.ccucc.com/javascriptframes/]Frames Dropdown Demo[/URL]


you may obtain it via "view source"

thanks

--
Kim Berry
Senior Programmer Analyst

 Posted 10 years ago
Comment Quote
Location=Citrus Heights, CA USA,  Joined=12 years ago   MB Posts=65   KB Posts=19  
More... -Collapse +Expand
Kim Berry
Prestwood IT
Citrus Heights, CA USA
Rank: Commander
Approved member.
Member subscribes to this thread with a verified email.
About Kim Berry

Kim Berry is an experienced coder currently specializing in VS.Net C# coding of WinForm and WebForm applications. Kim currently works part time for Prestwood IT Solutions and participates in this online community when time allows. Kim worked fulltime at Prestwood Software for four years and is still available for part time evenings and weekends work. He was one of the main Prestwood developers developing ASPSuite and has coded in many languages including C, Visual Basic, Delphi, and Visual Studio.Net.


Post ID #10162 (Level 1.3)  Reply to 10139
Reply Posted 1/12/2004 9:22:00 AM
Most Recent Post

Kim Berry
To document the unique issue, the javascript needed to refer to the frame to open, "mainFrame" based on the frames defined in index.html

  






--
Kim Berry
Senior Programmer Analyst

 Posted 10 years ago
Comment Quote
Location=Citrus Heights, CA USA,  Joined=12 years ago   MB Posts=65   KB Posts=19  
More... -Collapse +Expand
Kim Berry
Prestwood IT
Citrus Heights, CA USA
Rank: Commander
Approved member.
Member subscribes to this thread with a verified email.
About Kim Berry

Kim Berry is an experienced coder currently specializing in VS.Net C# coding of WinForm and WebForm applications. Kim currently works part time for Prestwood IT Solutions and participates in this online community when time allows. Kim worked fulltime at Prestwood Software for four years and is still available for part time evenings and weekends work. He was one of the main Prestwood developers developing ASPSuite and has coded in many languages including C, Visual Basic, Delphi, and Visual Studio.Net.


Post ID #10180 (Level 1.4)  Reply to 10139
Reply Posted 1/12/2004 4:31:00 PM

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post:

Enter your name and security key.

Your Name:
Today's security key = P293A
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #10139 Counter
4245
Since 4/2/2008
-
  Load Time=less than 1 second.
 
Print This


-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


469 People Online Now!!  
Sign In to see who's online now!  Not a member? Join now. It's free!
Show more stats...
Follow PrestwoodBoards on: 


©1995-2014 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech