jgosney
asked on
I'm trying to write a code that displays an alternate image gallery for those using IE 6 and below
I'm trying to write a code that displays an alternate image gallery for those using IE 6 and below. Right now, I'm just testing it with a document.write command before moving on. It's (obviously) not working. Here's what I have:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>One World Circus</title>
</script>
<script type="javascript">
var browser = navigator.appName
var ver = navigator.appVersion
var thestart = parseFloat(ver.indexOf("MS IE"))+1
var brow_ver = parseFloat(ver.substring(t hestart+4, thestart+7 ))
var test=new iesuckstest({
wrapperid: "iesucks",
dimensions: [490, 327],
if ((browser=="Microsoft Internet Explorer") && (brow_ver < 7))
(
document.write("Testing");
)
})
</script>
</head>
<body>
<div id="iesucks">
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>One World Circus</title>
</script>
<script type="javascript">
var browser = navigator.appName
var ver = navigator.appVersion
var thestart = parseFloat(ver.indexOf("MS
var brow_ver = parseFloat(ver.substring(t
var test=new iesuckstest({
wrapperid: "iesucks",
dimensions: [490, 327],
if ((browser=="Microsoft Internet Explorer") && (brow_ver < 7))
(
document.write("Testing");
)
})
</script>
</head>
<body>
<div id="iesucks">
</div>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.