Forums
This topic is locked
innerheight with ASP in stead of Javascript
Posted 21 May 2002 17:15:42
1
has voted
21 May 2002 17:15:42 Matthijs Horsman posted:
Hello all,I got this this script to get the innerwidth and height of the browser window in Javascript
<font size=1><script language="JavaScript"><!--
var width = 640, height = 480; // defaults
if (document.layers) {
width = window.innerWidth;
height = window.innerHeight;
}
else if (document.all)
{
width = document.body.clientWidth;
height = document.body.clientHeight;
}
else if (document.all || document.getElementById)
{
width = window.innerWidth;
height = window.innerHeight;
}
//-->
</script></font id=size1>
I was wondering if there is the same for ASP? I don't think so... but maybe...
Thanx in advance...
Matthijs
----------------
UD4/WY2K/IIS/ASP-VB
www.chaps.nl
Replies
Replied 21 May 2002 19:39:39
21 May 2002 19:39:39 Matthijs Horsman replied:
nevermind, got it working now with only javascript....
Matthijs
----------------
UD4/WY2K/IIS/ASP-VB
www.chaps.nl
Matthijs
----------------
UD4/WY2K/IIS/ASP-VB
www.chaps.nl