WhiteGumby
10-25-2003, 10:06 AM
ok here is what I scripted:
<SCRIPT LANGUAGE="JavaScript">
<!--
if ((screen.width>=1024) && (screen.height>=768))
{
document.write('<link href="/zayne/style1024.css" type=text/css rel=StyleSheet>');
}else{
document.write('<link href="/zayne/style800.css" type=text/css rel=StyleSheet>');
}
-->
</script>
ok well I'm trying to find the users resolution and then print the css file link into there. but nothing shows up, the page is blank. got any ideas?
<SCRIPT LANGUAGE="JavaScript">
<!--
if ((screen.width>=1024) && (screen.height>=768))
{
document.write('<link href="/zayne/style1024.css" type=text/css rel=StyleSheet>');
}else{
document.write('<link href="/zayne/style800.css" type=text/css rel=StyleSheet>');
}
-->
</script>
ok well I'm trying to find the users resolution and then print the css file link into there. but nothing shows up, the page is blank. got any ideas?