2012-04-04 48 views
0

好了,所以我有我的主页上使用闪存的位置:flash的替代内容| Magento的

http://www.emmaphillipsbridal.com/

如果我尝试添加一些ALT代码,使iPad和iPhone的用户可以看到的东西,而不是一个空白页,但是当我保存它消失的代码,我见过一些人提到过这个问题,但我找不到解决方案。

闪光灯的代码是:

<div class="flash"> 
<object width="980" height="665" data="http://www.dansiop.com/epbs/skin/frontend/base/theme137/flash/header_v8.swf?xmlUrl=http://www.dansiop.com/epbs/skin/frontend/base/theme137/flash/xml_folder/" type="application/x-shockwave-flash"> 
<param name="data" value="http://www.dansiop.com/epbs/skin/frontend/base/theme137/flash/header_v8.swf?xmlUrl=http://www.dansiop.com/epbs/skin/frontend/base/theme137/flash/xml_folder/" /> 
<param name="quality" value="high" /> 
<param name="menu" value="false" /> 
<param name="wmode" value="transparent" /> 
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" /> 
<param name="src" value="http://www.dansiop.com/epbs/skin/frontend/base/theme137/flash/header_v8.swf?xmlUrl=http://www.dansiop.com/epbs/skin/frontend/base/theme137/flash/xml_folder/" /> 
</object> 
</div> 

页面上的设计的XML是:

<!--<reference name="content"> 
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> 
<block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> 
<block type="reports/product_compared" name="home.reports.product.compared" template="reports/home_product_compared.phtml" after="product_viewed"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> 
</reference><reference name="right"> 
<action method="unsetChild"><alias>right.reports.product.viewed</alias></action> 
<action method="unsetChild"><alias>right.reports.product.compared</alias></action> 
</reference>--> 

谁能给我我怎么可以显示谁做用户别的事情上的一些想法没有闪光?

在此先感谢。

DanSiop

回答

1

我会建议你使用SWFObject嵌入任何SWF对象在网页中。

这个JS库将允许你实现这一点,并被认为是Adobe的最佳实践。

它配备了一个方便的生成器,它可以让你用正确的javascript/html创建一个html页面。

而且检查这些了:

+0

谢谢我的男人!由于某种原因,虽然我可以让它工作完美,但是当我回到magento管理员时,备用内容的代码已经不存在了!不明白,我必须保留代码的备份以便每次粘贴 - 确实很奇怪。 – 2012-04-04 13:46:18