T
op
S
CRIPTS
AUTO
M
OBILES
D
OWNLOADS
L
INK
B
BS
A
BOUT
F
EEDBACK
ブラウザのバージョンによって違うページへ移動
説明
ページを観覧しているブラウザのバージョンによって、違うページへ移動します。
ソースコード
HEADに記述
<SCRIPT LANGUAGE="JavaScript"> <!-- var N=navigator.appVersion; if(N.indexOf('MSIE 5.')>=0){location.replace("ie5.htm")} else if(N.indexOf('MSIE 4.')>=0){location.replace("ie4.htm")} else if(N.indexOf('MSIE 3.')>=0){location.replace("ie3.htm")} else if(N.indexOf('Mozilla/6')>=0){location.replace("nn6.htm")} else if(N.indexOf('Mozilla/4')>=0){location.replace("nn4.htm")} else if(N.indexOf('Mozilla/3')>=0){location.replace("nn3.htm")} //--> </SCRIPT>
解説・備考
JavaScriptに未対応、またはOffにしてあるブラウザではページを移動しません。
- [BACK] -
|
AUTO
M
OBILES
|
D
OWNLOADS
|
L
INK
|
B
BS
|
A
BOUT
|
F
EEDBACK
Copyright © 1999-2005 By よーすけ
mailto:<
web@@@write-off.cside.com
>