Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

communication *.js file and IE

Status
Not open for further replies.

yavuz

Technical User
Apr 27, 2002
12
BE

If I write javascript in the HTML, then I can get the width of the document with document.offsetWidth. I want write a generic .js file, but then I can't get the size of the document with document.offsetWidth. Is there any way to do that?

Thanks. :)
 
But I need the inner area of IE.
The problem is that document.offsetWidth works if I write it in the HTML file, but not if in js file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top