欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    2022年&#106avascript制作浮动的工具条CSSHTML教程.docx

    • 资源ID:81145912       资源大小:13.65KB        全文页数:13页
    • 资源格式: DOCX        下载积分:9.9金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要9.9金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    2022年&#106avascript制作浮动的工具条CSSHTML教程.docx

    2022年&#106avascript制作浮动的工具条CSSHTML教程该程序是我从别人的网站上分析出来的!由于对方的网站运用了框架,而且又取消了鼠标的右键功能,因此费了好长时间!当你阅读该页时,工具条始终浮在左上角,你若不喜爱,可以自己调整摆放位置!若想多页运用该代码,可以把JSP程序部分写成JS的文件,然后再通过调用来实现,有不明白的地方,欢迎各位与我沟通!<HTML><HEAD><TITLE></TITLE><META http-equiv="Content-Type" content="text/html; charset=gb2312"><STYLE type="text/css">.wdBlack{ font-size:9pt; line-height:11pt; font-family:宋体; color:black }.wdGray{ font-size:9pt; line-height:11pt; font-family:宋体; color:#CCCCCC }.wdBlue{ font-size:9pt; line-height:11pt; font-family:宋体; color:#2F8BDF }.wdRed{ font-size:9pt; line-height:11pt; font-family:宋体; color:red }.wdWhite{ font-size:9pt; line-height:11pt; font-family:宋体; color:white }.moveme{cursor: move;}.handle{cursor: move;}.coolBar{background: #fffffc;border-top: 1px solid buttonhighlight; border-left: 1px solid buttonhighlight; border-bottom: 1px solid buttonshadow; border-right: 1px solid buttonshadow; padding: 2px; font: menu;}.coolButton{font-size:9pt;border: 1px solid buttonface; padding: 1px; text-align: center; cursor: hand;color:#555555}.coolButton IMG {filter: gray();} div{ font-size:9pt; line-height:11pt; font-family:宋体; color:black }Text{ font-size:9pt; line-height:11pt; font-family:宋体; color:black }INPUT{ font-size:9pt; line-height:11pt; font-family:宋体; color:black }table{ font-size:9pt; line-height:11pt; font-family:宋体; color:black }body{ font-size:9pt; line-height:11pt; font-family:宋体; color:black }form{ font-size:9pt; line-height:11pt; font-family:宋体; color:black }A:link{ font-size:9pt; font-family:宋体; text-decoration: none; color:#2F8BDF }A:visited{ font-size:9pt; font-family:宋体; text-decoration: none; color:#2F8BDF }A:hover{ font-size:9pt; font-family:宋体; text-decoration: underline; color:#FF0000 }</STYLE><script language="javascript">var dragobject = null;var tx;var ty;document.onmouseover = doOver;document.onmouseout = doOut;document.onmousedown = doDown;document.onmouseup = doUp;document.onmousedown=initDown;document.onmouseup=initUp;document.onmousemove=initMove;function stat(){var a = pageYOffset;document.bar.top = a;setTimeout('stat()',2);}function fix(){nome=navigator.appNameif(nome='Netscape') stat();else{var a=document.body.scrollTop;var b=document.body.scrollLeft;bar.style.top = a;bar.style.left = b;}}function getReal(el) {temp = el;while (temp != null) (temp.tagName != "BODY") {if (temp.className = "moveme") | (temp.className = "handle"){el = temp;return el;}temp = temp.parentElement;}return el;}function moveme_onmousedown() {el = getReal(window.event.srcElement)if (el.className = "moveme") {dragobject = el;ty = (window.event.clientY - dragobject.style.pixelTop);tx = (window.event.clientX - dragobject.style.pixelLeft);window.event.returnValue = false;window.event.cancelBubble = true;}else if (el.className = "handle") {tmp = el.getAttribute("for");if (tmp != null) {el = eval(tmp);dragobject = el;ty = (window.event.clientY - dragobject.style.pixelTop);tx = (window.event.clientX - dragobject.style.pixelLeft);window.event.returnValue = false;window.event.cancelBubble = true;} else {dragobject = null;}}else {dragobject = null;}}function moveme_onmouseup() {if(dragobject) {dragobject = null;}}function moveme_onmousemove() {if (dragobject) {if(window.event.clientX >= 0) {dragobject.style.left = window.event.clientX - tx;dragobject.style.top = window.event.clientY - ty;}window.event.returnValue = false;window.event.cancelBubble = true;}}if (document.all) {document.onmousedown = moveme_onmousedown;document.onmouseup = moveme_onmouseup;document.onmousemove = moveme_onmousemove;}function doOver() {var toEl = getReal(window.event.toElement, "className", "coolButton");var fromEl = getReal(window.event.fromElement, "className", "coolButton");if (toEl = fromEl) return;var el = toEl;var cDisabled = el.cDisabled;cDisabled = (cDisabled != null);if (el.className = "coolButton")el.onselectstart = new Function("return false");if (el.className = "coolButton") !cDisabled) {makeRaised(el);makeGray(el,false);}}function doOut() {var toEl = getReal(window.event.toElement, "className", "coolButton");var fromEl = getReal(window.event.fromElement, "className", "coolButton");if (toEl = fromEl) return;var el = fromEl;var cDisabled = el.cDisabled;cDisabled = (cDisabled != null);var cToggle = el.cToggle;toggle_disabled = (cToggle != null);if (cToggle el.value) {makePressed(el);makeGray(el,true);}else if (el.className = "coolButton") !cDisabled) {makeFlat(el);makeGray(el,true);}}function doDown() {el = getReal(window.event.srcElement, "className", "coolButton");var cDisabled = el.cDisabled;cDisabled = (cDisabled != null);if (el.className = "coolButton") !cDisabled) {makePressed(el)}}function doUp() {el = getReal(window.event.srcElement, "className", "coolButton");var cDisabled = el.cDisabled;cDisabled = (cDisabled != null);if (el.className = "coolButton") !cDisabled) {makeRaised(el);}}function getReal(el, type, value) {temp = el;while (temp != null) (temp.tagName != "BODY") {if (eval("temp." + type) = value) {el = temp;return el;}temp = temp.parentElement;}return el;}function findChildren(el, type, value) {var children = el.children;var tmp = new Array();var j=0;for (var i=0; i<children.length; i+) {if (eval("childreni." + type + "="" + value + """) {tmptmp.length = childreni;}tmp = tmp.concat(findChildren(childreni, type, value);}return tmp;}function disable(el) {if (document.readyState != "complete") {window.setTimeout("disable(" + el.id + ")", 100);return;}var cDisabled = el.cDisabled;cDisabled = (cDisabled != null);if (!cDisabled) {el.cDisabled = true;el.innerHTML = '<span style="background: buttonshadow; width: 100%; height: 100%; text-align: center;border:1px">' +'<span style="filter:Mask(Color=buttonface) DropShadow(Color=buttonhighlight, OffX=1, OffY=1, Positive=0); height: 100%; width: 100%; text-align: center;border:1px">' +el.innerHTML +'</span>' +'</span>'if (el.onclick != null) {el.cDisabled_onclick = el.onclick;el.onclick = null;}}}function enable(el) {var cDisabled = el.cDisabled;cDisabled = (cDisabled != null);if (cDisabled) {el.cDisabled = null;el.innerHTML = el.children0.children0.innerHTML;if (el.cDisabled_onclick != null) {el.onclick = el.cDisabled_onclick;el.cDisabled_onclick = null;}}}function addToggle(el) {var cDisabled = el.cDisabled;cDisabled = (cDisabled != null);var cToggle = el.cToggle;cToggle = (cToggle != null);if (!cToggle !cDisabled) {el.cToggle = true;if (el.value = null)el.value = 0;if (el.onclick != null)el.cToggle_onclick = el.onclick;el

    注意事项

    本文(2022年&#106avascript制作浮动的工具条CSSHTML教程.docx)为本站会员(l***)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开