drop down covers scroled javascript menu in IE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • simon.cigoj@gmail.com

    drop down covers scroled javascript menu in IE

    I have an javascript made menu and some forms with the dropdown
    element. When the menu opens and scrolls down the drop down is
    displeyed over the menu and obscures the menu choices. I have this
    problem only in IE, in firefox it works ok.

    Is there a solution to this problem? I tried to hide the drop down when
    the menu opens but sometimes the menu covers only a small part of the
    drop down, but enough to obscure the menu choice.

    I would like to achive that the part of the dorp down that is not
    covered, stays visible and the covered part is hidden.

    I tried also with inserting the menu and the drop down in separate
    div-s and set them apropriate z-index property but it doesnt work.

    Does anyone have an answer to that problem?

    I would apreciate it very much!

  • Randy Webb

    #2
    Re: drop down covers scroled javascript menu in IE

    simon.cigoj@gma il.com said the following on 10/4/2005 10:50 AM:
    [color=blue]
    > I have an javascript made menu and some forms with the dropdown
    > element. When the menu opens and scrolls down the drop down is
    > displeyed over the menu and obscures the menu choices. I have this
    > problem only in IE, in firefox it works ok.[/color]

    That's because selects in IE are windowed components, they arent in firefox.
    [color=blue]
    > Is there a solution to this problem? I tried to hide the drop down when
    > the menu opens but sometimes the menu covers only a small part of the
    > drop down, but enough to obscure the menu choice.[/color]

    Yes, move your menu or your select list.
    [color=blue]
    > I would like to achive that the part of the dorp down that is not
    > covered, stays visible and the covered part is hidden.[/color]

    Then move it.
    [color=blue]
    > I tried also with inserting the menu and the drop down in separate
    > div-s and set them apropriate z-index property but it doesnt work.[/color]

    Nope, you can't index a windowed item.
    [color=blue]
    > Does anyone have an answer to that problem?[/color]

    Move your select or your menu.

    --
    Randy
    comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly

    Comment

    • simonC

      #3
      Re: drop down covers scroled javascript menu in IE

      I can't move them...they should stay where they are :(

      Is there realy no solution to other then hiding or moving the drop
      down??

      Comment

      • Jim Ley

        #4
        Re: drop down covers scroled javascript menu in IE

        On 4 Oct 2005 10:09:31 -0700, "simonC" <simon.cigoj@gm ail.com> wrote:
        [color=blue]
        >I can't move them...they should stay where they are :(
        >
        >Is there realy no solution to other then hiding or moving the drop
        >down??[/color]

        you can place an empty iframe underneath (in z-index terms) the menu,
        this will go over the select element and the content will then go over
        it.

        Jim.

        Comment

        • simonC

          #5
          Re: drop down covers scroled javascript menu in IE

          Tnx Jim your advice solves my problem :) finly :)

          Tnx very much.

          Comment

          Working...