资料
表格
制度
合同
管理
职场
经营
创业
范文
总结
计划
作文
文章
美文
词句
教程
模板
图片
字体
图标
办公
人事
财务
生产
管理资源吧首页
>>>
教程
>>>
编程
>>>
JavaScript教程
>>>
对联广告
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>对联广告 - 51windows.Net</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <body style="margin:0px;"> <div align="center"> <center> <table border="1" width="776" height="3000" cellspacing="0" cellpadding="0"> <tr> <td width="100%" valign="top"><div align="center" style="color:green;font-size:23pt;font-family:黑体;"><br><br>页<br>面<br>区<br>域</div></td> </tr> </table> </center> </div> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3CSCRIPT%20LANGUAGE%3D%22JavaScript%22%3E%20%0D%0A%3C!--%20%0D%0Avar%20showad%20%3D%20true%3B%20%0D%0Avar%20Toppx%20%3D%2060%3B%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%E4%B8%8A%E7%AB%AF%E4%BD%8D%E7%BD%AE%20%0D%0Avar%20AdDivW%20%3D%20100%3B%20%20%20%20%20%20%20%20%2F%2F%E5%AE%BD%E5%BA%A6%20%0D%0Avar%20AdDivH%20%3D%20360%3B%20%20%20%20%20%20%20%20%2F%2F%E9%AB%98%E5%BA%A6%20%0D%0Avar%20PageWidth%20%3D%20800%3B%20%20%20%20%2F%2F%E9%A1%B5%E9%9D%A2%E5%A4%9A%E5%B0%91%E5%AE%BD%E5%BA%A6%E8%B1%A1%E7%B4%A0%E4%B8%8B%E6%AD%A3%E5%A5%BD%E4%B8%8D%E5%87%BA%E7%8E%B0%E5%B7%A6%E5%8F%B3%E6%BB%9A%E5%8A%A8%E6%9D%A1%20%0D%0Avar%20MinScreenW%20%3D%201024%3B%20%20%20%20%2F%2F%E6%98%BE%E7%A4%BA%E5%B9%BF%E5%91%8A%E7%9A%84%E6%9C%80%E5%B0%8F%E5%B1%8F%E5%B9%95%E5%AE%BD%E5%BA%A6%E8%B1%A1%E7%B4%A0%20%0D%0A%0D%0Avar%20ClosebuttonHtml%20%3D%20'%3Cdiv%20align%3D%22right%22%20style%3D%22position%3A%20absolute%3Btop%3A0px%3Bright%3A0px%3Bmargin%3A2px%3Bpadding%3A2px%3Bz-index%3A2000%3B%22%3E%3Ca%20href%3D%22javascript%3A%3B%22%20onclick%3D%22hidead()%22%20style%3D%22color%3Ared%3Btext-decoration%3Anone%3Bfont-size%3A12px%3B%22%3E%E5%85%B3%E9%97%AD%3C%2Fa%3E%3C%2Fdiv%3E'%20%0D%0Avar%20AdContentHtml%20%3D%20'%3Cdiv%20align%3D%22center%22%20style%3D%22color%3Agreen%3Bfont-size%3A23pt%3Bfont-family%3A%E9%BB%91%E4%BD%93%3B%22%3E%3Cbr%3E%3Cbr%3E%E5%B9%BF%3Cbr%3E%E5%91%8A%3Cbr%3E%E5%86%85%3Cbr%3E%E5%AE%B9%3C%2Fdiv%3E'%3B%20%0D%0Adocument.write%20('%3Cdiv%20id%3D%22Javascript.LeftDiv%22%20style%3D%22position%3A%20absolute%3Bborder%3A%201px%20solid%20%23336699%3Bbackground-color%3A%23EEEEE2%3Bz-index%3A1000%3Bwidth%3A'%2BAdDivW%2B'px%3Bheight%3A'%2BAdDivH%2B'px%3Btop%3A-1000px%3Bword-break%3Abreak-all%3Bdisplay%3Anone%3B%22%3E'%2BClosebuttonHtml%2B'%3Cdiv%3E'%2BAdContentHtml%2B'%3C%2Fdiv%3E%3C%2Fdiv%3E')%3B%20%0D%0Adocument.write%20('%3Cdiv%20id%3D%22Javascript.RightDiv%22%20style%3D%22position%3A%20absolute%3Bborder%3A%201px%20solid%20%23336699%3Bbackground-color%3A%23EEEEE2%3Bz-index%3A1000%3Bwidth%3A'%2BAdDivW%2B'px%3Bheight%3A'%2BAdDivH%2B'px%3Btop%3A-1000px%3Bword-break%3Abreak-all%3Bdisplay%3Anone%3B%22%3E'%2BClosebuttonHtml%2B'%3Cdiv%3E'%2BAdContentHtml%2B'%3C%2Fdiv%3E%3C%2Fdiv%3E')%3B%20%0D%0Afunction%20scall()%7B%20%0D%0A%20%20%20%20if(!showad)%7Breturn%3B%7D%20%0D%0A%20%20%20%20if%20(window.screen.width%3CMinScreenW)%7B%20%0D%0A%20%20%20%20%20%20%20%20alert(%22%E4%B8%B4%E6%97%B6%E6%8F%90%E7%A4%BA%EF%BC%9A%5Cn%5Cn%E6%98%BE%E7%A4%BA%E5%99%A8%E5%88%86%E8%BE%A8%E7%8E%87%E5%AE%BD%E5%BA%A6%E5%B0%8F%E4%BA%8E%22%2BMinScreenW%2B%22%2C%E4%B8%8D%E6%98%BE%E7%A4%BA%E5%B9%BF%E5%91%8A%22)%3B%20%0D%0A%20%20%20%20%20%20%20%20showad%20%3D%20false%3B%20%0D%0A%20%20%20%20%20%20%20%20document.getElementById(%22Javascript.LeftDiv%22).style.display%3D%22none%22%3B%20%0D%0A%20%20%20%20%20%20%20%20document.getElementById(%22Javascript.RightDiv%22).style.display%3D%22none%22%3B%20%0D%0A%20%20%20%20%20%20%20%20return%3B%20%0D%0A%20%20%20%20%7D%20%0D%0A%20%20%20%20var%20Borderpx%20%3D%20((window.screen.width-PageWidth)%2F2-AdDivW)%2F2%3B%20%0D%0A%0D%0A%20%20%20%20document.getElementById(%22Javascript.LeftDiv%22).style.display%3D%22%22%3B%20%0D%0A%20%20%20%20document.getElementById(%22Javascript.LeftDiv%22).style.top%3D(document.documentElement.scrollTop%2BToppx)%2B%22px%22%3B%20%0D%0A%20%20%20%20document.getElementById(%22Javascript.LeftDiv%22).style.left%3D(document.documentElement.scrollLeft%2BBorderpx)%2B%22px%22%3B%20%0D%0A%20%20%20%20document.getElementById(%22Javascript.RightDiv%22).style.display%3D%22%22%3B%20%0D%0A%20%20%20%20document.getElementById(%22Javascript.RightDiv%22).style.top%3D(document.documentElement.scrollTop%2BToppx)%2B%22px%22%3B%20%0D%0A%20%20%20%20document.getElementById(%22Javascript.RightDiv%22).style.left%3D(document.documentElement.scrollLeft%2Bdocument.documentElement.clientWidth-document.getElementById(%22Javascript.RightDiv%22).offsetWidth-Borderpx)%2B%22px%22%3B%20%0D%0A%7D%20%0D%0A%0D%0Afunction%20hidead()%20%0D%0A%7B%20%0D%0A%20%20%20%20showad%20%3D%20false%3B%20%0D%0A%20%20%20%20document.getElementById(%22Javascript.LeftDiv%22).style.display%3D%22none%22%3B%20%0D%0A%20%20%20%20document.getElementById(%22Javascript.RightDiv%22).style.display%3D%22none%22%3B%20%0D%0A%7D%20%0D%0Awindow.onscroll%3Dscall%3B%20%0D%0Awindow.onresize%3Dscall%3B%20%0D%0Awindow.onload%3Dscall%3B%20%0D%0A%2F%2F--%3E%20%0D%0A%3C%2FSCRIPT%3E"> </body> </html>
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行
]
教程首页
更多教程