网站首页
关于深山
客户案例
业务范围
联系深山
网络投票系统
企业网站建设
旅行社网站建设
小程序
留言板
技术文章
许愿墙(qq爱墙)
技术首页
百度小程序开发
微信小程序开发
微信公众号开发
uni-app
asp函数库
ASP
asp.net
DIV+CSS
HTML
SEO搜索引擎忧化
下载类信息
个人空间
代码生成
电商
python
页面特效
表格特效
导航菜单
图形特效
表单特效
时间日期
色彩类别
链接特效
网页特效
系统硬件
网站公告
网页学习
技术类文章
网站类信息
订阅本栏目 RSS
您所在的位置:
深山工作室
>
链接特效
> 正文
网页链接十字显示就像CAD十字做标一样,效果非常好
中国站长站 2008/6/28 22:32:50 深山行者 字体:
大
中
小
浏览 6302
以下为详细代码
网页链接十字显示就像CAD十字做标一样,效果非常好 <!--要完成此效果需要两个步骤--> 第一步:把如下代码加入到<head>区域中--> <style type="text/css"> #leftright{ position:absolute; left:0; top:0; width:1px; height:1px; layer-background-color:black; background-color:#CC9900; z-index:100; font-size:0px; } #topdown { position:absolute; left:0; top:0; width:1px; height:1px; layer-background-color:black; background-color:#CC9900; z-index:100; font-size:0px; } a { color: #CC9900; text-decoration: none; cursor: default} a:hover { color: #FF0000; text-decoration: none; cursor: default} .article { BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FILTER: revealTrans(transition=23,duration=0.5) blendTrans(duration=0.5); POSITION: absolute; VISIBILITY: hidden ; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; color: #CC9900} </style> <SCRIPT> function high(which2){ theobject=which2 highlighting=setInterval("highlightit(theobject)",50) } function low(which2){ clearInterval(highlighting) which2.filters.alpha.opacity=40 } function highlightit(cur2){ if (cur2.filters.alpha.opacity<100) cur2.filters.alpha.opacity+=10 else if (window.highlighting) clearInterval(highlighting) } function navChange(formName, popupName, target) { var popup = document[formName].elements[popupName]; if (popup.options[popup.selectedIndex].value != "") { window.open(popup.options[popup.selectedIndex].value, target); popup.selectedIndex=0; } } function Show(divid) { divid.filters.revealTrans.apply(); divid.style.visibility = "visible"; divid.filters.revealTrans.play(); } function Hide(divid) { divid.filters.revealTrans.apply(); divid.style.visibility = "hidden"; divid.filters.revealTrans.play(); } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } </script> <script> function tmt_LayerSlider(targetNN, targetIE, x, y, step, delay) { var changed = false; if (document.layers) { target = eval(targetNN); if (eval(target.moving)) { clearTimeout(target.tmtSlide); } if (target.left > x) { target.left -= eval(step); changed = true; } if (target.left < x) { target.left += eval(step); changed = true; } if (target.top > y) { target.top -= eval(step); changed = true; } if (target.top < y) { target.top += eval(step); changed = true; } if (changed) { target.moving = true; target.tmtSlide = setTimeout("tmt_LayerSlider(\"" + targetNN + "\",\"" + targetIE + "\",\"" + x + "\",\"" + y + "\",\"" + step + "\",\"" + delay + "\")", delay); } else { target.moving = false; } } else { if (document.all) { IEobjStr = targetIE.replace("['", "."); target = eval(IEobjStr.replace("']", "")); if (eval(target.moving)) { clearTimeout(target.tmtSlide); } if (target.style.pixelLeft > x) { target.style.pixelLeft -= eval(step); changed = true; } if (target.style.pixelLeft < x) { target.style.pixelLeft += eval(step); changed = true; } if (target.style.pixelTop > y) { target.style.pixelTop -= eval(step); changed = true; } if (target.style.pixelTop < y) { target.style.pixelTop += eval(step); changed = true; } if (changed) { target.moving = true; target.tmtSlide = setTimeout("tmt_LayerSlider(\"" + targetNN + "\",\"" + targetIE + "\",\"" + x + "\",\"" + y + "\",\"" + step + "\",\"" + delay + "\")", delay); } else { target.moving = false; } } } } </script> <!--第二步:把如下代码加入到<body>区域中--> <div id="leftright" style="width:expression(document.body.clientWidth-2)"></div> <div id="topdown" style="height:expression(document.body.clientHeight-2)"></div> <div id="Layer1" style="position:absolute; left:328px; top:216px; width:50px; height:20px; z-index:101; visibility: hidden" class="article">010101101010101010100101010101010 </div> <div id="Layer2" style="position:absolute; left:328px; top:116px; width:50px; height:20px; z-index:102" class="article">10101110010110101010101010101</div> <p> </p> <p> </p> <p> </p> <table width="300" border="0" cellspacing="0" cellpadding="0" height="128"> <tr> <td height="50" align="right" class="my001"><a href="#" onMouseOut="tmt_LayerSlider('document.layers[\'leftright\']','document.all[\'leftright\']','0','0','22','50');tmt_LayerSlider('document.layers[\'topdown\']','document.all[\'topdown\']','0','0','32','50');Hide(Layer2)" onMouseOver="tmt_LayerSlider('document.layers[\'leftright\']','document.all[\'leftright\']','0','150','22','50');tmt_LayerSlider('document.layers[\'topdown\']','document.all[\'topdown\']','260','0','32','50');Show(Layer2)" class="my001" onFocus="if(this.blur)this.blur()">jojoo </a></td> </tr> <tr> <td height="120" align="right"><a href="#" onMouseOut="tmt_LayerSlider('document.layers[\'leftright\']','document.all[\'leftright\']','0','0','22','50');tmt_LayerSlider('document.layers[\'topdown\']','document.all[\'topdown\']','0','0','32','50');Hide(Layer1)" onMouseOver="tmt_LayerSlider('document.layers[\'leftright\']','document.all[\'leftright\']','0','223','22','50');tmt_LayerSlider('document.layers[\'topdown\']','document.all[\'topdown\']','260','0','32','50');Show(Layer1)" onFocus="if(this.blur)this.blur()">linlin </a></td> </tr> </table>
前一页:
设置个性的文字链接样式,集齐网页上常见的链接样式
后一页:
防止点击空链接时,页面往往重置到页首端
相关阅读
长春海外旅游有限责任公司
深山留言板警察出动效果
诸城市龙马假日旅行社
输入框提示列表效果
深山行者V1.2旅行社网站管理系统
超简洁版式留言板模板
购买系统多久可以安装?
asp获得当前文件的虚拟物理路径
更多信息>>
栏目类别选择
百度小程序开发
微信小程序开发
微信公众号开发
uni-app
asp函数库
ASP
DIV+CSS
HTML
python
更多>>
同类信息
a标签的javascript链接
网站内容中某个关键字相关右键菜单
利用锚点做纯CSS的图片展示效果
QQ邮箱文件中转站点击下载效果
Div+CSS+JS树型菜单,可刷新
淘宝产品首字母类别效果
更多>>
最新添加文章
dw里面查找替换使用正则删除sqlserver里面的CONSTRAINT
Android移动端自动化测试:使用UIAutomatorViewer与Selenium定位元素
抖音直播音挂载小雪花 懂车帝小程序
javascript获取浏览器指纹可以用来做投票
火狐Mozilla Firefox出现:无法载入您的Firefox配置文件 它可能已经丢失 或是无法访问 问题解决集合处理办法
在Android、iOS、Windows、MacOS中微信小程序的文件存放路径
python通过代码修改pip下载源让下载库飞起
python里面requests.post返回的res.text还有其它的吗
更多>>
随机抽取信息
连云港天天美食网
四川省旅者旅行社有限公司总部
防止网站内容被人小偷和采集的ASP代码
360500整站页面设计
山西万景国际旅行社晋中分公司
许愿墙页面设计完成,开始进行写相关的样式
更多标签
热门标签
maryabbsby
逗号
验证
font-size
电脑
数组
提交
cookies
skype
快捷键
搜索引擎
注册表
sql
V3.1
iframe
滚动条
放大
label
键盘
尺寸
位置
台历
关键字
翻转
csss
珍惜
上传
留言次数
字体
变幻
小偷
顶部
管理
图层
dd
自适应高度
文章
返回
Javascript实现CSS代码高亮显示1
强度
显示器
asasds
split
人生
按钮
替换
信息
框
innerHTML
dt
免责声明:本站所有资料信息,有部分为本人原创,部分为从网络收集而来,仅供网友查看阅读所用,所有信息版权归信息所有人或所有公司所有
如果信息内容侵犯到您的版权或权益请与我们联系,经确认后我们会立即移除相关内容或链接
Copyright © 2007-2026
深山工作室
All Rights Reserved
服务QQ:
565449214
手机:
13961347334
ICP备案:
苏ICP备15019627号
苏公网安备 32070502010230号