I have a client that wants me to port their current store over to Magento, before doing a redesign, and their current cart has a large flash banner for the header. I have searched for a way to do this on these forums but have not found anything that is as extensive as I need.
Here is a link to a solution that is close:
Flash in place of logo
And here is the code sample that blueben created:
<?php echo $this->getChildHtml('store_switcher') ?>
<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/movie.swf')?>" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="<?php echo $this->getSkinUrl('images/movie.swf')?>" quality="high" bgcolor="#ffffff" width="115" height="115" name="****" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<div class="headerlinks-bar"><?php echo $this->getLayout()->getBlock('header')->getWelcome() ?><?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('header_links')->toHtml() ?></div>
<div class="navbar"><?php echo $this->getChildHtml('topMenu') ?></div>
Basically what I need are forthe topLinks or header_links ot float above the header flash element, and for the flash element to span the width of the whole banner. Finally, I need the navigation to rest directly below the flash banner.
Any help would be greatly appreciated in this. I have tried moving the div tags around and adjusting the CSS but it doesn’t seem to work at all for me. Thanks in advance for any help!