爱易网
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 浏览次数:20125 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
要完成此效果需要两个步骤 第一步:把如下代码加入到<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
上一篇:狡猾的按钮特效
下一篇:漂亮的文字链接特效
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
史玉柱卸任巨人网络CEO 继位人选引猜想
淘宝公布新规:升级售假卖家惩罚力度
这一次,微软将带给我们什么惊喜?
中国手游总裁及8名高管集体下岗,被指涉不当交易
传陌陌或12月赴美IPO 估值约30亿美元
地图导航骤起杀机 百度高德重新定义商业模式
十亿美元的告别礼:三星为何要大举重组?
从旗下三大业务BG发展看华为的过去现在和未来
高通反垄断案下月有望落定
推荐阅读
更多>
网易微博将正式关闭 用户迁至轻博客LOFTER
郭美美事件推手被抓 “秦火火”拷问网络底线
阿里巴巴上市后雅虎将面临更大的业绩压力
墨迹天气:产品创新以攻为守方能对抗巨头
“论文查重”网店一月收入竟过百万
中移动五大基地将整改成公司:被指易滋生腐败
组建铁塔公司倒逼运营商改革 或加速4G网建设
微软最后的救命稻草Win 8份额继续上升
任正非:喜马拉雅山的水为什么不能流入亚马逊河?
小米年度发布会遭围剿!多款新品难阻品牌危机
苹果CEO抱歉解读:是战略而非“屈服”
京东很忙:升服务推产品更新招股书 能赶在阿里前上市?
创维冲击500亿梦想:转型硬件和内容供应商
国内云服务商存在尴尬:“远程机房+移动大硬盘”模式
湘鄂情剥离餐饮业务进军大数据的底气在哪里?
三星起诉LG在冰箱广告中玷污其企业笼统
挂号网高管团体离任 或因投资人失掉决计
优酷土豆兼并一年:依然处于烧钱形状
为啥苹果定要出廉价iPhone?都是安卓逼的
喜大普奔:2016年国内乘客有望在飞机上使用手机