Drop down on top

Discussion in 'Programming' started by login, Jun 15, 2009.

  1. #1
    Hi.
    Please check the menu here: http://organdonasjon.no/
    I need to always have the drop down sub menus to be on top (in the foreground). Its the same problem here: http://organdonasjon.no/index.php?page=donorkort

    For http://organdonasjon.no/ the problem is only in Firefox. In http://organdonasjon.no/index.php?page=donorkort the problem is both in Firefox and IE.

    The solution should define that the sub menus are in the foreground, not that the elements on page gets transparent or things like that.

    I will pay $15 for a solution that I am happy with.

    You can post the solution here and I will pay by PayPal to the first or best answer.
     
    login, Jun 15, 2009 IP
  2. SHOwnsYou

    SHOwnsYou Peon

    Messages:
    209
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Put the z-index (css = z-index: -1; ) at -1 for your flash embed. If that doesn't work. In addition, put the z-index in your menus at 100.
     
    SHOwnsYou, Jun 15, 2009 IP
  3. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Does z-index work even if I dont have "position: absolute;" ?
     
    login, Jun 15, 2009 IP
  4. SHOwnsYou

    SHOwnsYou Peon

    Messages:
    209
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    I'm not positive. I would add it to your style sheet to find out for sure.
     
    SHOwnsYou, Jun 15, 2009 IP
  5. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Sorry, I cant get z-index to work here.
     
    login, Jun 15, 2009 IP
  6. Belthasar

    Belthasar Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    Try this on the homepage. I added wmode="transparent" to the embed statement

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="350" height="245" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">
    <param name="movie" value="images/banners/organdonasjon_245x350_3.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed wmode="transparent" type="application/x-shockwave-flash" width="350" height="245" src="images/banners/organdonasjon_245x350_3.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
     
    Belthasar, Jun 15, 2009 IP
  7. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    Thanks Belthasar. But as I said in my first post "The solution should define that the sub menus are in the foreground, not that the elements on page gets transparent or things like that."
    Why? Because when I add an gif behind the flash file the gif will show through the flash file. The gif file will be added so that the viewers that dont have flash will see something.
     
    login, Jun 16, 2009 IP