[BNM] swf and fixed-position header

Barry Bloye bbloye at gmail.com
Wed Mar 21 15:37:26 GMT 2007


On 21/03/07, Richard Wells wrote:
> I have a web page with a fixed-position header and a swf embedded in it. I
> have set the z-indexes to make everything scroll under the header but the
> swf remains on top. I have searched for a solution but it seems that you
> cannot make a swf scroll under a fixed header.
>
> Does anyone know different?
>
> Richard

Being a plug-in, Flash tends to get bumped in front of everything else
irrespective of CSS z-index. Try something like this:

<object type="application/x-shockwave-flash" data="/path/to/flash.swf"
width="700" height="400">
<param name="movie" value="/path/to/flash.swf" />
<param name="wmode" value="transparent">
</object>

Also, A List Apart (alistapart.com) have a few useful articles on
embedding Flash movies that have helped me get around past
frustrations!

Hope that helps,
Baz



More information about the BNMlist mailing list. Powered by Wessex Networks