资料
表格
制度
合同
管理
职场
经营
创业
范文
总结
计划
作文
文章
美文
词句
教程
模板
图片
字体
图标
办公
人事
财务
生产
管理资源吧首页
>>>
教程
>>>
编程
>>>
JavaScript教程
>>>
左右两侧的广告代码 简单
<img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3CSCRIPT%3Efunction%20initEcAd(LName%2CRName)%20%7B%20%0D%0Adocument.all.NowAd_left.style.posTop%20%3D%20-200%3B%20%0D%0Adocument.all.NowAd_left.style.visibility%20%3D%20'visible'%3B%20%0D%0Adocument.all.NowAd_left.style.position%20%3D%20'absolute'%3B%20%0D%0Adocument.all.NowAd_right.style.posTop%20%3D%20-200%3B%20%0D%0Adocument.all.NowAd_right.style.visibility%20%3D%20'visible'%3B%20%0D%0Adocument.all.NowAd_right.style.position%20%3D%20'absolute'%3B%20%0D%0AMoveLeftLayer(LName)%3B%20%0D%0AMoveRightLayer(RName)%3B%20%0D%0A%7D%20%0D%0Afunction%20MoveLeftLayer(LName)%20%7B%20%0D%0Avar%20x%20%3D%205%3B%20%0D%0Avar%20y%20%3D%20165%3B%20%0D%0ALeftName%3DLName%3B%20%0D%0Aeval(%22var%20diff%20%3D%20(document.body.scrollTop%20%2B%20y%20-%20document.all.%22%20%2B%20LeftName%20%2B%20%22.style.posTop)*.40%22)%3B%20%0D%0Avar%20y%20%3D%20document.body.scrollTop%20%2B%20y%20-%20diff%3B%20%0D%0Aeval(%22document.all.%22%20%2B%20LeftName%20%2B%20%22.style.posTop%20%3D%20y%22)%3B%20%0D%0Aeval(%22document.all.%22%20%2B%20LeftName%20%2B%20%22.style.posLeft%20%3D%20x%22)%3B%20%0D%0AsetTimeout(%22MoveLeftLayer(LeftName)%3B%22%2C%2020)%3B%20%0D%0A%7D%20%0D%0Afunction%20MoveRightLayer(RName)%20%7B%20%0D%0Avar%20x%20%3D%205%3B%20%0D%0Avar%20y%20%3D%20165%3B%20%0D%0ARightName%3DRName%3B%20%0D%0Aeval(%22var%20diff%20%3D%20(document.body.scrollTop%20%2B%20y%20-%20document.all.%22%20%2B%20RightName%20%2B%20%22.style.posTop)*.40%22)%3B%20%0D%0Avar%20y%20%3D%20document.body.scrollTop%20%2B%20y%20-%20diff%3B%20%0D%0Aeval(%22document.all.%22%20%2B%20RightName%20%2B%20%22.style.posTop%20%3D%20y%22)%3B%20%0D%0Aeval(%22document.all.%22%20%2B%20RightName%20%2B%20%22.style.posRight%20%3D%20x%22)%3B%20%0D%0AsetTimeout(%22MoveRightLayer(RightName)%3B%22%2C%2020)%3B%20%0D%0A%7D%20%0D%0Adocument.write(%22%3Cspan%20id%3DNowAd_left%3E%3Ca%20href%3D'http%3A%2F%2Fpcqc.86516.com'%20target%3D'_blank'%3E%3Cimg%20src%3D'http%3A%2F%2Fpcqc.86516.com%2Fhuodong%2F0718%2Fzijia.gif'%20WIDTH%3D100%20HEIGHT%3D250%20border%3D0%3E%3C%2Fimg%3E%3C%2Fa%3E%3C%2Fspan%3E%22%20%0D%0A%20%2B%22%3Cspan%20id%3DNowAd_right%3E%3Ca%20href%3D'http%3A%2F%2Fpcqc.86516.com'%20target%3D'blank'%3E%3Cimg%20src%3D'http%3A%2F%2Fpcqc.86516.com%2Fhuodong%2F0718%2Fzijia.gif'%20WIDTH%3D100%20HEIGHT%3D250%20border%3D0%3E%3C%2Fimg%3E%3C%2Fa%3E%3C%2Fspan%3E%22)%3B%20%0D%0AinitEcAd(%22NowAd_left%22%2C%22NowAd_right%22)%3C%2FSCRIPT%3E">
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行
]
教程首页
更多教程