当前位置: 首页 > 图文教程 > 网络编程 > ASP > 友情连接浏览器

ASP
ASP实例代码:搞个长文章分页代码
说说对象的复制
多个函数验证同一表单
查询某个字段没有值的所有记录的SQL语句怎么写?
ASP实例:一个简单的ASP无组件上传类
ASP实例讲解:用分页符实现长文章分页显示
ASP实例:动态网页中常用的6个ASP程序
ASP实例:词语搭配游戏的制作
ASP实例学习:随机生成文件名的函数
asp实例:测试WEB服务器
ASP实例:计数器程序详解
预防ASP网站被黑 彻底了解ASP木马
分享:XML HTTP Request的属性和方法简介
ASP架设:给每个IIS站点建立一个用户
ASP技巧:判断远程图片是否存在
故障解决:解决ASP脚本运行超时的方法
再说ASP输出N行N列表格
怎么判断一个对象是否已被释放
ASP实现网页打开任何类型文件都保存的方法
ASP技巧:利用函数InstrRev()获取当前文件名

ASP 中的 友情连接浏览器


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 31 ::
收藏到网摘: n/a

  1、拷贝下面的代码到你的html文件的<head>和</head>之间
<SCRIPT language=JavaScript>
<!--
function go_to_station(){
  if (document.stationform.stationselect.options[0].selected){
    window.location.href = "http://202.98.107.86/xutao/default.htm";}
else if (document.stationform.stationselect.options[1].selected)     
  {  window.location.href = "http://member.netease.com/~xwtao/default.htm";}   
  else if (document.stationform.stationselect.options[2].selected)     
  {  window.location.href = "http://chaofan.bentium.net/default.htm";}
  else if (document.stationform.stationselect.options[3].selected)     
  {  window.location.href = "http://laosong.yeah.net/default.htm";}   
  else if (document.stationform.stationselect.options[4].selected)     
  {  window.location.href = "http://ipismusic.yeah.net/default.htm";}
else if (document.stationform.stationselect.options[5].selected)     
  {  window.location.href = "http://digest.topcool.net";}     
else if (document.stationform.stationselect.options[6].selected)     
  {  window.location.href = "http://msbnet.yeah.net/default.htm";}     
else if (document.stationform.stationselect.options[7].selected)     
  {  window.location.href = "http://www.hiddenfbi.com/default.htm";}   
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 = "爱情故事,photoshop"
    document.stationform.author.value = "【徐涛】";}
else if (document.stationform.stationselect.options[1].selected)     
  {  document.stationform.disc.value = "每日推荐一张CD,一个好站,一个MP3"
    document.stationform.author.value = "【天虹】";}   
  else if (document.stationform.stationselect.options[2].selected)     
  {  document.stationform.disc.value = "有独有的Java和,VB教程"
    document.stationform.author.value = "【笨男孩】";}
  else if (document.stationform.stationselect.options[3].selected)     
  {  document.stationform.disc.value = "缘分天空,情感交流的好地方"
    document.stationform.author.value = "【laosong】";}   
  else if (document.stationform.stationselect.options[4].selected)     
  {  document.stationform.disc.value = "现有歌词2681首"
    document.stationform.author.value = "【ipis】";}
else if (document.stationform.stationselect.options[5].selected)     
  {  document.stationform.disc.value = "网上原创请您推荐妙文佳作"
    document.stationform.author.value = "【koki】";}   
  else if (document.stationform.stationselect.options[6].selected)     
  {  document.stationform.disc.value = "电脑图形设计,flash在线教材大全"
    document.stationform.author.value = "