<div class="slide">
<script>
var m_nPageInitTime = new Date();
var MainTopRoll = new xwzRollingImageTrans("IMG_MAIN_TOP_ROLL_DETAIL", "IMGS_MAIN_TOP_ROLL_THUMBNAIL");
[loop=6]
MainTopRoll.addItem
("{$Field(ID,GetInfoUrl,5,1)}","{$Field(BigPhoto,Text,0,...,0,)}");
[/loop]
</script>
[loop=1]
<img name="IMG_MAIN_TOP_ROLL_DETAIL" class="hand" src="{$Field(BigPhoto,Text,0,...,0,)}" />
[/loop]
<ul>
[loop=1]
<li><img class="hide" name="IMGS_MAIN_TOP_ROLL_THUMBNAIL" /><a href="{$Field(ID,GetInfoUrl,5,1)}" title="{$Field(Title,Text,0,...,0,)}" target="_blank"><img onmouseover="MainTopRoll.alterImage(0)" src="{$Field(PhotoUrl,Text,0,...,0,)}" /></a></li>
[/loop]
[loop=5]
<li><img class="hide" name="IMGS_MAIN_TOP_ROLL_THUMBNAIL" /><a href="{$Field(ID,GetInfoUrl,5,1)}" title="{$Field(Title,Text,0,...,0,)}" target="_blank"><img onmouseover="MainTopRoll.alterImage({$AutoID})" src="{$Field(PhotoUrl,Text,0,...,0,)}" /></a></li>
[/loop]
</ul>
<script>MainTopRoll.Index = parseInt('0');MainTopRoll.install();</script>
</div>
整体代码是这样的
我最上面的那个蓝色中的循环这样写错了吗?
还有中间有一个循环一次的红色代码是第一张大图。这里我知道写得不对,但不知道怎么改。。。