⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 js58.htm

📁 搜集的很多javascript实例及教程
💻 HTM
字号:
<!--Saved  from《网页设计师》pageone.yeah.net,作者:阿捷ajie@nease.net-->
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="Javascript,Javascript,Javascript,Javascript,Javascript">
<!--  以下代码是设定此页的超链接样式    -->
<style type="text/css"><!-- A:link {text-decoration: none; color:#000000}
     A:visited {text-decoration: none; color: #000000}
     A:active {text-decoration: none; color: #FF0000}
     A:hover {text-decoration: underline; color: FF0000}
       body{font-size=9pt}
	        TH{FONT-SIZE: 9pt}
           TD{ FONT-SIZE: 9pt}
       -->
</style>
<SCRIPT language=JavaScript>
<!--
function go_to_station(){
	if (document.stationform.stationselect.options[0].selected){
		window.location.href = "http://202.98.107.86/xutao/";}
              else if (document.stationform.stationselect.options[1].selected)		
 	{	window.location.href = "http://member.netease.com/~xwtao/";}	
	else if (document.stationform.stationselect.options[2].selected)		
	{	window.location.href = "http://chaofan.bentium.net/";}
	else if (document.stationform.stationselect.options[3].selected)		
	{	window.location.href = "http://laosong.yeah.net/";}	
	else if (document.stationform.stationselect.options[4].selected)		
	{	window.location.href = "http://ipismusic.yeah.net/";}
              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/";}		
             else if (document.stationform.stationselect.options[7].selected)		
	{	window.location.href = "http://www.hiddenfbi.com/";}	
             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>

<title>友情链接浏览器</title>
</head>

<body bgcolor="#FFFFFF">

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td width="50%" bgcolor="#006DA2"><map name="FPMap0">
      <area href="http://www.pageone.yeah.net" shape="rect" coords="8, 2, 105, 34"></map><img src="../images/jlogo3.GIF" alt="网页设计师" border="0" usemap="#FPMap0" width="111" height="36"></td>
    <td width="50%" bgcolor="#006DA2"><p align="right"><br>
      <a href="js56.htm">
    上一页</a> <a href="js65.htm">下一页</a> <a href="../index.html">返回首页</a></td>
  </tr>
</table>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td width="5%" bgcolor="#B7D1F4" valign="top"></td>
    <td width="16%" bgcolor="#006DA2" valign="top"><table border="0" width="100%" cellspacing="4" cellpadding="0">
      <tr>
        <td width="16%"></td>
        <td width="84%"></td>
      </tr>
      <tr>
        <td width="16%"><font color="#ffff80">★</font></td>
        <td width="84%"><font face="Arial"><a href="index.htm">JAVASCRIPT</a></font></td>
      </tr>
      <tr>
        <td width="16%"><font color="#ffff80">★</font></td>
        <td width="84%"><font face="Arial"><a href="../frontpage/index.htm">FRONTPAGE</a></font></td>
      </tr>
      <tr>
        <td width="16%"><font color="#ffff80">★</font></td>
        <td width="84%"><font face="Arial"><a href="../dhtml/index.htm">DHTML</a></font></td>
      </tr>
      <tr>
        <td width="16%"><font color="#ffff80">★</font></td>
        <td width="84%"><font face="Arial"><a href="../photoshop/index.htm">PHOTOSHOP</a></font></td>
      </tr>
      <tr>
        <td width="16%"><font color="#ffff80">★</font></td>
        <td width="84%"><font face="Arial"><a href="../fireworks/index.htm">FIREWORKS</a></font></td>
      </tr>
      <tr>
        <td width="16%"><font color="#ffff80">★</font></td>
        <td width="84%"><font face="Arial"><a href="../flash/index.htm">FLASH</a></font></td>
      </tr>
      <tr>
        <td width="16%"><font color="#ffff80">★</font></td>
        <td width="84%"><font face="Arial"><a href="../cgi/index.htm">CGI</a></font></td>
      </tr>
      <tr>
        <td width="16%" a><font color="#ffff80">★</font></td>
        <td width="84%"><font face="Arial"><a href="../download/index.htm">DOWNLOAD</a></font></td>
      </tr>
      <tr>
        <td width="16%"></td>
        <td width="84%"></td>
      </tr>
    </table>
    </td>
    <td width="79%" valign="top"><table border="0" width="100%" cellspacing="1" cellpadding="0">
      <tr>
        <td width="12%" bgcolor="#B7D1F4"><p align="center"><font color="#FF8000">名称</font></td>
        <td width="88%" bgcolor="#FFFFFF">
          <p align="center">友情链接浏览器</td>
      </tr>
      <tr>
        <td width="12%" bgcolor="#B7D1F4" valign="top"><p align="center"><font color="#FF8000">实例</font></td>
        <td width="88%"><table border="1" width="100%" bordercolor="#B7D1F4" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100%"><p align="center">
<TABLE><FORM name=stationform>
  <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>站长大名<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><p><INPUT class=yk9 name=stationbutton onclick=go_to_station() type="button" value="立刻去看看"></p> </TD>  
  </TR>
</FORM>
</TABLE>

            <p align="center"> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td width="12%" bgcolor="#B7D1F4" valign="top"><p align="center"><font color="#FF8000">教程</font></td>
        <td width="88%"><table border="1" width="100%" cellspacing="0" cellpadding="0" bordercolor="#B7D1F4">
          <tr>
            <td width="100%" bgcolor="#FFFFFF"><br>
            <p>第一步:拷贝下面的代码到你的html文件的&lt;head&gt;和&lt;/head&gt;之间;</p>
            <blockquote>
              <form name="copy1">
                <p><textarea rows="4" name="S1" cols="39" onMouseOver="this.focus()" onFocus="this.select()"><SCRIPT language=JavaScript>
<!--
function go_to_station(){
	if (document.stationform.stationselect.options[0].selected){
		window.location.href = "http://202.98.107.86/xutao/";}
              else if (document.stationform.stationselect.options[1].selected)		
 	{	window.location.href = "http://member.netease.com/~xwtao/";}	
	else if (document.stationform.stationselect.options[2].selected)		
	{	window.location.href = "http://chaofan.bentium.net/";}
	else if (document.stationform.stationselect.options[3].selected)		
	{	window.location.href = "http://laosong.yeah.net/";}	
	else if (document.stationform.stationselect.options[4].selected)		
	{	window.location.href = "http://ipismusic.yeah.net/";}
              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/";}		
             else if (document.stationform.stationselect.options[7].selected)		
	{	window.location.href = "http://www.hiddenfbi.com/";}	
             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>
</textarea></p>
              </form>
            </blockquote>
              <p>第二步:拷贝下面的代码到你的html文件的&lt;body&gt;和&lt;/body&gt;之间;</p>
            <blockquote>
              <form name="copy2">
                <p> <BR><font color="#008080">&lt;TABLE>&lt;FORM name=stationform><br>   
  &lt;TR><br>   
    &lt;TD>&lt;SELECT class=yk9 multiple name=stationselect onchange=textValue()&nbsp;<br>  
      size=8> &lt;OPTION>徐涛有约&lt;/OPTION> &lt;OPTION>听涛阁&lt;/OPTION>&nbsp;<br>  
        &lt;OPTION>超凡时速&lt;/OPTION> &lt;OPTION>红牌楼&lt;/OPTION>&nbsp;<br>  
        &lt;OPTION>蟑螂音乐歌词库&lt;/OPTION>&nbsp;<br>  
        &lt;OPTION>网文观止&lt;/OPTION> &lt;OPTION&gt;MSB图形世界&lt;/OPTION>&nbsp;<br>  
        &lt;OPTION>准我自我&lt;/OPTION>&lt;/SELECT>&nbsp;<br>  
    &lt;TD>站长大名&lt;BR>&lt;TEXTAREA class=yk9 cols=40 name=author rows=1>&lt;/TEXTAREA> &lt;BR>站点主题&lt;BR>&lt;TEXTAREA class=yk9 cols=40 name=disc rows=3 wrap=physical>&lt;/TEXTAREA>&lt;p>&lt;INPUT class=yk9 name=stationbutton onclick=go_to_station() type="button" value="立刻去看看">&lt;/p> &lt;/TD>&nbsp;<br>  
  &lt;/TR><br>  
                &lt;/FORM><br>  
                &lt;/TABLE><BR>   
                </font>   
              </blockquote>  
 </TD>    
  </TR>  
</TABLE>  
           
              <p>说明:将第一段代码中的&quot;链接地址&quot;和&quot;站长名称&quot;&quot;站点简介&quot;改为你自己的友情连接内容,将第二段代码中的站点名称修改为相对应的站点。</p> 
            <p> </td> 
          </tr> 
      <tr>
        <td width="12%" bgcolor="#B7D1F4" valign="top"><font color="#FF8000">下载</font></td>
        <td width="88%">请到<a href="../download/index.htm">下载中心</a></td> 
          </tr> 
      <tr>
        <td width="12%" bgcolor="#B7D1F4" valign="top"><font color="#FF8000">版权</font></td>
        <td width="88%">本教程由本站合作站点《<a href="http://java2000.wol.com.cn/index.html" target="_blank">Java2000</a>》友情提供</td> 
          </tr> 
        </table> 
        </td> 
      </tr> 
    </table> 
 
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="39"> 
  <tr> 
    <td width="21%" bgcolor="#006DA2" height="25"><font color="#0072A8">.</font></td> 
    <td width="79%" bgcolor="#E6F2FF" height="25" colspan="2"><p align="right"><br> 
      <a href="js56.htm"> 
    上一页</a> <a href="js65.htm">下一页</a> <a href="#top">回到页首</a></td> 
  </tr> 
  <tr> 
    <td width="21%" height="3"></td> 
    <td width="79%" height="3" align="center" colspan="2"><font color="#FFFFFF">.</font></td> 
  </tr> 
  <tr> 
    <td width="21%" height="2"></td> 
    <td width="27%" height="7" align="center" rowspan="2"><p align="right"><img src="../images/jlogo4.GIF" alt="jlogo4.GIF (1066 bytes)" WIDTH="26" HEIGHT="26"></td> 
    <td width="52%" height="2">《<a href="http://pageone.yeah.net">网页设计师</a>》  
    阿捷制作 版权所有</td> 
  </tr> 
  <tr> 
    <td width="21%" height="5"></td> 
    <td width="52%" height="5"><font face="Arial">&copy;1999-2000</font> <font face="Arial">All  
    Rights Reserved</font></td> 
  </tr> 
  <tr> 
    <td width="21%" height="4"></td> 
    <td width="79%" height="4" align="center" colspan="2">本站教程免费学习,引用请注明出处,禁止抄袭。</td> 
  </tr> 
</table> 
</body> 
</html> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -