Welcome to WebmasterWorld Guest from 54.167.76.176

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver Jump Menu Object

Linking to selection to a specified frame

     

anubis

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

10+ Year Member



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

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

10+ Year Member



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

dhdweb

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

10+ Year Member



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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month