var swf_width=350 var swf_height=263 var config='5|0xffffff|0x0099ff|50|0xffffff|0x0099ff|0x000000' //-- config 参数设置 -- 自动播放时间(秒)|文字颜色|文字背景色|文字背景透明度|按键数字颜色|当前按键颜色|普通按键色彩 -- var files='attachments/20120627_c77adad327944da5b554K83dkUXr9dOS.jpg|attachments/20120615_35afe8519dfa4eefd7760MQ8pd9zqb96.jpg|attachments/20130412_075d87c165ab92785e7bB8vV9gAwzh78.jpg|attachments/20130808_d53c9551169e7d543f7eU2j7aQjSdQPJ.jpg|attachments/20120605_4061c350cdb8400ec570OqPl8XL19TlT.jpg|attachments/20130412_f6d492c19b7162ca7e701mcKMNUqquj0.jpg' var links='viewthread.php?tid=17488|viewthread.php?tid=17472|viewthread.php?tid=25760|viewthread.php?tid=26436|viewthread.php?tid=17394|viewthread.php?tid=25762' var texts='转载 斗剧2012 铁拳TT2U项目中国预选总决赛前瞻|[转]6.23斗剧2012中国预选上海第2次预选结果|全角色友好度相性值表,关系到血槽愤怒快慢的系统|【比赛活动公告】铁拳TT2U 中国大陆华北地区 友谊交流会|[转]斗剧2012 铁拳TT2中国预选上海站第1次预选盛况|【街机版 】美帝国 铁拳TT2 U 到货,北美洲 全面开服!!!!!' var listItems= []; var fileList= files.split('|'); var linkList= links.split('|'); var textList= texts.split('|'); var itemNumber = fileList.length; for (let i = 0; i < itemNumber; i++) { var temp = { imgFile:fileList[i], link:linkList[i], text: textList[i] } listItems.push(temp); } document.write('
'); var slider = tns({ container: '.slider1', items: 1, slideBy: 'page', autoplay: true, "lazyload": true, controlsPosition: "bottom", autoplayButtonOutput: false, navPosition: "bottom", controls: false, }); //document.write('');