Help - Search - Members - Calendar
Full Version: xml photo gallery layout
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
hattrickhero378
I need help getting this xml flash gallery inside a table and centered. here is the html code. I am a novice so please be descriptive as possible.

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=KOI8-R" />
<title>Flash Gallery Demo</title>
<script src="js/swfobject.js" type="text/javascript" ></script>
<style type="text/css">
<!--
body {
background-color: #000;
}
-->
</style></head>
<body>

<h1 align="center">&nbsp;</h1>



<script type="text/javascript">
var flashvars = {XMLFile: "gallery.xml"};
var params = {bgcolor: "#FFFFFF"};
swfobject.embedSWF("BoxFlashGalleryDemo.swf", "myAlternativeContent","410", "380", "9.0.0",false, flashvars, params);
</script>

<div id="myAlternativeContent">
<div align="center"><a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/>
</a>
</div>
</div>


<div align="center"><br />

</div>
</body>
</html>
RyanSW.com
Hello hattrickhero378. The below is what I think you have to put in the table. Just remember you have to keep all of the rest. Just build the table around it.


<script type="text/javascript">
var flashvars = {XMLFile: "gallery.xml"};
var params = {bgcolor: "#FFFFFF"};
swfobject.embedSWF("BoxFlashGalleryDemo.swf", "myAlternativeContent","410", "380", "9.0.0",false, flashvars, params);
</script>

<div id="myAlternativeContent">
<div align="center"><a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/>
</a>
</div>
</div>


<div align="center"><br />

</div>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.