想要带孩子出去留学,北京三大移民公司哪家最好好呀?


收藏
IP: 1.89.181.*
热度
');
/* 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';
}
//}
});
扫一扫,分享此博文
返回顶部
}

我要回帖

更多关于 移民公司哪家最好 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信