Creative Art is a web log where you find blog tips web design tips graphics art logo designs web layout free web tools and many more..
Thursday, November 17, 2011
jquery client browser width/height
In webpages we need to format the images text differently according to the screen resolution of the user. Below is code to detect browser width and height. You can write your code according the condition.
To get screen width or height use function:
var winHeight = $(window).height(); var winWidth = $(window).width();