Results 1 to 2 of 2

Thread: Menu over IFrame not working with form elements

  1. #1
    Join Date
    Jun 2007
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation Menu over IFrame not working with form elements

    1) Script Title: Drop Tab Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...roptabmenu.htm

    3) Describe problem: I am using the menu found on DD directly above a <iframe> tag that is pulling in a page from the web. When I configure a drop down from the menu that happens to drop down over a form element found in the iframe, the form element pushes thru the drop down. I have enabled the "enableiframeshim: 1, //1 or 0, for true or false" in the .js file.

    How do I fix?

    Thanks in advance for your help!

  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

    That's pretty funny, what browser? IE 6 I bet. The iframe shim is only intended to cover selects on the same page. It is called an iframe shim because it uses an empty iframe placed behind the menu to allow it to appear over selects on the same page in IE 6 and less. Other browsers don't have this problem

    Now, I didn't write this script, but I have done quite a bit of work with iframe shims. It never occurred to me that these would allow the menu to appear over an iframe on the page. If that is happening, what happens after that in IE 6, as far as content on the iframe's page goes, is a mystery to me.

    If you can give us a link to your page I will look into it. Something might be able to be worked out.

    However, in other browsers, the iframe shim is never used or required for selects so, in those browsers, your menu may not even be able to appear over the iframe in the first place.
    - 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
  •