Topic: change height to a percentage, the gallery disappear

I try to embed simple viewer to my html page.
I copy this to my html page.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "222222";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("simpleviewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script>

I change the width from 800 to a percentage, it works great.
But when I change the height from 600 to any percentage, the whole gallery disappear.
Please help.

Re: change height to a percentage, the gallery disappear

I suspect this might help:
http://www.simpleviewer.net/simpleviewe … ml#embed_7

Steven Speirs
SimpleViewer Support Team.

Re: change height to a percentage, the gallery disappear

Thanks a lot.
It fixed the problem.