资料
表格
制度
合同
管理
职场
经营
创业
范文
总结
计划
作文
文章
美文
词句
教程
模板
图片
字体
图标
办公
人事
财务
生产
管理资源吧首页
>>>
教程
>>>
编程
>>>
JavaScript教程
>>>
点下网页的任意地方,都可到达指定页面的js代码
<img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20language%3Djavascript%3E%0D%0Avar%20Then%20%3D%20new%20Date()%3B%20%0D%0AThen.setTime(Then.getTime()%20%2B%2012*60*60*1000%20)%3B%20%2F%2F%E7%A7%92%E5%88%86%20%0D%0Avar%20cookieString%20%3D%20new%20String(document.cookie)%3B%20%0D%0Avar%20cookieHeader%20%3D%20%22POPWIN%22%20%3B%20%0D%0Avar%20beginPosition%20%3D%20cookieString.indexOf(cookieHeader)%3B%20%0D%0Aif%20(beginPosition%20%3D%3D%20-1)%20%0D%0A%7B%20%0D%0A%20%20%20%20var%20newtop%3D0%20%0D%0A%20%20%20%20var%20newleft%3D0%20%0D%0A%20%20%20%20if%20(navigator.appName%20%3D%3D%20%22Netscape%22)%20%7B%20%0D%0A%20%20%20%20%20%20%20%20layerStyleRef%3D%22layer.%22%3B%20%0D%0A%20%20%20%20%20%20%20%20layerRef%3D%22document.layers%22%3B%20%0D%0A%20%20%20%20%20%20%20%20styleSwitch%3D%22%22%3B%20%0D%0A%20%20%20%20%20%20%20%20%7D%20%0D%0A%20%20%20%20%20%20%20%20else%20%0D%0A%20%20%20%20%20%20%20%20%7B%20%0D%0A%20%20%20%20%20%20%20%20layerStyleRef%3D%22layer.style.%22%3B%20%0D%0A%20%20%20%20%20%20%20%20layerRef%3D%22document.all%22%3B%20%0D%0A%20%20%20%20%20%20%20%20styleSwitch%3D%22.style%22%3B%20%0D%0A%0D%0A%20%20%20%20%20%20%20%20%7D%20%0D%0A%20%20%20%20var%20autoclick_ok%3Dfalse%3B%20%0D%0A%20%20%20%20function%20toExit()%7B%20%0D%0A%20%20%20%20%20%20%20%20autoclick_ok%3Dtrue%3B%20%0D%0A%20%20%20%20%20%20%20%20document.cookie%20%3D%20%22Cookie9%3DPOPWIN%3Bexpires%3D%22%2B%20Then.toGMTString()%20%2B%22%3Bpath%3D%2F%22%3B%20%0D%0A%20%20%20%20%7D%20%0D%0A%0D%0A%20%20%20%20function%20doMouseMove()%20%7B%20%0D%0A%0D%0A%20%20%20%20%20%20%20%20layerName%20%3D%20'iit'%20%0D%0A%20%20%20%20%20%20%20%20eval('var%20curElement%3D'%2BlayerRef%2B'%5B%22'%2BlayerName%2B'%22%5D')%20%0D%0A%20%20%20%20%20%20%20%20eval(layerRef%2B'%5B%22'%2BlayerName%2B'%22%5D'%2BstyleSwitch%2B'.visibility%3D%22hidden%22')%20%0D%0A%20%20%20%20%20%20%20%20%20%0D%0A%20%20%20%20%20%20%20%20if(!autoclick_ok)%20%0D%0A%20%20%20%20%20%20%20%20%7B%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20eval('curElement'%2BstyleSwitch%2B'.visibility%3D%22visible%22')%20%0D%0A%20%20%20%20%20%20%20%20%7Delse%7B%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20eval('curElement'%2BstyleSwitch%2B'.visibility%3D%22hidden%22')%20%0D%0A%20%20%20%20%20%20%20%20%7D%20%0D%0A%20%20%20%20%20%20%20%20%20%0D%0A%20%20%20%20%20%20%20%20eval('newleft%3Ddocument.body.clientWidth-curElement'%2BstyleSwitch%2B'.pixelWidth')%20%0D%0A%20%20%20%20%20%20%20%20eval('newtop%3Ddocument.body.clientHeight-curElement'%2BstyleSwitch%2B'.pixelHeight')%20%0D%0A%20%20%20%20%20%20%20%20eval('height%3DcurElement'%2BstyleSwitch%2B'.height')%20%0D%0A%20%20%20%20%20%20%20%20eval('width%3DcurElement'%2BstyleSwitch%2B'.width')%20%0D%0A%20%20%20%20%20%20%20%20width%3DparseInt(width)%20%0D%0A%20%20%20%20%20%20%20%20height%3DparseInt(height)%20%0D%0A%20%20%20%20%20%20%20%20if%20(event.clientX%20%3E%20(document.body.clientWidth%20-%2010%20-%20width))%20%0D%0A%20%20%20%20%20%20%20%20%7B%20%0D%0A%20%20%20%20%20%20%20%20newleft%3Ddocument.body.clientWidth%20%2B%20document.body.scrollLeft%20-%2010%20-%20width%20%0D%0A%20%20%20%20%20%20%20%20%7D%20%0D%0A%20%20%20%20%20%20%20%20else%20%0D%0A%20%20%20%20%20%20%20%20%7B%20%0D%0A%20%20%20%20%20%20%20%20newleft%3Ddocument.body.scrollLeft%20%2B%20event.clientX-10%20%0D%0A%20%20%20%20%20%20%20%20%7D%20%0D%0A%20%20%20%20%20%20%20%20eval('curElement'%2BstyleSwitch%2B'.pixelLeft%3Dnewleft')%20%0D%0A%0D%0A%20%20%20%20%20%20%20%20if%20(event.clientY%20%3E%20(document.body.clientHeight%20-%205%20-%20height))%20%0D%0A%20%20%20%20%20%20%20%20%7B%20%0D%0A%20%20%20%20%20%20%20%20newtop%3Ddocument.body.clientHeight%20%2B%20document.body.scrollTop%20-%205%20-%20height%20%0D%0A%20%20%20%20%20%20%20%20%7D%20%0D%0A%20%20%20%20%20%20%20%20else%20%0D%0A%20%20%20%20%20%20%20%20%7B%20%0D%0A%20%20%20%20%20%20%20%20newtop%3Ddocument.body.scrollTop%20%2B%20event.clientY-10%20%0D%0A%20%20%20%20%20%20%20%20%7D%20%0D%0A%20%20%20%20%20%20%20%20eval('curElement'%2BstyleSwitch%2B'.pixelTop%3Dnewtop')%20%0D%0A%7D%20%0D%0A%0D%0A%20%20%20%20document.onmousemove%20%3D%20doMouseMove%3B%20%0D%0A%0D%0A%20%20%20%20if%20(navigator.appName%20%3D%3D%20%22Netscape%22)%20%7B%20%0D%0A%0D%0A%20%20%20%20%7D%20%0D%0A%20%20%20%20else%20%0D%0A%20%20%20%20%7B%20%0D%0A%20%20%20%20%20%20%20%20document.write('%3Cdiv%20ID%3DOuterDiv%3E')%20%0D%0A%20%20%20%20%20%20%20%20document.write('%3Ca%20href%3D%22http%3A%2F%2Fwww.glzy8.com%22%20target%3D%22_blank%22%3E%3Cimg%20ID%3Diit%20src%3D%22http%3A%2F%2Fwww.glzy8.com%2Fimages%2Fclick.gif%22%20%20STYLE%3D%22position%3Aabsolute%3BTOP%3A0pt%3BLEFT%3A0pt%3Bwidth%3D103%3Bheight%3D28%3BZ-INDEX%3A99%3Bvisibility%3Ahidden%3B%22%20border%3D%220%22%20onclick%3D%22toExit()%22%3E%3C%2Fa%3E')%20%0D%0A%20%20%20%20%20%20%20%20document.write('%3C%2Fdiv%3E')%20%0D%0A%20%20%20%20%7D%20%0D%0A%7D%0D%0A%3C%2Fscript%3E">
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行
]
教程首页
更多教程