Results 1 to 3 of 3

Thread: Animated Collapsible DIV and Flash

  1. #1
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Animated Collapsible DIV and Flash

    1) Script Title: Animated Collapsible DIV

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm

    3) Describe problem:
    The script is working great, but I'm having an issue when it comes to having a .swf in the expanding div. In IE7 the swf is hidden just fine as the div collapses, however when I test the page in Firefox and Safari the Flash content always displays and is not being hidden when the div collapses. Any thoughts?

    Thanks in advance.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The portion of your Flash tag set that is used by those other browsers (usually it's the nested embed or, if done with two object tags, the nested object tag) may not be configured properly to allow that. Also, due to differences in browser behavior with plug ins like Flash, there may be no simple way around it. First make sure that the wmode is set for both tags as indicated below.

    Follow the detailed information at:

    http://www.macromedia.com/cfusion/kn...fm?id=tn_14201

    Or, if this short version (good in most cases) fixes it, so much the better! Add in this language to your object/embed tag:

    Add the following parameter to the OBJECT tag:

    <param name="wmode" value="transparent">

    Add the following attribute to the EMBED tag:

    wmode="transparent"

    Or, if you are using two object tags, as can and is sometimes done, add the param tag to both of them.

    If you are using script to generate the tags (as is frequently done to avoid the 'click to activate' feature in some browsers), the wmode transparent must be passed to the script. This is easily accomplished but, varies depending upon the sort of script one uses. Some scripts do it automatically.
    If you need more help:

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks! That fixed it!

Bookmarks

Posting Permissions

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