2004-05-17, 06:24 PM | #1 |
注册日期: 2003-10-22
帖子: 11,053
积分:6
精华:24
现金:14348金币
资产:29325305金币
|
VBB3 external.php到底怎么用呢
调用: <script src="http://bbs.cn/external.php?type=js" type="text/javascript"></script> 如果需要指定版面: <script src="http://bbs.cn/external.php?type=js&forumids=1,3,13" type="text/javascript"></script> ----------- 这个程序只能如此引用一次,否则出错;我那里的代码只要是为了分两列显示 <script type="text/javascript"> <!-- var tt = threads.length; var l; if (tt < 15) { l = tt; } else { l = 15; } for (i = 0; i < l; i++) { document.writeln("<a href = 'http://bbs.cn/showthread.php?t=" + threads[i].threadid + "' target = '_blank' class=ablack>" + threads[i].title + "</a> - " + threads[i].threaddate + "<br />"); } //--> </script> <script type="text/javascript"> <!-- for (i = l; i < tt; i++) { document.writeln("<a href = 'http://bbs.cn/showthread.php?t=" + threads[i].threadid + "' target = '_blank' class=ablack>" + threads[i].title + "</a> - " + threads[i].threaddate + "<br />"); } //--> </script> |
|