爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
网页十字显现
网页十字显现
日期:2014-05-18 浏览次数:20216 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
要完成此效果需要两个步骤 第一步:把如下代码加入到<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 + "\",\"&q
上一篇:狡猾的按钮特效
下一篇:漂亮的文字链接特效
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
打车软件竞争白热化:有冷兵器时代意味
百度吴恩达:图像和音视频搜索是人工智能新方向
英特尔VS苹果:移动芯片大战
国网公司将加快组建 业界人士称困难重重
“合聚变”来了 UC优视确认并入阿里巴巴
搜狐与奇虎360或结盟对抗BAT
快递企业征收“份子钱” 成全了谁 苦了谁?
Twitter收购印度手机营销公司ZipDial
如家撤离同程内情:祸起反水OTA“联盟”?
推荐阅读
更多>
惠普董事长莱恩辞职 为巨额财务减记埋单
QQ空间与微信龟兔赛跑,商业生态链陷入死循环
苹果联合创始人炮轰鲍尔默“一直都在吃老本”
微软大幅调整Bing在华策略:从高大上到接地气
中移动推动感地带3G网聊卡 火拼微信沃卡
电话用户9月实名制:运营商监管受质疑
特斯拉将获上海免费牌照 充电桩面临双重标准
机器人进一步取代人类:将进军白领任务
扎克伯格华裔妻子首度亮相电视节目畅谈情史
微软与摩托罗拉授权协议涵盖Android和Chrome设备
神州电脑中止IPO面前:再被质疑财务造假
虚拟运营商前路迷茫 业界建议发力车联网
传搜狗估值12亿美元 与360谈判进入白热化
中移动一季度净利大降:手机补贴增长过快
弯曲变形:手机全新的交互方式
Kindle入华遭遇国内厂商“围剿 ” 电信也参战
阿里巴巴上市后雅虎将面临更大的业绩压力
微软张亚勤趋势判断:未来三十年属于物理化互联网
京东进驻微信一级入口或影响自身战略布局
腾讯再次重申:普通微信誉户相对不收费