Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 4th, 2004, 09:36 AM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pop up menu with frames

Is there an easy way in java script to put up a pop up (drop down) menu from one frame to invoke a page in a different frame ??.
If so can someone point me at the appropriate objects.
thanks

Reply With Quote
  #2 (permalink)  
Old May 4th, 2004, 12:28 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Is this a <select> menu or a DHTML menu?

For DHTML, just add a target attribute to the <a> tag:

<a target=yourframename href=whatever.html>link</a>

For javascript:

parent.frames['yourframename'].location = 'whatever.html';

HTH,

Snib

<><
Reply With Quote
  #3 (permalink)  
Old May 7th, 2004, 09:29 AM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Snib, :D:D

  That got me exactly what I needed a everything is working great now.

Peter.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
menu-frames-display settings won't work web4all Javascript How-To 1 March 2nd, 2006 09:15 AM
cross frames with javascript drop-down menu crmpicco Javascript How-To 1 March 14th, 2005 11:57 AM
Frames (Pop-up menu) in XSL? codruta.crisan XSLT 2 January 4th, 2005 10:01 AM
Pop Up Menu and Frames ihahockey Dreamweaver (all versions) 3 June 14th, 2004 06:32 AM
frames and pop-up menus like oil and water? bee Dreamweaver (all versions) 1 October 26th, 2003 01:58 PM



All times are GMT -4. The time now is 06:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.