才知咨询网

居转户  人才引进  上海居转户咨询

上海居转户资讯分类

上海交通大学蔡宇伽课题组诚聘博士后

时间:2023-01-31

落户上海咨询二维码  

  

)<[^<]*)*/gi;

  

vartext=html.replace(SCRIPT_REGEX,"");//正则替换为空

  

vararr=text.split('@');

  

if(arr[0]=='推荐成功'){

  

//推荐成功提示

  

varnum=parseInt($("#recommendcount").text左边()右边);

  

$("#return_qcrecommend_").text(arr[0]);

  

//推荐数加1

  

$("#recommendcount").text(num+1);

  

//推荐人显示

  

if($("#recommendcount").text左边()右边==''){

  

$("#recommendtag").html("推荐人");

  

$("#recommendbody").html(arr[1]);

  

}else{

  

$("#recommendbody").append(arr[1]);

  

}

  

}

  

});

  

//渲染分享代码

  

$("#shareblog").html('');

  

/*jquery写法

  

varcomment_cid=_window.location.hash;

  

varcommentcid=comment_cid.slice(1);

  

if(commentcid){

  

jQuery("#"+commentcid).parent左边()右边.animate({height:'toggle',opacity:'toggle'},"fast");

  

jQuery("#"+commentcid).parent左边()右边.prev左边()右边.hide左边()右边;

  

}

  

*/

  

//_window.onload=function左边()右边{//js写法

  

//找到锚点

  

varcomment_cid=_window.location.hash.toString左边()右边;

  

varcommentcid=comment_cid.slice(1).toString左边()右边;

  

vartheNode=document.getElementById(commentcid);

  

if(theNode.hasChildNodes左边()右边){

  

if(theNode.childNodes.length==1){

  

//alert(theNode.firstChild.nodeType);

  

theNode.style.backgroundColor="#E6E6B8";

  

theNode.previousElementSibling.style.marginBottom="0px";

  

theNode.previousElementSibling.style.backgroundColor="#E6E6B8";

  

theNode.previousElementSibling.previousElementSibling.style.backgroundColor="#E6E6B8";

  

window.scrollTo(0,theNode.offsetTop+100);

  

returnfalse;

  

}

  

//获取第一个子节点

  

varfirst=theNode.children[0];

  

first.style.backgroundColor="#E6E6B8";

  

//获取父节点元素

  

varprent=theNode[xss_clean];

  

prent.style.display='block';

  

//前一个元素节点

  

varpre=prent.previousElementSibling;

  

pre.style.display='none';

  

}

  

//}

  

});

 

上一篇:上海交通大学自动化系复杂系统控制实验室2022年1月诚招1名博士后

下一篇:上海交通大学计算数学研究生专业在全国排第几

 

推荐资讯18321065021
最新资讯18321065021
热门资讯18321065021
热点资讯18321065021