Forum Moderators: coopster
<HTML>
<HEAD>
<TITLE>Detecting Screen Resolution</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
function detect()
{
url = "resolution.php?width="+screen.width+"&height="+screen.height;
document.location = url;
}
// -->
</script>
</HEAD>
<BODY OnLoad="detect()">
Please select your screen resolution<br>
<a href='resolution.php?width=640&height=480'>640x480</a><br>
<a href='resolution.php?width=800&height=600'>800x600</a><br>
<a href='resolution.php?width=1024&height=786'>1024x768</a><br>
</BODY>
</HTML>
[webmasterworld.com...]
[webmasterworld.com...]