document.writeln("<div class=\'footerLine\'></div>"); document.writeln("<div>主办单位:浙江省环境保护厅</div>"); document.writeln("<div>技术支持:浙江省环境信息中心</div>"); document.writeln("<div>浙ICP备05000553号 建议IE5.5,1024×768以上分辨率浏览本网站</div>"); document.writeln(""); document.writeln("<script>"); document.writeln(" window.onload=function(){"); document.writeln(" var iframe = $(\'#sh iframe\')[0];"); document.writeln(" if(iframe){"); document.writeln(" var reg1=/领导介绍/;"); document.writeln(" "); document.writeln(" var iframe_documet = iframe.contentDocument || iframe.contentWindow;"); document.writeln(" var val = window.location.search.replace(/.*=/,\'\');"); document.writeln(" "); document.writeln(" if(reg1.test($(\'#col1_name\').html())){"); document.writeln(" var scr = document.createElement(\'script\');"); document.writeln(" scr.innerHTML = \'funclick (\'A001A001B001\',\'orderid:1\');\';"); document.writeln(" iframe_documet.body.appendChild(scr);"); document.writeln(" }"); document.writeln(" if(val ==\'A001A001B001\'){"); document.writeln(" var scr = document.createElement(\'script\');"); document.writeln(" scr.innerHTML = \'funclickcustom(\'A001A001B001\',\'field_454947\');\';"); document.writeln(" iframe_documet.body.appendChild(scr);"); document.writeln(" }"); document.writeln(" if(val ==\'A001A001C001\'){"); document.writeln(" var scr = document.createElement(\'script\');"); document.writeln(" scr.innerHTML = \'funclick (\'A001A001C001\',\'orderid:1\');\';"); document.writeln(" iframe_documet.body.appendChild(scr);"); document.writeln(" }"); document.writeln(" if(val ==\'A001A001D001\'){"); document.writeln(" var scr = document.createElement(\'script\');"); document.writeln(" scr.innerHTML = \'funclick (\'A001A001D001\',\'orderid:1\');\';"); document.writeln(" iframe_documet.body.appendChild(scr);"); document.writeln(" }"); document.writeln(" var $a = $(iframe_documet).find(\'a:contains(\'领导介绍\')"); document.writeln(" if($a.length>0){"); document.writeln(" $a.attr(\'onclick\', \'funclickcustom(\'A001A001B001\',\'field_454947\')"); document.writeln(" }"); document.writeln(" var $a = $(iframe_documet).find(\'a:contains(\'内设机构\')"); document.writeln(" if($a.length>0){"); document.writeln(" $a.attr(\'onclick\', \'funclick (\'A001A001C001\',\'orderid:1\')"); document.writeln(" }"); document.writeln(" var $a = $(iframe_documet).find(\'a:contains(\'直属单位\')"); document.writeln(" if($a.length>0){"); document.writeln(" $a.attr(\'onclick\', \'funclick (\'A001A001D001\',\'orderid:1\')"); document.writeln(" }"); document.writeln(" }"); document.writeln(" };"); document.writeln("</script>"); |
|
来自: 昵称QAb6ICvc > 《网页制作》