Results 1 to 5 of 5

Thread: Iframe Help

  1. #1
    Join Date
    Jul 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Iframe Help

    I'm testing a new Iframe menu for my website. I have everything working except the dropdown part of the menu.

    If you look at the menu file (here), you can see that the dropdown menu is working.

    I've placed the iframe in the page via the following:
    Code:
    <iframe id="iframe1" src="js/menu.html"
            width="750" height="30" scrolling="no" frameborder="0" style="overflow:visible; margin-left:25px" marginheight="0" marginwidth="0"></iframe>
    You can look at the test page it's in here.

    My question is:
    How can I get the dropdown parts of the menu to display with the iframe?

  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

    You cannot drop down outside of the iframe without a menu specifically designed to do so. I've heard of menus that can drop over frame borders, but I'm not sure if they work with iframe borders. I've seen scripts that can put effects on the parent page, but not menus, and the coding is a bit complex, a bit like like having the script on the parent anyway. And, if that is a Dynamic Drive script:

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.


    And:

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.
    - John
    ________________________

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

  3. #3
    Join Date
    Jul 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Just hold your accusation horses a moment. I'm not using a dynamic drive script.

    The drop down menu is from here: http://javascript-array.com/scripts/...rop_down_menu/
    The random image script is from here:
    http://www.leemessenger.co.uk/post.aspx?p=82

    Believe me, I give credit where credit's due.

    Back on topic:
    Do you know where I can find those scripts, maybe I can adapt em to fit my needs

  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

    I did say if it is a DD script . . . Looks like you stripped out the © notice from the menu anyway:

    Quote Originally Posted by javascript-array.com
    // Copyright 2006-2007 javascript-array.com
    I doubt the folks at javascript-array.com would be too pleased at that.

    HV Menu v 5.5 is one that can drop across frames:

    http://www.dynamicdrive.com/dynamici...menu/index.htm

    And Lytebox (not to be confused with lightbox or litebox):

    http://www.dolem.com/lytebox/

    is the other script I was referring to - as I said, not a menu, but can act on the parent from the iframe.
    - John
    ________________________

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

  5. #5
    Join Date
    Jul 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What are you talking about stripping the copyright notice? :S It's in the javascript file. here

    Thanks for posting those links. Hopefully one of those will help me, otherwise I'll just have to try and put together a flash+xml one.

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
  •