Results 1 to 9 of 9

Thread: anylink css 2.2 and flash

  1. #1
    Join Date
    Feb 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default anylink css 2.2 and flash

    1) Script Title: AnyLink CSS Menu 2.2

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

    3) Describe problem: I have implemented this script, but it goes behind flash elements on my page. How can I get this to show above my flash elements?

    Thanks

  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

    Loosely from:

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

    Add in this language to your object/embed tag(s) -

    Add the following parameter to the OBJECT tag:

    HTML Code:
    <param name="wmode" value="transparent">
    Add the following attribute to the EMBED tag:

    Code:
    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.
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The below code is in my object tag already.
    HTML Code:
    <param name="wmode" value="transparent">
    I'm using Joomla and a plugin for this, and there is no embed tag. My menu still goes behind the flash player.

  4. #4
    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

    A single object tag for Flash is impossible if there is support (your Flash feature works in) in both IE and other browsers.

    I'm not all that familiar with Joomla. But the critical issue is the page's served source code. I can tell you what that needs to be if I can see it. Making it happen via Joomla would be up to you. For Joomla specific help, you would probably need to consult the Joomla docs and/or a Joomla forum.

    If you want me to have a look at the served source code so as to advise you on what may be missing from it:

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

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

  5. #5
    Join Date
    Feb 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Great, here is a link:

    http://www.vickiesangelwalk.org/joom...d=31&Itemid=16
    rollover the Photos & Media tab, and you'll see the menu goes behind the flash player.

    Thanks!!

  6. #6
    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

    You have the wmode set correctly. Add this (highlighted) to your style section:

    Code:
    <style type="text/css" media="all">
    	@import "http://www.vickiesangelwalk.org/joomla15/plugins/content/jw_allvideos/tmpl/css/template.css";
    .anylinkcss, .anylinkcss * {
     z-index: 10000;
    }
    </style>
    Or to any stylesheet used by your page.
    - John
    ________________________

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

  7. #7
    Join Date
    Feb 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok, I added that, but it's still not above the flash.

    EDIT: I got it to work by putting the style you gave below the original .anylinkcss, that has the z-index set to 100. Now, the only thing is that the shadow goes behind the flash. Any way to get that above the flash?

    Thanks!!

  8. #8
    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

    Code:
    .anylinkshadow{ /*CSS for shadow. Keep this as is */
    	position: absolute;
    	left: 0;
    	top: 0;
    	z-index: 9999; /*zIndex for shadow*/
    	background: black;
    	visibility: hidden;
    }
    - John
    ________________________

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

  9. #9
    Join Date
    Feb 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Awesome, thanks for the help!!

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
  •