爱易网
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 浏览次数:20184 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
有什么问题请到<a href='/bbs/index.asp?boardid=2'>论坛</a>中发表<br> <!--# 特效来源:http://www.aiyiweb.com/js --> <!-- 把如下代码加入<body>区域中 --> <style> TD{ font-size: 9pt; color: #66DDDD} .out{ font-size: 9pt; color: #66DDDD;border-width:1px;border-style:solid;border-color:0090c0 0070b0 0070b0 0090c0;cursor:hand; background:0080c0; text-align: center} .out2 { text-align: center} .in,.out2{ font-size: 9pt; color: #66DDDD;border-width:1px;border-style:solid;border-color:0070b0 0090c0 0090c0 0070b0;background:0078b8;cursor:default} </style> <script> var temp_num = null; var now_num = null; var the_top = 127; //表单的最高,最低 var the_bottom = 146 var no_can_do = false; function Show_menu(u_num,d_num) { event.srcElement.className = "out2"; if(no_can_do) { return; } now_num = d_num; if(temp_num) { if(document.getElementById("menu_"+temp_num).doing) { clearInterval(document.getElementById("menu_"+temp_num).doing); } } else { temp_num = u_num; } document.getElementById("menu_"+temp_num).doing = setInterval("set_menu()",10); } function set_menu() { no_can_do = true; document.getElementById("form_"+temp_num).style.display = "none"; var if_move = document.getElementById("div_"+temp_num).style.pixelHeight - 6; if(if_move>1) { document.getElementById("div_"+temp_num).style.pixelHeight = if_move; } else { document.getElementById("div_"+temp_num).style.pixelHeight = 1; var if_stop = document.getElementById("menu_"+temp_num).style.pixelTop - 1; if(if_stop>the_top) { document.getElementById("menu_"+temp_num).style.pixelTop = if_stop; document.getElementById("menu_"+now_num).style.pixelTop += 1; } else { document.getElementById("menu_"+temp_num).style.pixelTop = the_top; document.getElementById("menu_"+now_num).style.pixelTop = the_bottom; var if_end = document.getElementById("div_"+now_num).style.pixelHeight + 6; if(if_end < 182) { document.getElementById("div_"+now_num).style.pixelHeight = if_end } else { document.getElementById("div_"+now_num).style.pixelHeight = 182; clearInterval(document.getElementById("menu_"+temp_num).doing); document.getElementById("menu_"+temp_num).doing = false; document.getElementById("form_"+now_num).style.display = "block"; temp_num = null; no_can_do = false; } } } } function returnIT() { event.srcElement.className = "out"; } </script> <div id="menu_0" style="position: absolute; top: 127; left: 176; width: 339; height: 201"> <table border="0" width="100%" style="background-color: #0080C0" cellspacing="0" cellpadding="0" height="19"> <tr> <td width="277" class="out" height="19" style="cursor: default"> </td> <td width="58" class="out" height="19" onmousedown="Show_menu(1,0)" onmouseup="returnIT()">老师登录</td> </tr> </table> <div id="div_0" style="position: relative; width: 339; height: 1; overflow: hidden"> <table border="0" width="100%" style="background-color: #0080C0" cellspacing="0" cellpadding="0" height="182"> <tr> <td width="100%" height="182"> <form id="form_0" style="position: relative; left:70; top:10;font-family: Arial; display: none" action="javascript:;" method="post" align="center"> 当前用户类型:老师 <br> <br> 用户: <input class="in" style="WIDTH: 100px" size="20"> mail.cn<br> 口令: <input class="in" type="password" size="20"><br> <br> <input class="out" onfocus="this.blur()" type="button" value="登录服务器"> </form> </td> </tr> </t
上一篇:狡猾的按钮特效
下一篇:限制两个选择框的值不能相同
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
谷歌董事长成花花公子:情史足以媲美涂鸦
奇虎360证明了“惟平台化才能生存”是谬论,中国互联网不能少了周鸿祎
阿里马云:我觉得互联网还有十年可以做
新一代iPhone11月底国内上市 支持TD制式
搜狐前副总编何毅加盟乐视 任车联网公司CEO
2018年阿里云双11活动如何参加?1折优惠大攻略
虚拟运营商们更像三大运营商的“二道贩子”
传运营商高层将变化 专家称需体制革新
任正非:喜马拉雅山的水为什么不能流入亚马逊河?
推荐阅读
更多>
巧用百度推行系统 突显竞价效果
网易云音乐能否为丁磊拿到移动互联网门票?
苹果优势逐渐丧失 传即将推出廉价iPhone
支付宝曝平安破绽:转账信息被谷歌抓取
史玉柱谈创业:5大建议 失败的教训最真实
智能手机:中国手机市场最受关注十五款产品清点
传三星为赢得新兴市场:推廉价版Note3
国内云服务商存在尴尬:“远程机房+移动大硬盘”模式
Kindle入华遭遇国内厂商“围剿 ” 电信也参战
从3G牌照发放看中国4G规划效果
互联网金融一周年:余额宝最接地气,比特币最作死
iOS7拖累iPad 5、iPad mini2发布 传十月份推出
特斯拉将获上海免费牌照 充电桩面临双重标准
华为美国推出电商网站 发售Mate 2LTE版
流浪汉高考状元终于找到工作:月薪3000做程序员很满意
NEC拟出售移动效劳子公司NEC Mobile
打车软件“明补变暗补”背后的小算盘
网络视频的几大趋势将成视频玩家躲不开的发力点
估值增长9.8% 阿里IPO前市值达2450亿美元
电信资费新政:三巨头压力大 短期降价仍有争议