homepage Welcome to WebmasterWorld Guest from 54.205.14.21
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Dreamweaver Jump Menu Object
Linking to selection to a specified frame
anubis




msg:933177
 1:55 pm on Aug 12, 2002 (gmt 0)

I have a sit which has 3 frames, going from top to bottem.

navigation

content

footer

In the page which appears in the navigation frame I have used the Dreamweaver Jump Menu object from the Forms section on the Object pallet to create a drop down menu with a number of links to pages on it.

The code below is what I have and it works but when you select an option from the list it loads the page replacing the whole frame set instead of loading the page in the content frame. I have tried changing ('parent',this,0) to ('parent',content,0) and other variations but with no luck.

If any one has any ideas I would be most grateful.

Cheers

<form name="form1">
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
<option selected>Quick Links</option>
<option value="ringtones.html" target="content">Ringtones</option>
<option value="logos.html">Logos</option>
<option value="pic_messages.html">Pic Messages</option>
<option value="special_offers.html">Special Offers</option>
<option value="whats_new.html">Whats New</option>
<option value="instructions.html">Instructions</option>
<option value="how_to_order.html">How to Order</option>
<option value="compatibility.html">Compatibility</option>
<option value="contact_us.html">Contact Us</option>
</select>
</form>

 

moonbiter




msg:933178
 3:00 pm on Aug 12, 2002 (gmt 0)

Try ('parent.frames[\'content\']',this,0).

dhdweb




msg:933179
 6:07 pm on Aug 13, 2002 (gmt 0)

When working with frames in DW, you must edit from the index page that contains the frameset, this will display the content of the frames on your screen. From here edit the pages as you normaly would from inside the frame.

This way DW sets the proper code for navigation and you can choose what frame the jumpmenu opens the content in.

If you don't edit from the frameset, you can not change the location for your content to open in.

Its that simple.
dhdweb

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved