フォームのセレクトボックスでリンクするスクリプトです。(選択のみでジャンプするタイプ) フレームにも対応しています。 <html> <head> <title>TAG index Webサイト</title> <script type="text/javascript"> <!-- // 設定開始 // (フレームの場合は、表示先のフレーム名を設定してください) // (top を指定すると、フレームの分割を廃止して画面全体で表示します) // (blank を指定すると、新規ウィンドウで表示します) var target = ""; // 設定終了 function jump(){ var url = document.form1.select.options[document.form1.select.selectedIndex].value; if(url != "" ){ if(t
![JavaScript/リンク/セレクトボックスでリンクする(選択のみ) - TAG index](https://cdn-ak-scissors.b.st-hatena.com/image/square/4f9442d6a13ed8b2d2bf932784e7d4613227a381/height=288;version=1;width=512/https%3A%2F%2Fwww.tagindex.com%2Fimage%2Fogp%2Fjavascript.png)