Topic: different background color in fullscreen mode

Hi All!
Is there any way I can set a different background color of the viewer on my page and different one for the fullscreen mode?

Thanks and regards!
Isengrim

Re: different background color in fullscreen mode

You could use something like:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var params= {};
params.wmode = "transparent";
$(document).ready(function () {
SV.simpleviewer.load("sv-container", "100%", "100%", "00ff00", true, null, params);
});
</script>
<div id="sv-container" style="background-color: #ff0000;"></div>
<!-- END SIMPLEVIEWER EMBED -->

Setting the wmode parameter to transparent allows you to set the normal background color via CSS (in this example to red) and the color set in the SV.simpleviewer.load line (in this case green) will be used for fullscreen mode.

Steven Speirs
SimpleViewer Support Team.

Re: different background color in fullscreen mode

Hi!
Great! It Worked! smile

Thanks!

Regards,
Isengrim