-
HowTo retrieve a users Screen.Height???
Well,
I wonder if it's possible to read a user's screen resolution from ASP.
In the same way as you can with ex JavaScript
<SCRIPT LANGUAGE="JAVASCRIPT">
userScreenHeight = screen.height;
</SCRIPT>
I'm running VBScript in my asp-pages, and for some reason this code fails:
<%
DIM LinesPerPage
LinesPerPage = 19
IF Screen.Height = 600 THEN
LinesPerPage = 13
END IF
%>
And then when i out-comment the IF-block, the code runs without errors.
Now please, Ladies or Gentlemens what should I test for in my IF-block??
/Rasmus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|