Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    RESOLVED! - swf with Javascript slideshow - overlaps css menu

    I need my css menu to stay on top of everything, but there is a .swf with a javascript code that I am using for a slideshow that won't stay under the menu.

    Any solutions? - THANK YOU!

    Here's the test page: http://dbk.me/test/intro.html
    Last edited by zduke; 03-22-2011 at 04:29 AM.

  • #2
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,785
    Thanks
    8
    Thanked 131 Times in 129 Posts
    wmode="transparent"

    add that to your embed tag
    Stop making things so hard on yourself.
    i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis

  • #3
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks for the suggestion, but I tried all possible places to put that and it's still not working. Can you give an example of where in the code to put it? The slide show doesn't have an 'embed' tag, no object or embed. I guess it's all controlled by that javascript code?

    Here is the code that is controlling the slide show.

    #flashcontent {
    float:top;
    position: relative;
    margin: 150px 0px 0px 0px;
    z-index:1;
    }
    </style>

    </head>

    <body>
    <div align="center">
    <div id="flashcontent">
    <script type="text/javascript" src="scripts/swfobject.js"></script>
    <script type="text/javascript">
    var so = new SWFObject("intro.swf", "mymovie", "750", "450", "9","#ffffff");
    so.addParam("menu", "false");
    so.addParam("allowfullscreen", "true");
    so.addParam("allowScriptAccess", "always");
    so.addVariable("dataPath", "intro_asset/introdata.xml");
    so.write("flashcontent");

    </script>
    </div>

    </div>

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,480
    Thanks
    6
    Thanked 981 Times in 954 Posts
    It looks alright in Firefox 3.6 but you may wanna play around with z-index (i. e. give the footer and/or the menu a higher z index than the flashcontent).

  • #5
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,785
    Thanks
    8
    Thanked 131 Times in 129 Posts
    so.addParam("wmode", "transparent");
    Stop making things so hard on yourself.
    i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis

  • Users who have thanked harbingerOTV for this post:

    zduke (03-22-2011)

  • #6
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    THANK YOU! That worked! so.addParam("wmode", "transparent");

    I appreciate your help, you're an angel!

    RESOLVED!!!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •