1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

z-index layers and flash??

Discussion in 'CSS' started by db_man, May 3, 2007.

  1. #1
    Hey guys!


    I am designing a website that uses absolutely positioned layers z-indexed over top of each other....thing is, I want to use a flash based header graphic and I am having a hell of time getting it to work! Either the layer order gets messed up or it flickers like crazy (ie5) or it doesn't appear at all!


    Any ideas?!?
     
    db_man, May 3, 2007 IP
  2. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Plug-in content will always take precedence over any other element on the page. So, you can't layer something on top of Flash (or any other plug-in ActiveX control for that matter, like Java or video streams).

    If this doesn't describe the problem you're having, could you post a link to the issue?

    As for supporting IE5, I think there's a great deal to be said for supporting legacy browsers, but at some point, you have to put your foot down and insist that people update their technology. You're talking about eight-year-old technology right there. Are you supporting NS4.x too? It's the same era ;)
     
    the_pm, May 4, 2007 IP
  3. db_man

    db_man Peon

    Messages:
    86
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    LOL... you are right...


    here's an example...I think ive gotten it to work with some tricky javascript

    let me know how it looks on your machines!

    lumenvancouver.com/test/
     
    db_man, May 4, 2007 IP
  4. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Lovely...except I'm not seeing any Flash on the screen ;)
     
    the_pm, May 4, 2007 IP
  5. silverblade

    silverblade Peon

    Messages:
    153
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Seems to work here in Firefox 2.x and IE7. At least if it was your intention to have your logo on top of that flash image.
    Tell us how you've done it :)
     
    silverblade, May 4, 2007 IP
  6. db_man

    db_man Peon

    Messages:
    86
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    This is how I did it:

    weblogs.macromedia.com/flashjavascript/readme.html
     
    db_man, May 4, 2007 IP