Javascript Tooltip floating behind object

Discussion in 'JavaScript' started by Eponine22, Dec 7, 2010.

  1. #1
    I'm using Javascript tooltips here and they pop under the video on the right: http://www.stuffit.com/win-home.html (rollover "Escape Email Attachment Limits " for example). I've tried using CSS by doing position: absolute and z-index on both the list and and video but not luck. Any ideas?
     
    Eponine22, Dec 7, 2010 IP
  2. tvoodoo

    tvoodoo Active Member

    Messages:
    239
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #2
    In which browser do this problems appear ?
     
    tvoodoo, Dec 7, 2010 IP
  3. Eponine22

    Eponine22 Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Firefox, IE6 and IE7
     
    Eponine22, Dec 7, 2010 IP
  4. tvoodoo

    tvoodoo Active Member

    Messages:
    239
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #4
    That's probably because of the youtube video.
    
    <div style="float:left; width:385px; height:204px; background-image:url(assets/home/home_feat_R.jpg);">
                   
    <p style="margin:0 0 0 10px; width:310px; font-size: 14px"><object width="225" height="198"><param name="movie" value="http://www.youtube.com/v/WoLCU2m1IuQ?fs=1&amp;hl=en_US&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/WoLCU2m1IuQ?fs=1&amp;hl=en_US&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="225" height="198" wmode="transparent"></embed></object>
    
    </div>
    
    HTML:
    wmode="transparent" should solve it.

    And set the z-index of your tooltip to 999
     
    Last edited: Dec 7, 2010
    tvoodoo, Dec 7, 2010 IP
  5. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I've been trying variations of that with Firebug and nothing seems to work. All that happens is the video disappears.
    Then I read a bunch of posts on StackOverflow that say to use SWFObject with it.
     
    Cash Nebula, Dec 8, 2010 IP
  6. Eponine22

    Eponine22 Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    wmode="transparent" doesn't appear in my code. I re-embeded it and still now luck. The tips have been sent to z-index 999. Still no luck :( any other ideas?


    I'll try swfobjects...
     
    Eponine22, Dec 8, 2010 IP