The command is:
<SCRIPT language="_javascript_">
<!--
if ((screen.width>=1024) && (screen.height>=768))
{
document.write('<cfset res=1024>');
}
else
{
document.write('<cfset res=800>');
}
//-->
</SCRIPT>
But, it's not working. It ALWAYS uses the bottom value as the res number, even when the screen is 1024.
Is it that the JS doesn't print out the command as requested ?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
