爱易网
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 浏览次数:20261 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
要完成此效果把如下代码加入到<body>区域中 <script language="JavaScript"> <!-- function go_to_station(){ if (document.stationform.stationselect.options[0].selected){ window.location.href = "http://www.1.com";} else if (document.stationform.stationselect.options[1].selected) { window.location.href = "http://www.2.com";} else if (document.stationform.stationselect.options[2].selected) { window.location.href = "http://www.3.com";} else if (document.stationform.stationselect.options[3].selected) { window.location.href = "http://4.com";} else if (document.stationform.stationselect.options[4].selected) { window.location.href = "http://5.com";} else if (document.stationform.stationselect.options[5].selected) { window.location.href = "http://6.com";} else if (document.stationform.stationselect.options[6].selected) { window.location.href = "http://7.com";} else if (document.stationform.stationselect.options[7].selected) { window.location.href = "http://8.com";} return true; } //This is were you load the Discription and the Author function textValue(){ if (document.stationform.stationselect.options[0].selected){ document.stationform.disc.value = "这是一的内容" document.stationform.author.value = "【1】";} else if (document.stationform.stationselect.options[1].selected) { document.stationform.disc.value = "这是二的内容" document.stationform.author.value = "【2】";} else if (document.stationform.stationselect.options[2].selected) { document.stationform.disc.value = "这是三的内容" document.stationform.author.value = "【3】";} else if (document.stationform.stationselect.options[3].selected) { document.stationform.disc.value = "这是四的内容" document.stationform.author.value = "【4】";} else if (document.stationform.stationselect.options[4].selected) { document.stationform.disc.value = "这是五的内容" document.stationform.author.value = "【5】";} else if (document.stationform.stationselect.options[5].selected) { document.stationform.disc.value = "这是六的内容" document.stationform.author.value = "【6”】";} else if (document.stationform.stationselect.options[6].selected) { document.stationform.disc.value = "这是七的内容" document.stationform.author.value = "【7】";} else if (document.stationform.stationselect.options[7].selected) { document.stationform.disc.value = "这是八的内容" document.stationform.author.value = "【8】";} return true; } //--> </script> <form name="stationform"> <table align="center"> <TBODY> <tr> <td><select class="yk9" multiple name="stationselect" onchange="textValue()" size="8"> <option>站点一</option> <option>站点二</option> <option>站点三</option> <option>站点四</option> <option>站点五</option> <option>站点六</option> <option>站点七</option> <option>站点八</option
上一篇:狡猾的按钮特效
下一篇:页面内部导航
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
苹果音乐效劳新战略:与唱片商停止流媒体协作
苹果iWatch或使用量产液态金属 将取代玻璃
小米打响手机价格战 为米3铺路或另有所图
美图手机2问世 三大问题令其市场销量堪忧
史上最严电话实名制9月实行 三大难题待解
腾讯微信昨晚再现大规模故障 多地受到影响
地图导航骤起杀机 百度高德重新定义商业模式
神州电脑中止IPO面前:再被质疑财务造假
如家撤离同程内情:祸起反水OTA“联盟”?
推荐阅读
更多>
打车软件“明补变暗补”背后的小算盘
苏宁双线同价遇难题:第一个吃螃蟹不轻松
电信运营商员工涌入虚拟运营商,待遇差距多大?
估值增长9.8% 阿里IPO前市值达2450亿美元
Android应用审核乱象:诈骗软件冲上排行榜首
新浪微博推粉丝头条功能 意欲与大号分成
看蜗牛如何放水养鱼,盘活生态系统
电信业营改增今起实施 运营商短期利润骤降
虚拟运营商流量不清零吸引用户 盈利待明
云智慧:用大数据实现企业应用性能管理
苹果音乐效劳新战略:与唱片商停止流媒体协作
中国电信内外受困 去电信化思绪待改
马云自称在美国曾被绑票
银联布局二维码支付,“擦边球”生态不能自救
打车软件火了 恶性循环来了
苹果多色彩!葫芦里究竟卖的什么药
阿里马云:我觉得互联网还有十年可以做
快播灭了,还有西瓜:视频网站的灰色江湖还在
IT时代周刊总编辑曹健:投资人刘志硕印象记
中国首台比特币ATM登陆上海 可购买不可兑换现钞