Quantcast
Channel: jQuery By Example
Viewing all articles
Browse latest Browse all 248

jQuery to get Browser Size (Width & Height)

$
0
0
jQuery plugin named "sizeyThingy" can help you to get the Browser size (width and height). The good thing about this plugin is that is works with responsive design as well.

Related Post:

How to use it?


To use this plugin, Download it and then include the reference along with jQuery library.
<script src="/jquery/1.7.1/jquery.js"></script> <script src="assets/js/plugins/jquery.sizeythingy.js"></script> 
And now just make a call to sizeThingy() method to get browser size.
$(document).ready(function() {
  $.sizeyThingy(); 
});
Feel free to contact me for any help related to jQuery, I will gladly help you.

Viewing all articles
Browse latest Browse all 248

Trending Articles