带简介的链接选择whylink2.txt

来自「JavaScript特效(新)这里有许多的JAVA特效.供学者参考」· 文本 代码 · 共 48 行

TXT
48
字号
<script language="JavaScript">
<!--

function go_to_station(){
	if (document.stationform.stationselect.options[0].selected){
		window.location.href = "http://";}	
	else if (document.stationform.stationselect.options[1].selected)		
	{	window.location.href = "http://";}
	else if (document.stationform.stationselect.options[2].selected)		
	{	window.location.href = "http://";}	
	else if (document.stationform.stationselect.options[3].selected)		
	{	window.location.href = "http://";}	
	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 = "网页初学者的园地。百十个JAVASCRIPT特效免费下载。"
		document.stationform.author.value = "WEI WEI";}	
	else if (document.stationform.stationselect.options[1].selected)		
	{	document.stationform.disc.value = "前事不忘后事之师,勿忘国耻继往开来!"
		document.stationform.author.value = "WEI WEI";}
	
	return true;	
	}

//-->
</script>

<center>
<form name="stationform">
<table><tr><td>
<select name="stationselect" onChange="textValue()" multiple size="7">
<option value="http://javaer.home.chinaren.com">JAVA八爪鱼!
<option value="http://justchina.home.chinaren.com">就是中国!</select>
<td>作者:<textarea rows=1 cols=29 name="author"></textarea><br>
  <br>
  简介:<textarea rows=3 cols=29 name="disc" wrap="physical"></textarea>
  <br>
</tr>
</table>
<br>
<input type="button" name="stationbutton" value="Go There" onClick="go_to_station()">
<p>
<br>
<p>
</form>
</center>

⌨️ 快捷键说明

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