I
iz0nlee
can anybody tell me what is wrong here, I got this shockwave test from
javascript in easy steps but it doesnt open the pages required
<html>
<head>
<script type = "text/javascript">
if ( (navigator.appName == "Microsoft Internet Explorer"
&& navigator.appVersion.IndexOf ( "Mac" ) == -1
&& navigator.appVersion.IndexOf ( "3.1" ) == -1)
|| navigator.plugins && navigator.plugins [ "Shockwave Flash" ] )
|| navigator.plugins [ "Shockwave Flash 2.0" ] )
window.location = "index01.html" ;
else
window.location = "index.html" ;
</script>
</head>
<body>
</body>
</html>
the index01 has a flash content, the index doesnt
TIA
javascript in easy steps but it doesnt open the pages required
<html>
<head>
<script type = "text/javascript">
if ( (navigator.appName == "Microsoft Internet Explorer"
&& navigator.appVersion.IndexOf ( "Mac" ) == -1
&& navigator.appVersion.IndexOf ( "3.1" ) == -1)
|| navigator.plugins && navigator.plugins [ "Shockwave Flash" ] )
|| navigator.plugins [ "Shockwave Flash 2.0" ] )
window.location = "index01.html" ;
else
window.location = "index.html" ;
</script>
</head>
<body>
</body>
</html>
the index01 has a flash content, the index doesnt
TIA