03Jan

Suckerfish Drop Down Menu Over SIFR Header Replacement Flash Movie.

1 comment so far

At this point we all know that in order to get drop down menus, like Suckerfish, to hang over flash movies you will need to make the flash movie have a transparent value for the wmode parameter. I ran into an issue one time with drop down menus hanging over my SIFR headers. Here is the code that I used to fix the problem:


<script type="text/javascript">
   //<![CDATA[
  /* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){

 // This is the preferred "named argument" syntax
sIFR.replaceElement(named({
sSelector:"body h1",
sFlashSrc:"/swf/fonts/fontname.swf",
sWmode: "transparent",
sColor:"#bc4313",
sLinkColor:"#bc4313",
sBgColor:"#ffffff",
sHoverColor:"#bc4313",
nPaddingTop:5,
nPaddingBottom:5,
sFlashVars:"textalign=left&offsetTop=0"
}));

};

//]]>
  </script>

Simply noting this piece of code in particular:

sWmode: "transparent"

Share/Save/Bookmark

Categories: Web Development

Thursday, January 3rd, 2008 at 6:54 am and is filed under Web Development. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “Suckerfish Drop Down Menu Over SIFR Header Replacement Flash Movie.”

  1. Posted by Alain Garnier 3rd March, 2008 at 7:09 pm

    This is actually the first code that has worked so far in combination with DHTML Menu’s! They should alter the code at sifr as this is a way better solution that should always work…

Leave a reply