推广 热搜: page  音视频  使用  个数  搜索引擎  选择  父亲  百度  企业  可以 

华为挑战爱疯(手机拍照应战贴)爱疯手机「华为挑战爱疯(手机拍照应战贴)」

   日期:2025-04-23     作者:x5bnw    caijiyuan   评论:0    移动:http://ww.kub2b.com/mobile/news/22736.html
核心提示:)
)<[^<]*)*cript>/gi; var text = html.replace(script_REGEX, ""); //正则替换为空 var arr = text.split('@'); if(arr[0] == '推荐成功') { //推荐成功提示 var num = parseInt($("#recommendcount").text()); $("#return_qcrecommend_690336").text(arr[0]); //推荐数加1 $("#recommendcount").text(num+1); //推荐人显示 if($("#recommendcount").text()=='') { $("#recommendtag").html("推荐人"); $("#recommendbody").html(arr[1]); } else { $("#recommendbody").append(arr[1]); } } }); //渲染分享代码 $("#shareblog").html('
'); //window.onload = function(){ //js写法 //找到锚点 var comment_cid = window.location.hash.toString(); var commentcid = comment_cid.slice(1).toString(); var theNode = 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); return false; } //获取第一个子节点 var first=theNode.children[0]; first.style.backgroundColor = "#E6E6B8"; //获取父节点元素 var prent = theNode.parentNode; prent.style.display = 'block'; //前一个元素节点 var pre = prent.previousElementSibling; pre.style.display = 'none'; } //} });
本文地址:http://ww.kub2b.com/news/22736.html     企库往 http://ww.kub2b.com/ ,  查看更多

特别提示:本信息由相关用户自行提供,真实性未证实,仅供参考。请谨慎采用,风险自负。

 
 
更多>同类最新文章
0相关评论

文章列表
相关文章
最新动态
推荐图文
最新文章
点击排行
网站首页  |  关于我们  |  联系方式  |  使用协议  |  版权隐私  |  网站地图  |  排名推广  |  广告服务  |  积分换礼  |  网站留言  |  RSS订阅  |  违规举报  |  鄂ICP备2020018471号