烧包的图片放大可以给您说一下.至于其他的太个性化了.您还得自己花时间研究一下了.
在模板的<head></head>直接链接js文件.
[Copy to clipboard] [ - ]CODE:
<script type="text/javascript" src="themes/shaobag/js/preview.js"></script>
js文件记住从模板目录复制啦.注意一下路径.
然后在<body></body>之间添加<div id="preview_div"></div>
再在商品链接里面添加:
[Copy to clipboard] [ - ]CODE:
onmouseover="showtrail('{$goods.goods_img}','{$goods.name|escape:html}',{$image_width},{$image_height})" onmouseout="hidetrail()"
example:
[Copy to clipboard] [ - ]CODE:
<a href="{$goods.url}" title="{$goods.name|escape:html}" onmouseover="showtrail('{$goods.goods_img}','{$goods.name|escape:html}',{$image_width},{$image_height})" onmouseout="hidetrail()">{$goods.short_name}</a>