Topic: problems with embedding simpleviewer
Hi there. I am not that pro with coding etc, so please be patient with me :)
i have multiple galleries, that should be embedded within certain html pages, means one gallery per page. the folders for the different galleries are all in the same big website folder. I tried to copy code out of the forums posts, but something just won't work. When i preview the page in IE i only get a white square (see image below).
Here's the code for one html page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>drakken 5.0 - Mixed Commissions</title>
<link href="site_css.css" rel="stylesheet" type="text/css" />
<!-- Load SWFObject -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<!-- Gallery 1 JavaScript Embed-->
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "gallery.xml";
var params = {};
params.allowfullscreen = true;
params.allowscriptaccess = "always";
params.bgcolor = "FFFFFF";
swfobject.embedSWF("simpleviewer.swf", "flashContent", "800", "700", "9.0.124", false, flashvars, params);
</script>
<style type="text/css">
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style></head>
<body>
<div id="menue" align="left">
<table width="100%" border="0" cellspacing="20" cellpadding="0">
<tr>
<td width="19%" valign="top"><!-- #BeginLibraryItem "/Library/over_menue.lbi" -->
<table width="250" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><h3>home</h3>
<h1>clients </h1>
<h1>blog</h1>
<h1><a href="h_about.html">about</a></h1>
<h3>illustrations</h3>
<h1><a href="i_SOE.html">Sony Online Entertainment</a></h1>
<h1><a href="i_FFG.html">Fantasy Flight Games</a></h1>
<h1><a href="i_AEG.html">Alderac Entertainment Group</a></h1>
<h1><a href="i_MixedCommissions.html">Mixed Commissions</a></h1>
<h1><a href="i_PrivateWork.html">Private Work</a></h1>
<h1><a href="i_sketches.html">Sketches</a></h1>
<h3>Concepts</h3>
<h1><a href="c_environments.html">Environments</a></h1>
<h1><a href="c_CharsCreatures.html">Chars & Creatures</a></h1>
<h1><a href="c_PropsVehicles.html">Props & Vehicles</a></h1></td>
</tr>
</table>
<!-- #EndLibraryItem --></td>
<td width="81%"><!-- Gallery 1 Div -->
<div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://get.adobe.com/flashplayer/">Get Flash</a></div>
</td>
</tr>
</table>
<h1> </h1>
</div>
<h1> </h1>
</body>
</html>
and this is what it looks like in IE:
hope that makes sense