I'm storing click coordinates in my db and then reloading them later and showing them on the site wh
Posted
by trainbolt
on Stack Overflow
See other posts from Stack Overflow
or by trainbolt
Published on 2010-04-13T17:41:01Z
Indexed on
2010/04/13
17:43 UTC
Read the original article
Hit count: 105
JavaScript
That's it basically. Storing the click coordinates is obviously the simple step, but once I have them if the user comes back and their window is smaller or larger the coordinates are wrong. Am I going about this in the wrong way, should I also store an element id/dom reference or something of that nature.
Also, this script will be run over many different websites with more than one layout. Is there a way to do this where the layout is independent of how the coordinates are stored?
Thanks.
© Stack Overflow or respective owner