在加载\Config\Picturelabel.xml 时,少以下代码,为什么?
<script type="text/javascript">
var imgArr='{$ImgArr}'.split('|');
var introArr='{$IntroArr}'.split('|');
var currPage=1;
function showImg(n){
if (n<=0) return;
if (n>{$TotalPage}) n=1;
currPage=n;
$("#scrool_wrap").find("a").attr("class","normalthumb");
$("#t"+n).addClass("currthumb");
$("#currpa").html(n);
$("#currp").html(n);
$("#ShowLargeImg").hide().attr("src",imgArr[n-1]).fadeIn('slow');
$(".imageintro").html(introArr[n-1]);
}
function prev(){
showImg(currPage-1);
}
function next(){
showImg(currPage+1);
}