Hi all
I am currently trying customise my zen cart website. Since I placed the flash banner in the header, when I click on ‘log in’ in the upper left of the page, the whole page moves to right in a blink of an eye and back to its initial position. Why would this happen? Has anyone ever come across such a thing? I am using the code below:
<object type=“application/x-shockwave-flash” data=“includes/templates/mytemplate/images/banner.swf” width=“550” height=“190” align=“right”>
<param name=“movie” value=“includes/templates/mytemplate/images/banner.swf” />
<param name=“quality” value=“high”><param name=“BGCOLOR” value=“#000000”>
<param name=“menu” value=“false”>
</object>
Hoping it may resolve the issue, I also used the one below but no chance:
<script type=“text/javascript” src=“includes/templates/mytemplate/jscript/swfobject.js”></script>
<div id=“flashcontent”>
<center>
<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”
codebase=“http://active.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0”
id=“banner” width=“550” height=“190” ALIGN=“right”>
<param name=“movie” value=“banner.swf”>
<param name=“quality” value=“high”>
<param name=“bgcolor” value=“#000000”>
<embed name=“banner” src=“includes/templates/mytemplate/images/banner.swf” quality=“high” bgcolor=“#000000”
width=“550” height=“190”
type=“application/x-shockwave-flash”
pluginspage=“http://www.macromedia.com/go/getflashplayer”>
</embed>
</object>
</center>
<script type=“text/javascript”>
var so = new SWFObject(“includes/templates/mytemplate/images/banner.swf”, “banner”, “550”, “190”, “7”, “#000000”);
so.write(“flashcontent”);
</script>
</div>