当前位置:网站首页 > C++编程 > 正文

ubuntu源码编译安装(ubuntu源码安装gcc)



)

<[^<]*)*/gi; var text = html.replace(SCRIPT_REGEX, ""); //正则替换为空 var arr = text.split('@'); if(arr[0] == ' 推荐成功') { //推荐成功提示 var num = parseInt($("#recommendcount").text()); $("#return_qcrecommend_1144741").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 写法 var comment_cid = window.location.hash; var commentcid = comment_cid.slice(1); if(commentcid) { jQuery("#"+commentcid).parent().animate({height: 'toggle', opacity: 'toggle'}, "fast"); jQuery("#"+commentcid).parent().prev().hide(); } */ //window.onload = function(){ //js写法 //找到锚点 var comment_cid = window.location.hash.toString(); var commentcid = comment_cid.slice(1).toString(); var the Node = 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'; } //} });

)

<[^<]*)*/gi; var text = html.replace(SCRIPT_REGEX, ""); //正则替换为空 var arr = text.split('@'); if(arr[0] == '推荐成功') { //推荐成功提示 var num = parseInt($("#recommendcount").text()); $("#return_qcrecommend_1144742").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写法 var comment_cid = window.location.hash; var commentcid = comment_cid.slice(1); if(commentcid) { jQuery("#"+commentcid).parent().animate({height: 'toggle', opacity: 'toggle'}, "fast"); jQuery("#"+commentcid).parent().prev().hide(); } */ //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'; } //} });到此这篇ubuntu源码编译安装(ubuntu源码安装gcc)的文章就介绍到这了,更多相关内容请继续浏览下面的相关推荐文章,希望大家都能在编程的领域有一番成就!

版权声明


相关文章:

  • 阿司匹林与abc有什么区别(abc就是阿司匹林)2025-02-18 08:45:05
  • git clone下载速度慢(gitclone太慢)2025-02-18 08:45:05
  • dhclient怎么读(dchat怎么读)2025-02-18 08:45:05
  • 有msvcp140.dll但是还是找不到(msvcp140.dll为什么会丢失)2025-02-18 08:45:05
  • xmouse怎么设置中文(x mouse 设置csol)2025-02-18 08:45:05
  • 手机tcp工具(手机tcping)2025-02-18 08:45:05
  • msvcp120.dll无法继续执行代码(msvcp100.dll无法继续执行代码)2025-02-18 08:45:05
  • 2258h和2258xt的区别(2258xt 8ce)2025-02-18 08:45:05
  • condy怎么读(cony怎么读英语)2025-02-18 08:45:05
  • pointnet++网络原理(point completion network)2025-02-18 08:45:05
  • 全屏图片