跑步机经常光顾此页?请将 Google设为您的主页代码
function toueme(){ document.getElementById("toubiao").style.display="none"; addCookie('geekso','xiaolin',12); } function addCookie(objName,objValue,objHours) { var str = objName + "=" + escape(objValue); if(objHours > 0){ var date = new Date(); var ms = objHours*36*1000; date.setTime(date.getTime() + ms); str += "; expires=" + date.toGMTString(); } document.cookie = str; } function getCookie(objName) { var arrStr = document.cookie.split("; "); for(var i = 0;i < arrStr.length;i ++){ var temp = arrStr[i].split("="); if(temp[0] == objName) return unescape(temp[1]); } } function show_gg() { t = getCookie('geekso'); if (t != 'xiaolin') { document.getElementById("toubiao").style.display="block"; } } </SCRIPT> <DIV id=toubiao> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="30" align="center"> </td> <td width="26%"><b style="color:#FFF">经常光顾此页?请将 hangyezhishi.com 设为您的主页。</b></td> <td width="5%" align="center" style="background-image:url(img/shoucbg_.gif);"><b><a href="#1" style="color:#FFF" onclick=this.style.behavior="url(#default#homepage)";this.setHomePage("http://www.hangyezhishi.com");>好的</a></b></td> <td width="2%"> </td> <td width="7%"align="center" style="background-image:url(img/shoucbg_.gif);"><b><a style="color:#FFF" href="#1" onClick=toueme()>不用了</a></b></td> <td width="49%"> </td> <td width="7%" align="center"><a style="CURSOR: hand" onClick=toueme() href="#1"><img src="img/x.gif" width=10 height=10 hspace="6" border=0 title="关闭"></a></td> </tr> </table> </DIV> |
和【经常光顾此页?请将 Google设为您的主页代码】相关行业知识
你以下百科知识也感兴趣!