jquery - bottom left & bottom right of HTML element -
how bottom left x-y & bottom right x-y of html element? wanted assign <div></div>
your element need id (or other way grab dom).
in raw javascript, bottom left x coordinate:
var obj = document.getelementbyid('yourelement'); // same $('#yourelement') var bottomleftx = obj.offsettop + obj .offsetheight;
Comments
Post a Comment