Topic: SV flash under other objects (my css menu is getting blocked)

Hi folks - very similar to this thread:

http://www.simpleviewer.net/forum/viewt … p?id=10099

my test site:  mirror.focusedmoments.com

My css menu is getting blocked by the flash so i think simpleviewer needs to be set to transparency on embed (but i dont know how smile)

Can you please advise how to insert into the javascript part in the header?  i.e. what I need to add to this (below)

Many thanks!

<!--SimpleViewer Code-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL="galleries/homepage/";
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "ffffff";
params.allowfullscreen = false;
params.allowscriptaccess = "always";
swfobject.embedSWF("galleries/homepage/simpleviewer.swf", "flashContent", "940", "520", "9.0.124", false, flashvars, params);
</script>

Last edited by FocusedMoments (2010-07-01 16:45:55)

Re: SV flash under other objects (my css menu is getting blocked)

Add params.wmode = "transparent"; to the params section of your embed code.

http://simpleviewer.net/simpleviewer/su … ml#embed_2


<!--SimpleViewer Code-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL="galleries/homepage/";
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "ffffff";
params.wmode = "transparent";
params.allowfullscreen = false;
params.allowscriptaccess = "always";
swfobject.embedSWF("galleries/homepage/simpleviewer.swf", "flashContent", "940", "520", "9.0.124", false, flashvars, params);
</script>
Mike Richards
SimpleViewer Support Team.

Re: SV flash under other objects (my css menu is getting blocked)

Thanks Mike!