日期:2014-05-16 浏览次数:20394 次
/*
+---------------------------------------------
* Create HTML for zthd in index.htm
+---------------------------------------------
* Author: default.fu@gmail.com
* Date: 2011-03-18
* Charset: UTF-8
* Notice: To Use This File Must Include jquery.min.js First!
*
*/
if(typeof(zbphpObj) == "undefined") var zbphpObj = [];
//------------------------------------
zbphpObj = [
{
"lnk":"http://www.zbphp.com/12752.html?1300412098",
"tit":"1",
"pic":"001.jpg",
},
{
"lnk":"http://www.zbphp.com/12528.html?1300412123",
"tit":"2",
"pic":"002.jpg"
},
{
"lnk":"http://www.zbphp.com/12230.html?1300412147",
"tit":"3",
"pic":"003.jpg"
},
{
"lnk":"http://www.zbphp.com/81671.html?1300412167",
"tit":"4",
"pic":"004.jpg"
},
{
"lnk":"http://www.zbphp.com/7598.html?1300412196",
"tit":"5",
"pic":"005.jpg"
},
{
"lnk":"http://www.zbphp.com/4815.html?1300412248",
"tit":"6",
"pic":"006.jpg"
}];
document.write("<ul>");
var j=0;
for(var i in zbphpObj){
alert(j);
j++;
document.write("<li>");
document.write('<div class="li-tt li'+j+'" id="_xrli'+j+'"><a href="'+zbphpObj[i].lnk+'" target="_blank" '+(j == 1 ? 'class="curr"':'')+' onmouseover="LiTabs(\'_xrli\','+j+',6,\'curr\')">'+zbphpObj[i].tit+'<\/a><\/div>');
document.write('<div class="li-ct" id="_xrli'+j+'_img" style="display:'+(j == 1 ? 'block':'none')+'"><a href="'+zbphpObj[i].lnk+'" target="_blank"><img src="/images/index/zbphpObj/'+zbphpObj[i].pic+'" alt="'+zbphpObj[i].tit+'" border="0" width="255" height="136" \/><\/a><\/div>');
document.write("</li>");
}
document.write("</ul>");