Topic: making simpleviewer background transparent does not work

Hello guys smile

I added this to the index.html page to make it look transparent:

fo.addParam("wmode", "transparent"); 

but it doesn't become transparent sad I use the gallery on a existing page.
This the whole html from the index.html from simpleviewer

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Another photo album built using Flash Album Exporter.">
<meta name="keywords" content="Flash, Photo, Flash Album Exporter, FlashAlbumExporter, SimpleViewer">
<title>SimpleViewer</title>
<!-- Download AutoViewer at http://www.airtightinteractive.com/projects/simpleviewer -->
<!-- Download Flash Album Exporter at http://apertureplugin.home.comcast.net -->
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">    
    /* hide from ie on mac \*/
    html {
        height: 100%;
        overflow: hidden;
    }
    
    #flashcontent {
        height: 100%;
    }
    /* end hide */

    body {
        height: 100%;
        margin: 0;
        padding: 0;
        background-color: #181818;
        color:#ffffff;
    }
</style>
</head>
<body>
    <div id="flashcontent">SimpleViewer requires Macromedia Flash. <a href="http://www.macromedia.com/go/getflashplayer/">Get Macromedia Flash.</a> If you have Flash installed, <a href="index.html?detectflash=false">click to view gallery</a>.</div>    
    <script type="text/javascript">
        var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "7", "#181818");
        fo.addParam("wmode", "transparent"); 
        fo.addVariable("preloaderColor", "0xffffff");
        fo.addVariable("xmlDataPath", "gallery.xml");    
        fo.write("flashcontent");    
    </script>    
</body>
</html>

where is my fault sad?

Re: making simpleviewer background transparent does not work

come on guys? smile

Re: making simpleviewer background transparent does not work

Please post the url of the gallery that is having this issue.

Mike Richards
SimpleViewer Support Team.

Re: making simpleviewer background transparent does not work

here it is smile

http://www.herbertverhaeghe.be/Private/ … reden.html

don't mind the error in the banner wink site is still under construction !
thx in advace for helping smile

oh and this is a direct link to the html file from the simple viewer album
www.herbertverhaeghe.be/Private/PSD/Her … index.html

Last edited by de_autojohn (2009-12-30 23:02:40)

Re: making simpleviewer background transparent does not work

Try removing background-color: #181818; from the html.

Mike Richards
SimpleViewer Support Team.