Giuliano said:
Hello, I wanted to know if there is a way, through javascript or by html
directly, to get x and y coordinates position of an html tag in the
document window. Thanks to anyone who will help me!!!
Dear Giuliano,
I agree with everything Richard and Hywel told you. I think you first
need to just mention the url of your page and then follow up with a
clear and clean description of what you want to achieve, to do. Your
initial post certainly seemed to me you were looking for a solution to a
non-mentioned difficulty.
In your case, assuming your page design is corect and markup syntax is
valid and impeccable, the solution to your difficulty could be to resort
to the scrollIntoView(true)
method which will work fine in MSIE 6 and Mozilla-based browsers. If we
could know more, I'm sure we could propose something more to the point
meeting your real webpage requirements. Iframe might not be best for
your page; I don't know. Measurements/calculations trans-frames and
precise positioning trans-frame can be done; is that necessary for your
webpage design goals? Impossible to say.
Here, I am convinced your page design needs to be examined first.
DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunclear/Netscape7/Netscape7Section.html