Hello,
I have a function that determines the user's resolution onLoad(). But I don't know how to display it on the screen in a TD. Can someone help me? The function is below.
Thank you
<script LANGUAGE="JavaScript">
<!-- Hide JavaScript from old browsers
function my_resolution()
{
if (screen.height >= 768 && screen.width >= 1024)
// alert('1024');
// resolution = "1024by768"; // or higher
else
// resolution = "800by600"; // or lower
}
</script>
I have a function that determines the user's resolution onLoad(). But I don't know how to display it on the screen in a TD. Can someone help me? The function is below.
Thank you
<script LANGUAGE="JavaScript">
<!-- Hide JavaScript from old browsers
function my_resolution()
{
if (screen.height >= 768 && screen.width >= 1024)
// alert('1024');
// resolution = "1024by768"; // or higher
else
// resolution = "800by600"; // or lower
}
</script>