javascript - Calculate half of the height of the last list item in an ol with jquery -
the question kinda simple can't seem figure thing out.
how can calculate half of height of last list item in ol jquery? need shorten line exact amount of pixels make thing work:
try
var height_li = $('ol li:last').height()/2;
references
Comments
Post a Comment