ypslideout menu over flash

Out of context: Reply #23

  • Started
  • Last post
  • 23 Responses
  • geoffroy0

    Problem:
    ActivX (plug-ins), certains form Elements (on IE/PC) & iframe always stay in front of html content (whatever a DIV width z-index)

    Solutions:
    - Hide the iframe or activX by putting them in a DIV, and when needed (rollover the menu by example) add a javascript that's set the visibility property of those DIV to "hide". Can play with the display property too, or the left property set to -2000 by example (refer to CSS for all that).
    - For the forms, you can make a script that will browse the document for each forms element in the document.forms object and set the visibility property of these element to "hide".

    With this menu:
    Edit the ypSlideOutMenu.js, there two functions for showing/hidding the menu, add the little needed scripting here.

    Tip: You can place an img in back of your div, so you don't stay with a blank space when you rollover the menu.

View thread