Lines Matching refs:offset
295 var offset = 0;
298 offset = el.selectionStart;
299 length = el.selectionEnd - offset;
305 offset = sel.text.length - length;
307 return { offset: offset, length: length };
1173 offset = this.container.offset(),
1182 dropTop = offset.top + height,
1183 dropLeft = offset.left,
1185 enoughRoomAbove = (offset.top - dropHeight) >= $window.scrollTop(),
1213 offset = this.container.offset();
1219 dropTop = offset.top + height;
1220 dropLeft = offset.left;
1240 //console.log("above/ offset.top", offset.top, "dropHeight", dropHeight, "top", (offset.top-dropHeight), "scrollTop", this.body().scrollTop(), "enough?", enoughRoomAbove);
1242 // fix positioning when body has an offset and is not position: static
1244 bodyOffset = this.body().offset();
1250 dropLeft = offset.left + this.container.outerWidth(false) - dropWidth;
1259 css.top = offset.top - dropHeight;
1452 hb = child.offset().top + child.outerHeight(true);
1458 hb = more.offset().top + more.outerHeight(true);
1462 rb = results.offset().top + results.outerHeight(true);
1466 y = child.offset().top - results.offset().top;
1565 below = more.offset().top - results.offset().top - results.height();
2648 || e.which == KEY.LEFT) && (pos.offset == 0 && !pos.length)) {
3080 left = this.search.offset().left;
3083 containerLeft = this.selection.offset().left;