首页经常见到类似特殊技术这种鼠标移动的特效,效果如下
具体调用代码如下
{pc:content action="lists" catid="67" num="16" thumb="1" num="6" order="updatetime desc"}
{php $num01=0;}
{loop $data $r}
{php $num01++;}
<div class="{if $num01==1}index01-l1-02{else}index01-l1-03{/if}" id="qwjs<?php echo $num01;?>" οnmοuseοver="javascript:qwjs('qwjs<?php echo $num01;?>','qwjs0<?php echo $num01;?>')">
<a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],22)}</a></div>
<div class="{if $num01==1}index01-l1-04{else}index01-l1-05{/if}" id="qwjs0<?php echo $num01;?>"><a href="{$r[url]}" target="_blank"><img src="{$r[thumb]}" width="265" height="92" alt="{$r[title]}" /></a></div>
<div style="clear:none"></div>
{/loop}
{/pc}