I cant seem to locate the issue in why everything else is working but the JS in low res. I have scanned the boards for issues related to JS and explorer. Im running ie 10 and, reduced my res on one of my screens to 800 x 600. My chrome works on both screens and ie resonds to the higher res screen, but my lower res screen is following the high res setting, like its skipping over the lower res.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"
>
<html lang="en">
<head>
<title></title>
<!--[if IE]>
<script type="text/JavaScript">
if (screen.height <= 800) {
document.write('<link rel="stylesheet" type="text/css" href="ie_low.css" />');
}
else {
document.write('<link rel="stylesheet" type="text/css" href="ie.css" />');
}
</script>
<![endif]-->
<script type="text/JavaScript">
var screenheight = screen.height;
if (screenheight <= 800) {
document.write('<link rel="stylesheet" type="text/css" href="style_low.css">');
}
else {
document.write('<link rel="stylesheet" type="text/css" href="style.css">');
}
</script>
<style>
</style>
</head>
<body>
<div class="container">
<div class="header">
</div>
<div class="title">
<img src='logo.png' class="logo" alt='logo'>
</div>
<div class="main">
</div>
</div>
</body>
</html>