Forum Moderators: DixonJones
Something like...
<script type='text/javascript'>
document.write("<img src='restracker.gif?sw="+screen.width+"&sh="+screen.height+"' width='1' height='1' />");
</script>
...then you'd be able to get an idea by looking at your logs.
To take it a step further you could use PHP or something return the image and have it log sw and sh to a database - you need to provide the function reslog() of course...
<?php
header("Content-Type: image/gif");
reslog($_GET["sh"],$_GET["sw"]);include('singlepixel.gif');
?>
If screen.width and screen.height are not exactly what you're after I think JavaScript provides canvas dimensions as well...