给你的Magento模板加上可以动的幻灯片——focalprice模板应用

一般情况下,加入这段代码,就可以占据整个位置了

[php]

<div class="top-banners">
<div id="slider">
<div class="slidercontrolwr">
<div class="slidercontrol"> <a title="Slide 1" href="#section1">1</a> <a title="Slide 2" href="#section2">2</a> <a title="Slide 3" href="#section3">3</a> </div>
</div>
<div class="scroller">
<div class="content">
<div id="section1" class="sectionslide"><a href="{{store direct_url="#"}}"></a></div>
<div id="section2" class="sectionslide"><a href="{{store direct_url="#"}}"></a></div>
<div id="section3" class="sectionslide"><a href="{{store direct_url="#"}}"></a></div>
</div>
</div>
</div>
<script type="text/javascript">// <![CDATA[ var my_glider = new Glider(‘slider’, {duration:0.5, autoGlide: true, frequency: 4, initialSection: ‘section1’}); // ]]></script></div>
{{block type="bmproducts/product_special" name="homepage.special" title="Special Products" productsCount="6" template="bmproducts/product/special.phtml"}}
[/php]

但是实际上,仅是占位里面的图片显示不出来,怎么办你?增加IMG URL即可。Just Like This.

 

本文隐藏内容 登陆 后才可以浏览

标签

发表评论

评论已关闭。

评论列表(1)

  • aaaggg

    2013.11.6 16:11

    😛 好