?
Solved

Netscape Navigator clientWidth property

Posted on 2004-09-27
7
Medium Priority
?
229 Views
Last Modified: 2010-05-18
What is the Netscape Navigator's equivalent to the dynamic attribute clientWidth used in the Internet Explorer. I hava a table cell which is resized because of nonwrapable text. I need to determine the actual width of the cell displayed on the screen.

Thanks
0
Comment
Question by:msterjev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 63

Expert Comment

by:Zvonko
ID: 12160104
Check for: innerWidth

0
 
LVL 3

Author Comment

by:msterjev
ID: 12160195
Doesn't work!
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 12160641
Check for: offsetWidth
0
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
LVL 25

Expert Comment

by:devic
ID: 12163262
IE: document.body.clientWidth
NS: window.innerWidth
0
 
LVL 3

Author Comment

by:msterjev
ID: 12167070
I'm not talking about window. I want to get the table's cell actual width. I'm using direct DOM (document.getElementsById()) to retrieve particular cell (column). That cell has property width that I can retrieve with the method cell.getAttribute("width"). My question is: is there an attribute that represents the actual width of the cell on the screen (not the declared width in the HTML). In IE this is the read only attribute clientWidth.

Thanks
0
 
LVL 63

Accepted Solution

by:
Zvonko earned 500 total points
ID: 12167378
Did you check for:  cell.offsetWidth

0
 
LVL 63

Expert Comment

by:Zvonko
ID: 12168257
Thanks.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question