js3

来源:互联网 发布:淘宝编辑软件 编辑:程序博客网 时间:2024/05/16 09:11
//把图片变为灰色
 function imgTOGray(imgID){
$(imgID).css("filter","gray"); 
 }
 //把图片变为彩色
 function imgTOColor(imgID){
$(imgID).css("filter",""); 
 }
//进入第一页
 function goHome(){
i=1;
setTitle('welcome to NPB');
nowDIV.hide(200,function(){
firstDIV.fadeIn(200);
});
nowDIV=firstDIV;
imgTOGray('#reback');
imgTOColor('#go');
name2='无标题';
name3='无标题';
scendDIV.html("<center>无内容 </center>");
    threadDIV.html("<center>无内容 </center>");

}

var isLoading=false;
//打开新的连接
function openDIV(divTitle,index,formid,url){

z=index;
if(index==2){
name2=divTitle;
}else if(index==3){
name3=divTitle;
}
submitForm(formid,'',url);
}
//打开新的连接
function openDIV(divTitle,index,formid,url,fromindex){
if(fromindex==1){
name3='无标题';
threadDIV.html("<center> </center>");
}
//url=url+"?"+new Date();

z=index;
if(index==2){
name2=divTitle;
}else if(index==3){
name3=divTitle;
}
submitForm(formid,'',url);
}

原创粉丝点击