|
Post by jagadeesh on Dec 25, 2011 22:39:22 GMT -8
Replacing logo with swf format in Magento
Edit your header.phtml file and update the below code:
<div class="header-container"> <div class="header"> <?php if ($this->getIsHomePage()):?> <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong> <a href="<?php echo $this->getUrl('') ?>" <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="115" height="115" id="****" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="<?php echo $this->getSkinUrl('images/endless.swf')?>" /> <param name="quality" value="high" /> <param name="bgcolor" value="#EDE2C8" /> <embed src="<?php echo $this->getSkinUrl('images/endless.swf')?>" quality="high" bgcolor="#EDE2C8" width="250" height="154" name="****" align="left" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>
<?php endif?> </div></div>
|
|