HTML integration problem
Posted: 05 Jun 2009, 03:10
Hi, i wan't to integrate imagevue in html under my header!
I took some code from the embedDemo.html in imagevuex but have problems.I'm using PHP.
My code is:(IMAGEVUEX is a GLOBALPATH)
------------------------------------------------------------------------------
<script type="text/javascript" src="<?php echo IMAGEVUEX;?>imagevue/javascript/swfobject.js"></script>
<script type="text/javascript" src="<?php echo IMAGEVUEX;?>imagevue/javascript/swfaddress.js"></script>
<style type="text/css">
* { margin: 0; padding: 0; }
body { background: #000; color: #3E75E9; font: 12px/18px Tahoma, sans-serif; }
h1 { font-size: 36px; line-height: 36px; margin: 0 0 18px 0; font-weight: normal; }
.page { padding: 18px 36px;}
.imagevueWrap { border: 9px solid #5874Ae; margin: 0 0 36px 0; height: 400px; }
</style>
<div class="imagevueWrap">
<div id="imagevue">
<div id="na">
<h1>Oops! - This page requires javascript -</h1><br />
Please enable javascript in your browser and reload page.<br />
» <a href="?p=gallery">Flash gallery</a><br /><br />
Optionally, you can view the HTML gallery page instead:<br />
» <a href="?p=html">HTML gallery</a><br /><br />
Imagevue flash photo gallery and slideshow:<br />
» <h1><a href="https://www.photo.gallery" title="Flash photo gallery and slideshow">www.photo.gallery</a></h1>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
swfobject.embedSWF("<?php echo IMAGEVUEX; ?>imagevue/imagevue2.swf", "<?php echo IMAGEVEUX; ?>/imagevue", "100%", "100%", "8.0.0", "<?php echo IMAGEVUEX; ?>/imagevue/expressInstall.swf", null, {allowScriptAccess: 'always', allowFullScreen: true, bgcolor: '#000000'}, {id: 'imagevue', name: 'imagevue'});
// ]]>
</script>
--------------------------------------------------------------------------------
when i'm trying to access the link instead of my gallery i'm getting the
javascript messages!
can anybody help??
I took some code from the embedDemo.html in imagevuex but have problems.I'm using PHP.
My code is:(IMAGEVUEX is a GLOBALPATH)
------------------------------------------------------------------------------
<script type="text/javascript" src="<?php echo IMAGEVUEX;?>imagevue/javascript/swfobject.js"></script>
<script type="text/javascript" src="<?php echo IMAGEVUEX;?>imagevue/javascript/swfaddress.js"></script>
<style type="text/css">
* { margin: 0; padding: 0; }
body { background: #000; color: #3E75E9; font: 12px/18px Tahoma, sans-serif; }
h1 { font-size: 36px; line-height: 36px; margin: 0 0 18px 0; font-weight: normal; }
.page { padding: 18px 36px;}
.imagevueWrap { border: 9px solid #5874Ae; margin: 0 0 36px 0; height: 400px; }
</style>
<div class="imagevueWrap">
<div id="imagevue">
<div id="na">
<h1>Oops! - This page requires javascript -</h1><br />
Please enable javascript in your browser and reload page.<br />
» <a href="?p=gallery">Flash gallery</a><br /><br />
Optionally, you can view the HTML gallery page instead:<br />
» <a href="?p=html">HTML gallery</a><br /><br />
Imagevue flash photo gallery and slideshow:<br />
» <h1><a href="https://www.photo.gallery" title="Flash photo gallery and slideshow">www.photo.gallery</a></h1>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
swfobject.embedSWF("<?php echo IMAGEVUEX; ?>imagevue/imagevue2.swf", "<?php echo IMAGEVEUX; ?>/imagevue", "100%", "100%", "8.0.0", "<?php echo IMAGEVUEX; ?>/imagevue/expressInstall.swf", null, {allowScriptAccess: 'always', allowFullScreen: true, bgcolor: '#000000'}, {id: 'imagevue', name: 'imagevue'});
// ]]>
</script>
--------------------------------------------------------------------------------
when i'm trying to access the link instead of my gallery i'm getting the
javascript messages!
can anybody help??