<html>
<body>
<form name="addr">
リンク先−> <select name="list" onChange="chg_url()">
<option value="http://www.yahoo.co.jp">ヤフー</option>
<option value="http://japan.infoseek.com/">Infoseek</option>
<option value="http://www2.crl.go.jp/cgi-bin/JST.cgi">日本標準時</option>
</select>
<a href="Dest" target=_blank> 行けーーっ! ^^)/</a>
</form>
<script language="javascript">
<!--
pos = 5555;
for(num=0;num<document.links.length;num++) {
if (document.links[num].href.indexOf("Dest") != -1) {
pos = num;
num = 5000;
}
}
function chg_url() {
if (pos!=5555) {
sel = document.addr.list.selectedIndex;
document.links[pos].href = document.addr.list[sel].value;
}
}
chg_url();
//-->
</script>
</body>
</html>
|