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>

Comments

Popular posts from this blog

ASP.NET Session States in SQL Server Mode

How to find client's MAC Address in Asp.Net and C#.net

Use XML Data For Save in Database