📄 807dao2.htm
字号:
<html>
<head>
<title>任意多友情链接</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 bgcolor="#fef4d9">
<br>
<br>
<center><font color=red face="隶书" size=6>任意多友情链接</font></center>
<br>
<center>
<table border=5 bordercolor=blue borderlight=green>
<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.sina.com.cn";}
else if (document.stationform.stationselect.options[1].selected)
{ window.location.href = "http://www.163.com/";}
else if (document.stationform.stationselect.options[2].selected)
{ window.location.href = "http://mcg.yeah.net/";}
else if (document.stationform.stationselect.options[3].selected)
{ window.location.href = "http://www.sohu.com/";}
else if (document.stationform.stationselect.options[4].selected)
{ window.location.href = "http://cp33.yeah.net/";}
else if (document.stationform.stationselect.options[5].selected)
{ window.location.href = "http://ftp.maoming.gd.cn/e/yanghai";}
else if (document.stationform.stationselect.options[6].selected)
{ window.location.href = "http://jgq.yeah.net/";}
else if (document.stationform.stationselect.options[7].selected)
{ window.location.href = "http://nns.yeah.net/";}
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 = "【新浪网】";}
else if (document.stationform.stationselect.options[1].selected)
{ document.stationform.disc.value = "国内最大的综合性站点"
document.stationform.author.value = "【网易】";}
else if (document.stationform.stationselect.options[2].selected)
{ document.stationform.disc.value = "培训教学"
document.stationform.author.value = "【微软认证专家园地】";}
else if (document.stationform.stationselect.options[3].selected)
{ document.stationform.disc.value = "最大的搜索站点"
document.stationform.author.value = "【搜狐】";}
else if (document.stationform.stationselect.options[4].selected)
{ document.stationform.disc.value = "图形图象制作"
document.stationform.author.value = "【菜盆的'无中生有'】";}
else if (document.stationform.stationselect.options[5].selected)
{ document.stationform.disc.value = "美术吉它"
document.stationform.author.value = "【杨海“倾心小筑”】";}
else if (document.stationform.stationselect.options[6].selected)
{ document.stationform.disc.value = "电脑网络"
document.stationform.author.value = "【江光强主页】";}
else if (document.stationform.stationselect.options[7].selected)
{ document.stationform.disc.value = "游戏,编程"
document.stationform.author.value = "【未名创作室】";}
return true;
}
//-->
</script>
<form name="stationform">
<table>
<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>
</select> </td>
<td>站点名称<br>
<textarea class="yk9" cols="40" name="author" rows="1"></textarea> <br>
站点主题<br>
<textarea class="yk9" cols="40" name="disc" rows="3" wrap="physical"></textarea> </td>
</tr>
</TBODY>
</table>
<input class="yk9" name="stationbutton" onclick="go_to_station()"
type="button" value="参观参观">
</form>
</td></tr></table></center>
<br>
<br>
<center>
<SCRIPT LANGUAGE="JavaScript">
<!-- hide
function goHist(a)
{
history.go(a);
}
//-->
</script>
<FORM METHOD="post">
<INPUT TYPE="button" VALUE="返回" onClick="goHist(-1)" style="background-color: #8000FF; color: rgb(255,255,255)">
</form>
</center>
<br>
<center>
<textarea name=source rows=12 cols=55 class=yk9>
脚本说明:
把如下代码加入<body>区域中:
<script language="JavaScript">
<!--
function go_to_station(){
if (document.stationform.stationselect.options[0].selected){
window.location.href = "http://java2000.126.com";}
else if (document.stationform.stationselect.options[1].selected)
{ window.location.href = "http://zjjg.yeah.net/";}
else if (document.stationform.stationselect.options[2].selected)
{ window.location.href = "http://mcg.yeah.net/";}
else if (document.stationform.stationselect.options[3].selected)
{ window.location.href = "http://tonyest.yeah.net/";}
else if (document.stationform.stationselect.options[4].selected)
{ window.location.href = "http://cp33.yeah.net/";}
else if (document.stationform.stationselect.options[5].selected)
{ window.location.href = "http://ftp.maoming.gd.cn/e/yanghai";}
else if (document.stationform.stationselect.options[6].selected)
{ window.location.href = "http://jgq.yeah.net/";}
else if (document.stationform.stationselect.options[7].selected)
{ window.location.href = "http://nns.yeah.net/";}
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 = "Java脚本下载资源站"
document.stationform.author.value = "【最酷的Java脚本资源站】";}
else if (document.stationform.stationselect.options[1].selected)
{ document.stationform.disc.value = "军事动态新闻及MUD"
document.stationform.author.value = "【军事与泥巴】";}
else if (document.stationform.stationselect.options[2].selected)
{ document.stationform.disc.value = "培训教学"
document.stationform.author.value = "【微软认证专家园地】";}
else if (document.stationform.stationselect.options[3].selected)
{ document.stationform.disc.value = "电脑网络"
document.stationform.author.value = "【梧桐世界】";}
else if (document.stationform.stationselect.options[4].selected)
{ document.stationform.disc.value = "图形图象制作"
document.stationform.author.value = "【菜盆的'无中生有'】";}
else if (document.stationform.stationselect.options[5].selected)
{ document.stationform.disc.value = "美术吉它"
document.stationform.author.value = "【杨海“倾心小筑”】";}
else if (document.stationform.stationselect.options[6].selected)
{ document.stationform.disc.value = "电脑网络"
document.stationform.author.value = "【江光强主页】";}
else if (document.stationform.stationselect.options[7].selected)
{ document.stationform.disc.value = "游戏,编程"
document.stationform.author.value = "【未名创作室】";}
return true;
}
//-->
</script>
<div align="center"><font color="#ffffff" size="5">
<p align="center">不错的友情连接脚本</font> </p>
</div>
<form name="stationform">
<table>
<TBODY>
<tr>
<td><select class="yk9" multiple name="stationselect" onchange="textValue()" size="8">
<option>Java2000</option>
<option>军事与泥巴</option>
<option>微软认证专家园地</option>
<option>梧桐世界</option>
<option>菜盆的"无中生有"</option>
<option>杨海“倾心小筑”</option>
<option>江光强主页</option>
<option>未名创作室</option>
</select> </td>
<td>站点名称<br>
<textarea class="yk9" cols="40" name="author" rows="1"></textarea> <br>
站点主题<br>
<textarea class="yk9" cols="40" name="disc" rows="3" wrap="physical"></textarea> </td>
</tr>
</TBODY>
</table>
<input class="yk9" name="stationbutton" onclick="go_to_station()"
type="button" value="参观参观">
</form>
</textarea>
<br>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -