网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > ASP技巧
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
网络编程:ASP教程,ASP.NET教程,PHP教程,JSP教程,C#教程,数据库,XML教程,Ajax,Java,Perl,Shell,VB教程,Delphi,C/C++教程,软件工程,J2EE/J2ME,移动开发
本月文章推荐
.如何在ASP中使用类.
.将连接数据库的代码隐藏在DLL中.
.ADO+管理器功能.
.如何使用ASP产生象安装向导的主页.
.一个简单的用存储过程分页.
.使用索引服务器 - 创建ASP页面.
.ASP安全检测与过滤函数SafeCheck.
.asp+oracle分页程序类(XDOWNPAG.
.构建你的网站新闻自动发布系统之.
.在基于Mozilla的浏览器中使用XML.
.改进性能和样式的 25+ ASP 技巧(.
.大部分ADO的错误码对应的含义.
.Asp:Cookies应用指南,详细代码及.
.数据排序及如何动态排序.
.asp组件编写准备工作.
.分行模块,自动识别英文和型号数.
.单页面判断浏览器是否接受 Cooki.
.关于Adodb.Stream的写数据库数据.
.从ASP调用SQL中的图像.
.通过地址栏传递参数.通过url传递.

友情连接浏览器

发表日期:2001-2-20


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 = "【MSB】";}
else if (document.stationform.stationselect.options[7].selected)     
  {  document.stationform.disc.value = "如果是mm这边进,姐妹们说悄悄话了"
    document.stationform.author.value = "【hiddenfbi】";}   
  return true;   
  }

//-->
</SCRIPT>

2、拷贝下面的代码到你的html文件的<body>和</body>之间

<form name="stationform">
<table>
<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>MSB图形世界</option>
<option>准我自我</option>
</select></td>
<td><div align="left"><p>站长大名<br>
<input type="text" name="author" size="40"> <br>
站点主题<br>
<textarea class="yk9" cols="40" name="disc" rows="3" wrap="physical"></textarea><br>
<br>
<input class="yk9" name="stationbutton" onclick="go_to_station()" type="button"
value="立刻去看看"></td>
</tr>
</table>
</form>

说明:将第一段代码中的"链接地址"和"站长名称""站点简介"改为你自己的友情连接内容,将第二段代码中的站点名称修改为相对应的站点。

上一篇:存储过程分页 人气:10413
下一篇:怎样使用ASP实现Ping 人气:12775
浏览全部的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐