it's the simplest thing, but i cant find it anywhere. can anyone help find an object property that checks a user's screen resolution? i've heard of a few things, like window.width, window.length, but they dont seem to work. any help? thanks
-gitz-
Checking Resolutions In Javascripti'm going nuts
Page 1 of 1
1 Replies - 961 Views - Last Post: 08 June 2002 - 10:32 AM
Replies To: Checking Resolutions In Javascript
#2
Re: Checking Resolutions In Javascript
Posted 08 June 2002 - 10:32 AM
yup:
that's how id go about it
-pete
btw: im pritty sure this should go in the "HTML" forum
just a suggestion
<script language="javascript">
<!-- hide JS from old browsers
function checkWinSize() {
var screenWidth = screen.width;
var screenHeight = screen.height;
}
// end hiding JS -->
</script>
<body onload="checkWinSize();">
that's how id go about it
-pete
btw: im pritty sure this should go in the "HTML" forum
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|