Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
get max width of browser
Old 11-28-2009, 07:33 AM get max width of browser
Skilled Talker

Posts: 55
Trades: 0
Is there any JavaScript function or any other coding way to get the maximum possible width for the browser window. I am trying to create a nice user interface for all possible monitor sizes so it would be nice if i can set the divs width to the correct one
philmetz is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-28-2009, 07:50 AM Re: get max width of browser
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
document.body.innerWidth for IE and document.body.clientWidth for the others.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to get max width of browser
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.22970 seconds with 12 queries