Results 1 to 3 of 3

Thread: Is this true regarding dhtml and object, iframes, etc?

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

    Default Is this true regarding dhtml and object, iframes, etc?

    I recently tested the jdsomenu menu found on the site. The problem was that I could never get the submenu to display over an iframe and a flash object.

    After researching I found this:

    http://support.microsoft.com/default...EN-US;q177378&

    It basically states most DHTML is windowless where objects and iframes are windowed and windowed items always display over windowless.

    By reading this, it appears basically I could not get this menu to display over the windowed items no matter hor I cut it.

    Is this true or does anyone know of a workaround?

  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

    http://www.macromedia.com/cfusion/kn...fm?id=tn_14201

    That link explains how to fix a flash object to work as you desire, the short version is to add in this language to your object/embed tag:

    Add the following parameter to the OBJECT tag:

    <param name="wmode" value="transparent">

    Add the following parameter to the EMBED tag:

    wmode="transparent"

    As for an iframe, you should be able to set both the menu and the iframe's position to either relative or absolute. Many menus are already one or the other. Then set the menu's z-index higher than the iframe's:
    Code:
    <div id="menudivision" style="position:relative;z-index:100;">menu goes here</div>
    <iframe style="position:relative;" other iframe attributes go here></iframe>
    (Default z-index is zero)
    - John
    ________________________

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

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

    Default

    although macromedia recommends using "transparent" for the WMODE, I prefer to use "OPAQUE" instead as some times, you don't want it to be transparent.

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
  •