www.webdeveloper.com
Results 1 to 2 of 2

Thread: javascript for detecting screen size

  1. #1
    Join Date
    Feb 2011
    Posts
    90

    javascript for detecting screen size

    is there any java script library that detect width of device?

  2. #2
    Join Date
    Apr 2012
    Posts
    55
    Code:
    alert('screen width: ' + screen.width);
    alert('screen height: ' + screen.height);

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles