Forcing Flash to Show below Javascript Hover Div

Discussion in 'JavaScript' started by x232, Nov 11, 2008.

  1. #1
    I have a website at: http://www.bannerlinkuk.com/index.php

    The website allows the customer to upload affilliate banners, the affilliate code is normally a js file piece of code which the client adds to the website, the client cannot modify that piece of code as the .js file sits on the affiliate companies website.

    The problem is that the .js file sometime contains .swf advertisements, on the website im implementing a hover over script which always seems to show below the flash file affilliate. I know the reason for this is the .js file wiith the affiliate code for a swf file does not have the wmode=transparent piece of code.

    is it possible to modify the code in the js file on the fly and add the wmode=transparent piece of code? or is there a way to show the hover over feature on the website above the .swf affilliate?

    please see picture of problem:

    http://i33.tinypic.com/1zya72x.jpg
     
    x232, Nov 11, 2008 IP
  2. rene7705

    rene7705 Peon

    Messages:
    233
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can't you increase the z-index of your onhover window to 99999?
     
    rene7705, Nov 11, 2008 IP
  3. x232

    x232 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ^ tried that, the flash still sits on top
     
    x232, Nov 11, 2008 IP
  4. rene7705

    rene7705 Peon

    Messages:
    233
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    well if you want control over the JS you are importing, filter it through a php script that sits on your server..

    your php script would take 1 parameter; a list of URLs. Then it downloads the URL, parses it for changes that need to be made, caches it for future reference..
     
    rene7705, Nov 11, 2008 IP
  5. wayfarer07

    wayfarer07 Peon

    Messages:
    34
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The only way to get anything to layer itself on top of flash, is using the wmode="transparent" attribute, as you pointed out. Either that, or don't use Flash (preferable).
     
    wayfarer07, Nov 11, 2008 IP