Results 1 to 6 of 6

Thread: Switch Menu

  1. #1
    Join Date
    Dec 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Switch Menu

    Hey guys,

    I really want to use the Switch Menu , but i encountered a problem i cant seem to solve.
    Im no wizard in HTML but im pretty sure using target="" in a ahref link should make a fram pop somewhere else.
    For some reason this doesnt seem to work in this DHTML script, can anyone help me out here, how can i make this menu open the targets in another frame ?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.
    PLEASE: Include the URL to your problematic webpage that you want help with.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There is no reason I can see why that method would not work. Did you try it? Example (from the demo):

    Code:
    	<div class="menutitle" onclick="SwitchMenu('sub1')">Site Menu</div>
    	<span class="submenu" id="sub1">
    		- <a href="new.htm" target="_blank">What's New</a><br>
    		- <a href="hot.htm">What's hot</a><br>
    		- <a href="revised.htm">Revised Scripts</a><br>
    		- <a href="morezone/">More Zone</a>
    	</span>
    Similarly, one could use:

    Code:
    target="frameName"
    where frameName is the name of a valid frame in a valid frameset, just like with a regular link. Try it with a regular link, if it doesn't work there, it won't work in the markup for the script either.

    PLEASE: Include the URL to your problematic webpage that you want help with.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Dec 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Aye i tried exactly that, but its persistent in the frame the menu is in, with target tag it will not open in another frame.

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    PLEASE: Include the URL to your problematic webpage that you want help with.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •