Hey!
Ive google'd but to no success.
I need a function or script that will grab the x and y coordinates of a div of the page.
+rep :p
Thanks,
Jake.
Printable View
Hey!
Ive google'd but to no success.
I need a function or script that will grab the x and y coordinates of a div of the page.
+rep :p
Thanks,
Jake.
o_oHTML Code:var x = document.getElementById("div").style.left;
var y = document.getElementById("div").style.top;
Thank you :)!