finding the four values of the corners of the div area
+2
A:
relative to the document:
var offset = $('#div').offset();
var x1 = offset.left;
var y1 = offset.top;
var x2 = x1 + $('#div').width();
var y2 = y2 + $('#div').height();
colinmarc
2010-06-08 05:58:54