I placed the following code right under <!--bof-branding display--> in tpl_header.php:
<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/flash2/...ersion=4,0,0,0"
id="banner" width="550" height="200" ALIGN="right">
<param name="movie" value="banner.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed name="banner.swf" src="includes/templates/mytemplate/images/banner.swf" quality="high" bgcolor="#000000"
width="550" height="200"
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", "untitled", "550", "200", "7", "#000000");
so.write("flashcontent");
</script>
</div>
Swfobject.js file (just a single file) was also put in jscript folder. Clicking on log in still moves the page back and forth. I also tried another code which is;
<object type="application/x-shockwave-flash" data="includes/templates/mytemplate/images/banner.swf" width="550" height="200" 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>
but no chance. Am i doing something wrong or using a depreceated code. Can anyone help me out of this?