|
|
 |
| 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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

May 4th, 2004, 10:36 AM
|
|
Registered User
|
|
Join Date: Mar 2004
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

May 4th, 2004, 01:28 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
<><
|

May 7th, 2004, 10:29 AM
|
|
Registered User
|
|
Join Date: Mar 2004
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Snib, :D:D
That got me exactly what I needed a everything is working great now.
Peter.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |