Jump to content
  • 0

Flash галерея, ссылка на XML файл.


sinderman
 Share

Question

Привет, запулил сей код себе на страничку. НО! Надо подключить XML файл сюда (в нём ссылки на изображения), но не знаю, как это сделать.

И ещё вопрос: http://maxnimere.my1.ru/photo/ ссылка на эту галерею - будущую. Она у меня в таблице почему-то в горизонтальном выравнивании - слева, а хотелось бы по центру. Код страницы расположен в самом низу.

Заранее спасибо.

<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" />
<title>My Gallery</title>
</head>
<style type="text/css">
<!--
body{background: #000000; margin:20px;} div#gallery {width: 800px; height: 690px; margin-left: auto; margin-right: auto;}object a {display: none;} object {margin-left: auto; margin-right: auto; display block;}
-->
</style>
<!--
#####################################################################
Flash and XML Photo Gallery
Copyright 2006-2007 aSymbio Developer [http://developer.asymbio.net]
Downloaded from: www.flashgallery.org
#####################################################################
-->
<body>
<div id="gallery">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0" width="1000" height="890" id="gallery" align="middle">
<param name="allowScriptAccess" value="sameDomain" />

<param name="allowFullScreen" value="true" />
<param name="movie" value="gallery.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="bgcolor" value="#000000" />
<embed src="gallery.swf" quality="high" allowFullScreen="true" scale="noscale" bgcolor="#000000" width="800" height="690" name="gallery" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<a href="http://www.flashgallery.org/" title="Free Flash and XML photo gallery">Flash Gallery</a>
</object>

</div>
</body>
</html>

<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">
<title>$MODULE_NAME$ - $SITE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/.s/src/css/989.css" />
</head>
<style type="text/css">
<!--
body{background: #000000; margin:20px;} div#gallery {width: 100%; height: 100%; margin-left: auto; margin-right: auto;}object a {display: none;} object {margin-left: auto; margin-right: auto; display block;}
-->
</style>

<body style="background:#00BECC; margin:0px; padding:0 10px 0 10px;">
$ADMIN_BAR$

<div style="height:21px;background:#00becc;"><img src="/.s/t/989/1.gif" border="0"></div>
$GLOBAL_AHEADER$


<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" style="width:179px;background:url('/.s/t/989/17.gif');">

$GLOBAL_CLEFTER$
</td>

<td valign="top" height="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" style="border-left:1px solid #000000;border-right:1px solid #000000;" background="000000">
<tr><td width="8" height="8"><img src="/.s/t/989/21.gif" border="0"></td><td style="background:url('/.s/t/989/22.gif');"></td><td width="8" height="8"><img src="/.s/t/989/23.gif" border="0"></td>
<tr><td style="background:url('/.s/t/989/24.gif');"></td><td style="background:#000000;" height="100%" valign="top"><!-- <middle> --><!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="70%"><!--<s5194>-->Фотографий: <b>$NUM_ENTRIES$</b> | Альбомов: <b>$NUM_CATEGORIES$</b><!--</s>--></td><td align="right" style="white-space: nowrap;"><?if($ADD_ENTRY_LINK$)?>[ <a href="$ADD_ENTRY_LINK$"><!--<s5160>-->Добавить фотографию<!--</s>--></a> ]<?endif?></td></tr></table><br />

$BODY$
<div id="gallery">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0" width="1000" height="890" id="gallery" align="center">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="true" />
<param name="movie" value="http://maxnimere.my1.ru/gallery.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="bgcolor" value="#000000" />
<embed src="http://maxnimere.my1.ru/gallery.swf" quality="high" allowFullScreen="true" scale="noscale" bgcolor="#000000" width="800" height="690" name="gallery" align="center" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<a href="http://www.flashgallery.org/" title="Free Flash and XML photo gallery">Flash Gallery</a>
</object>
</div>
<hr/><!-- </body> --><!-- </middle> --></td><td style="background:url('/.s/t/989/25.gif');"></td></tr>
<tr><td width="8" height="8"><img src="/.s/t/989/26.gif" border="0"></td><td style="background:url('/.s/t/989/27.gif');"></td><td width="8" height="8"><img src="/.s/t/989/28.gif" border="0"></td>
</table>
</td>

</tr>
</table>


$GLOBAL_BFOOTER$

</body>

</html>

Edited by sinderman
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy