>
设为首页
>
收藏本站
>
最新电影
首页
运营资讯
今日英语
图形图像
计算机技术
Asp编程
网站结构化
资源共享
休闲娱乐
访问新站
您现在的位置:
首页
=>
后台技术
=>
脚本特效
=>
菜单导航
订阅本栏目
带Form框说明的导航说明的导航
时间: 2007-10-03 18:49:21 阅读次数:1611
<html> <head> <title>网页特效|www.ffasp.com 飞飞Asp乐园|---带Form框说明的导航说明的导航</title> <style type="text/css"> <!-- body { font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 4px; margin-right: 0px} A { COLOR: black; FONT-SIZE: 13px; FONT-WEIGHT: 400; TEXT-DECORATION: none } A:hover { COLOR: red; FONT-SIZE: 13px; FONT-WEIGHT: 400; TEXT-DECORATION: underline } a:active { font: 9pt "宋体"; cursor: hand; color: #FF0033 } --></style> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <body> <br> <br> <center><font color=red face="隶书" size=6>带说明的导航</font></center> <br> <center> <table border=1 bordercolor=#000000 borderlight=green style="border-collapse: collapse" cellpadding="0" cellspacing="0"> <tr><td align=center><font size=5 color=red face="Arial, Helvetica, sans-serif"><strong>下面框中为脚本显示区</strong></font></td></tr> <tr><td align=center height=80> <script language="JavaScript"> <!-- function go_to_station(){ if (document.stationform.stationselect.options[0].selected){ window.location.href = "http://www.abctelevision.com";} else if (document.stationform.stationselect.options[1].selected) { window.location.href = "http://www.cbs.com";} else if (document.stationform.stationselect.options[2].selected) { window.location.href = "http://www.nbc.com";} else if (document.stationform.stationselect.options[3].selected) { window.location.href = "http://www.foxnetwork.com";} else if (document.stationform.stationselect.options[4].selected) { window.location.href = "http://www.filmzone.com/SpaceGhost/cartoonnet.html";} else if (document.stationform.stationselect.options[5].selected) { window.location.href = "http://www.discovery.com";} else if (document.stationform.stationselect.options[6].selected) { window.location.href = "http://www.cs.brandeis.com";} else if (document.stationform.stationselect.options[7].selected) { window.location.href = "http://www.qvc.com";} else if (document.stationform.stationselect.options[8].selected) { window.location.href = "http://www.historychannel.com";} else if (document.stationform.stationselect.options[9].selected) { window.location.href = "http://www.mtv.com";} else if (document.stationform.stationselect.options[10].selected) { window.location.href = "http://www.cnn.com";} else if (document.stationform.stationselect.options[11].selected) { window.location.href = "http://www.aetv.com";} else if (document.stationform.stationselect.options[12].selected) { window.location.href = "http://www.amctv.com";} else if (document.stationform.stationselect.options[13].selected) { window.location.href = "http://www.bravotv.com";} else if (document.stationform.stationselect.options[14].selected) { window.location.href = "http://www.c-span.org";} else if (document.stationform.stationselect.options[15].selected) { window.location.href = "http://www.comcentral.com";} else if (document.stationform.stationselect.options[16].selected) { window.location.href = "http://espnet.sportszone.com";} else if (document.stationform.stationselect.options[17].selected) { window.location.href = "http://www.fxnetworks.com";} else if (document.stationform.stationselect.options[18].selected) { window.location.href = "http://www.hbohomevideo.com";} else if (document.stationform.stationselect.options[19].selected) { window.location.href = "http://www.scifi.com";} else if (document.stationform.stationselect.options[20].selected) { window.location.href = "http://showtimeonline.com";} else if (document.stationform.stationselect.options[21].selected) { window.location.href = "http://vh1.com";} else if (document.stationform.stationselect.options[22].selected) { window.location.href = "http://www.weather.com";} else if (document.stationform.stationselect.options[23].selected) { window.location.href = "http://www.disneychannel.com";} return true; } function textValue(){ var stationInteger, stationString stationInteger=document.stationform.stationselect.selectedIndex stationString=document.stationform.stationselect.options[stationInteger].text document.stationform.stationtext.value = "Go to " + stationString +"!" } //--> </script> <form name="stationform"> <select name="stationselect" onChange="textValue()" multiple size="5"> <option>ABC <option>CBS <option>NBC <option>Fox <option>Cartoon Network <option>Discovery Channel <option>Warner Brothers Network <option>QVC <option>History Channel <option>MTV <option>CNN <option>A&E <option>American Movie Classics(AMC) <option>Bravo <option>C-SPAN <option>Comedy Central <option>ESPN <option>fX <option>HBO <option>Sci-Fi Channel <option>Showtime <option>VH-1 <option>Weather Channel <option>Disney Channel </select> <br><p> <input type="button" name="stationbutton" value="Go!" onClick="go_to_station()"> <p><font color=red>这里可以是中文说明</font><br> <input type="text" name="stationtext" value="" size="35" maxlength="35"> <p> </form> </td></tr></table></center> <br> <br> <center> <SCRIPT LANGUAGE="JavaScript"> <!-- hide function goHist(a) { history.go(a); } //--> </script> </center> <br> <center> <br> <br> </body> </html>
提示:您可以先修改部分代码再运行
站内搜索
:
标题
内容
下一篇
屏幕翻滚导航
上一篇
可以拖动的菜单
本栏目最新
栏目最新列表
使用jquery实现的简单下拉菜单(下拉框)效
简单的下拉菜单效果
div+css能在ie7/ie7/Firefox下运行的菜单导
同一个页面可以多次使用的选项卡
非常酷的菜单管理效果
网站优化策划
栏目最新列表
增加网站外链的快速方法
网站上线前必做的30个检查
新的友情链接参考标准(没有google的PR情况
优化Google的AdSense广告的五个工具
王通讲SEO八大基础
站点最新
站点最新列表
微博推广的一些技巧
xhEditor v1.1.7 发布,
收集的一些轻量级非常实
50个新鲜兼容最新版本的
javascript中cookie的设
Excel中出现#VALUE!、#D
jquery插件:飞飞表情插件
十个使用HTML5开发的精彩
支持HTML5的浏览器有哪些
飞妮莫属:漫画:如何写出
历史最热10条信息
MIME介绍 及
[
1
] [
2
] [
3
]
巧用Google和迅雷来下载
Transact SQL 常
[
1
] [
2
]
VIA Rhine II Fast Ethe
电脑常用端
[
1
] [
2
] [
3
]
Do you get a kick out
十道羊皮卷 欣赏+mp3版+
每日一句:A friend and
每日一句:Theres no tu
经典__悟透JavaScript
伟哥博客
西安房产
123最新电影
三四六四
关于站点
|
免责声明
|
联系站长
|
网站地图
|
陕ICP备07002804号
WEB技术QQ交流群:72840059
©2007 ffasp.com. 版权所有