|
发表于 2002-3-20 23:27:18
|
显示全部楼层
不好意思,昨天没仔细看,问题不是出在那一句上,而是出在bbs.js里面,具体的问题我就不知道了,因为我不懂java script.
--------------------------------------------------------------------------------------
var i=0;
var kj=1;
var is_max=1;
var currentpos,timer;
function sc(){clearInterval(timer);}
function initialize(){timer=setInterval("scrollwindow()",1);}
function scrollwindow(){currentpos=document.body.scrollTop;window.scroll(0,++currentpos);}
document.onmousedown=sc
document.ondblclick=initialize
function New(para_URL){var URL=new String(para_URL);window.open(URL,'','resizable,scrollbars')}
function hao(para_URL){var URL=new String(para_URL);window.open(URL,'friend','width,height=504')}
function min_yuzi(){if(kj==1){parent.main_frame.rows='0,*';}}
function copyText(obj) {var rng = document.body.createTextRange();rng.moveToElementText(obj);rng.select();rng.execCommand('Copy');}function del(){if(confirm("您确定要删除该帖子吗?")){return true;}return false;}
function img(){if(top==self){}else{parent.main_frame.rows='*,20';parent.yuzi_frame.kj=1}}
function off(){if(top==self){window.close()}else{parent.main_frame.rows='*,0';parent.yuzi_frame.kj=1}}
----------------------------------------------------------------------------------- |
|