点击空白处隐藏div层时间:2022-09-21 10:21:32<mce:script type="text/javascript"><!--var id=0function chk_broswer(){ if (navigator.appName.indexOf("Microsoft")!=-1) {return(true); } else{ return(false); }}function c(css){ie5menu.className=css;}function showmenuie5(idh){ event.cancelBubble = true id=idh ie5menu.style.left=document.body.scrollLeft+event.clientX ie5menu.style.top=document.body.scrollTop+event.clientY ie5menu.style.visibility="visible" return false}function hidemenuie5(){ie5menu.style.visibility="hidden"}function pop(win){window.open(win,'','')}function linkUI(urlstring){var str=urlstring+id//alert(act1)pop(str)}// --></mce:script><div id=ie5menu style="text-align: left;position: absolute; visibility: hidden; z-index: 200;padding:1px" mce_style="text-align: left;position: absolute; visibility: hidden; z-index: 200;padding:1px"><table><tr style="cursor:hand" mce_style="cursor:hand" onclick='linkUI("http://www.blueidea.com?id=")'><td>个人信息</td></tr><tr style="cursor:hand" mce_style="cursor:hand" onclick='linkUI("http://www.blueidea.com?id=")'><td>发送纸条</td></tr></table></div><SCRIPT language=JavaScript>if (document.all&&window.print){if(chk_broswer() == true){window.document.onclick = hidemenuie5;} else {window.onclick = hidemenuie5;}}</SCRIPT> <span onclick="showmenuie5(5)" style="cursor:hand" mce_style="cursor:hand">张张</span> 测试浏览器:ie8