资源预览内容
第1页 / 共8页
第2页 / 共8页
第3页 / 共8页
第4页 / 共8页
第5页 / 共8页
第6页 / 共8页
第7页 / 共8页
第8页 / 共8页
亲,该文档总共8页全部预览完了,如果喜欢就下载吧!
资源描述
文档供参考,可复制、编制,期待您的好评与关注! 无标题页 / JavaScript Document /core-DOMfunction showPic(whichPic) if(!whichPic.getAttribute) return false;if(!document.getElementById(imageHolder) return true; var picPath = whichPic.getAttribute(href); var imgHolder = document.getElementById(imageHolder); imgHolder.src = picPath;return false;/HTML-DOMfunction prepare()if(!document.getElementsByTagName) return false;if(!document.getElementById) return false;var links=document.getElementsByTagName(a);for(i=0;igetViewportWidth()/2) x=x-document.getElementById(toolTipLasyer).offsetWidth-2*offsetX; if(y+document.getElementById(toolTipLayer).offsetHeight+offsetY)getViewportHeight() y=getViewportHeight()-document.getElementById(toolTipLayer).offsetHeight-offsetY; toolTipSTYLE.left=(x+offsetX)+px; toolTipSTYLE.top=(y+offsetY)+px; return true; function toolTip(msg, fg, bg)try if(toolTip.arguments.length1) /toolTip.arguments会自动获取参数值 toolTipSTYLE.display=none; /经测试,FF对于滤镜不支持 /*document.getElementById(msg1).filters1.Apply(); document.getElementById(msg1).filters2.Apply(); document.getElementById(msg1).filters0.opacity=0; document.getElementById(msg1).filters1.Play(); document.getElementById(msg1).filters2.Play(); if (document.getElementById(msg1).filters1.status=1 | document.getElementById(msg1).filters1.status=0) toolTipSTYLE.display = none; if (document.getElementById(msg1).filters2.status=1 | document.getElementById(msg1).filters2.status=0) toolTipSTYLE.display = none;*/ else fg = #777777; bg = #eeeeee; var content =+msg+;/插入table表单if(ns6) /createShowPlace2(msg); document.getElementById(toolTip
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号