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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -