Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,473
There are 963 users currently browsing (tf).
  Our Partners:
  TalkFreelance     Design and Development     Programming     Javascript :

Browser Size

Thread title: Browser Size
    Thread tools Search this thread Display Modes  
03-31-2010, 02:54 PM
Lyke is offline Lyke
Status: I'm new around here
Join date: Mar 2010
Location: United States
Expertise: Working on becoming an expert
Software: Firefox, Visual Studio
Posts: 21
iTrader: 0 / 0%

Lyke is on a distinguished road

  Old  Browser Size

Is there a way to determine the client's browser size via Javascript? In another thread we were discussing screen resolution sizes, but I don't think that is important because someone could have a large screen resolution but their web browser could be only a percentage of that resolution or they could surf the web with two browsers open at once.

Reply With Quote
04-03-2010, 12:22 AM
c69 is offline c69
c69's Avatar
Status: Junior Member
Join date: Nov 2009
Location: Kiev, Ukraine
Posts: 27
iTrader: 0 / 0%

c69 is on a distinguished road


Provided by most browsers, but importantly, not Internet Explorer.
Provided by many browsers, including Internet Explorer.
Provided by most DOM browsers, including Internet Explorer.

more on topic - here:

Reply With Quote
04-03-2010, 01:15 AM
Gaz is offline Gaz
Gaz's Avatar
Status: Request a custom title
Join date: Apr 2007
Location: UK
Expertise: Code & Programming
Software: Coda, TextMate, Sublime 2
Posts: 2,097
iTrader: 26 / 100%

Gaz will become famous soon enough Gaz will become famous soon enough

Send a message via Skype™ to Gaz



Using jQuery you can use these^.

Or use the methods c69 described.

Reply With Quote
07-21-2010, 05:58 AM
ciint is offline ciint
Status: I'm new around here
Join date: Jul 2010
Location: california,US
Expertise: SEO,SEM,web design,web develop
Software: firefox
Posts: 20
iTrader: 0 / 0%

ciint is on a distinguished road


To determine the size of browser we can use javascript properties.


These properties will return browser width and browser height.

Reply With Quote
07-23-2010, 06:14 AM
localinternettraffic is offline localinternettraffic
Status: I'm new around here
Join date: Jul 2010
Location: PA,USA
Expertise: web design,development,seo,sem
Software: i.e,firefox,google chrome
Posts: 20
iTrader: 0 / 0%

localinternettraffic is an unknown quantity at this point


In order to find out client browser width and height, we can use following javascript .
<script language="text/javascript">
var browserwidth;
var browserheight;
browserwidth = document.documentElement.clientWidth ,
browserheight = document.documentElement.clientHeight

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed