2011/11/08

How to get screen size like height and width

<Script language = JavaScript>

             UserWidth = window.screen.width
             UserHeight = window.screen.height
             UserWidth = "Screen Width = " + UserWidth
             UserHeight = " Screen Height = " + UserHeight
             alert(UserWidth + UserHeight)
</Script>

No comments:

Post a Comment

 What is AI? Artificial Intelligence (AI) is the ability of machines or computer systems to perform tasks that normally require human intell...