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

ASP
用ASP编写网络传呼机
用ASP+CSS实现随机背景
ASP下载系统防盗链方法
用ASP编写下载网页中所有资源的程序
Request.ServerVariables应用
解决Asp程序的Server.CreateObject错误
ASP实现TCP端口扫描的方法
源码实例:ASP实现远程保存图片
用ASP+DLL实现WEB方式修改服务器时间
ASP使用MySQL数据库全攻略
ASP+SQL Server构建网页防火墙
教程/ASP 十天学会ASP之第二天
教程/ASP 十天学会ASP之第四天
教程/ASP 十天学会ASP之第五天
教程/ASP 十天学会ASP之第六天
教程/ASP 十天学会ASP之第七天
教程/ASP 十天学会ASP之第八天
教程/ASP 十天学会ASP之第九天
教程/ASP 十天学会ASP之第十天
关于学习ASP和编程的28个观点

ASP 中的 友情连接浏览器


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 22 ::
收藏到网摘: 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 = "