File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Finding Component Co-ordinates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Finding Component Co-ordinates " Watch "Finding Component Co-ordinates " New topic
Author

Finding Component Co-ordinates

Ramesh Pappala
Ranch Hand

Joined: Sep 14, 2005
Posts: 50
Hi,

Can any one send the javascript code to find the X,Y co-ordinates and
the height,width of a component in a page.

Ex: I want to send the object name to the function which can find the co-
ordinates and height,width of the component(ex: textfield).

Please urgent!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61456
    
  67

Please read this to see why adding "urgent" to your posts is a poor idea.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Look at my answers here: http://www.coderanch.com/t/119042/HTML-JavaScript/determining-if-element-hidden

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding Component Co-ordinates