Topic: Background color in fullscreen

Hi,

When I choose a background color with transparency option, It works well in sv-Builder but when I publish I get the right color in the first area but not in full screen. In full screen, I get always the default grey!

Re: Background color in fullscreen

Transparency is not possible in Fullscreen mode.
You can set a background color for Fullscreen mode whilst keeping the transparency in Normal mode by using the bgcolor Flash Param as below:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var params={};
params.bgcolor="ffffff";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "transparent", true, null, params);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

... changing 'ffffff' above to the hex color value of your choice.

Steven Speirs
SimpleViewer Support Team.

Re: Background color in fullscreen

Hi Steven,

Thanks a lot for the answer!
I am beginner and I am doing my site with iWeb. I know nothing in code and html languages...
Where can I find or must I put the script you send?
I see nothing similar in the gallery.xml file.
Can you help me to find the key?

Thanks.

Re: Background color in fullscreen

The embedding code I posted should replace the existing embedding code in the gallery's 'index.html' file (not the 'gallery.xml file). The 'index.html' file can be edited in a plain text editor.
If you wish to embed your gallery in an existing HTML page alongside other content, then please follow the 'Embedding with iWeb' instructions here: http://simpleviewer.net/simpleviewer/su … .html#iweb

Steven Speirs
SimpleViewer Support Team.

Re: Background color in fullscreen

It works great! Thank you.