dazz_club Posted October 26, 2006 Share Posted October 26, 2006 hi people,i have a drop down menu using css and on the same page i have bit of basic flash animation.The problem comes with layering i believe, something like z-index. the drop down menu seems to fall behind the swf file. heres the url www.tweedmill.co.uk/new1/its only viewable in internet explorer at the mo, as the css needs sorting out for fire fox.cheers Link to comment Share on other sites More sharing options...
aspnetguy Posted October 26, 2006 Share Posted October 26, 2006 which drop down goes behind the flash??? There only seesm to be a drop down on Departments Link to comment Share on other sites More sharing options...
dazz_club Posted October 26, 2006 Author Share Posted October 26, 2006 thats right, theres only a drop down menu on departments, if you go to another page, you will see there are more categories on the drop down menu.thanks for looking Link to comment Share on other sites More sharing options...
scott100 Posted October 26, 2006 Share Posted October 26, 2006 Z-index doesn't matter a jot when trying to "layer" html over a .swf (well as long as it's not set to -1), you must set flash to transparent.-------------------------<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version= 6,0,0,0" height="500px" width="500px"> <PARAM NAME=movie VALUE="http://www.mix-fx.com/animations.swf"> <PARAM NAME=wmode VALUE=transparent></OBJECT> <div style="background-color:red;position:absolute;width:100px;height:100px;left:250px;top:200px;">The Box</div>-------------------------As you will see from this example the box "sits" on top of the flash animation Link to comment Share on other sites More sharing options...
dazz_club Posted October 28, 2006 Author Share Posted October 28, 2006 cheers scott, worked a treat, thank you very much for your help. :)could i ask you an other question, is there a better way at putting/embeding flash on to site by looking at my coding?Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now