The Little Guy Posted May 5, 2008 Share Posted May 5, 2008 On the windows firefox, I have a div (positioned absolute) and half of it is behind all swf files, while the other half is visible when not on top of the swf. Is there a way to force the div to display above the swf file? Quote Link to comment https://forums.phpfreaks.com/topic/104215-absolute-positioned-div/ Share on other sites More sharing options...
obsidian Posted May 5, 2008 Share Posted May 5, 2008 You need to set the wmode parameter of your SWF file to transparent when you embed it: <!-- this goes within your object tag --> <param name="wmode" value="transparent" /> Quote Link to comment https://forums.phpfreaks.com/topic/104215-absolute-positioned-div/#findComment-533540 Share on other sites More sharing options...
TheFilmGod Posted May 5, 2008 Share Posted May 5, 2008 You need to set the wmode parameter of your SWF file to transparent when you embed it: <!-- this goes within your object tag --> <param name="wmode" value="transparent" /> although I'm not expert on this, I don't think value="transparent" would work. What about visiblity="transparent" or display="none"? Quote Link to comment https://forums.phpfreaks.com/topic/104215-absolute-positioned-div/#findComment-533702 Share on other sites More sharing options...
GameYin Posted May 5, 2008 Share Posted May 5, 2008 If he did Transparent, he could mess around with CSS opacitys. Quote Link to comment https://forums.phpfreaks.com/topic/104215-absolute-positioned-div/#findComment-533824 Share on other sites More sharing options...
obsidian Posted May 6, 2008 Share Posted May 6, 2008 You need to set the wmode parameter of your SWF file to transparent when you embed it: <!-- this goes within your object tag --> <param name="wmode" value="transparent" /> although I'm not expert on this, I don't think value="transparent" would work. What about visiblity="transparent" or display="none"? The param tag always has at least two attributes: name and value. In this case, you are setting the value of the wmode to transparent, so yes, it does work. Quote Link to comment https://forums.phpfreaks.com/topic/104215-absolute-positioned-div/#findComment-534256 Share on other sites More sharing options...
The Little Guy Posted May 7, 2008 Author Share Posted May 7, 2008 It didn't work... (See attachment, picture should be on top of graph) <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="ie_chart" align="middle" height="250" width="500"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="open-flash-chart.swf?width=500&height=250&data=http%3A%2F%2Fmurdercup.publicsize.com%2Fchart-data.php"> <param name="quality" value="high"> <param name="bgcolor" value="#FFFFFF"> <param name="wmode" value="transparent"> <embed src="open-flash-chart.swf?data=http%3A%2F%2Fmurdercup.publicsize.com%2Fchart-data.php" quality="high" bgcolor="#FFFFFF" name="chart" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" id="chart" align="middle" height="250" width="500"> </object> [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/104215-absolute-positioned-div/#findComment-535280 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.