Lines Matching refs:h
46 this.h = 0;
56 this.h =
66 this.h = 0;
76 this.h =
82 if (this.h < this.win.h) this.h = this.win.h;
150 … self._imgs[num] = {src:anchor.getAttribute("href"),w:-1,h:-1,title:'',cls:anchor.className}; property in self._imgs
305 var targ = { w:self._page.win.w - 30, h:self._page.win.h - 30 }; property in LightBox._set_photo_size.targ
306 var orig = { w:self._imgs[self._open].w, h:self._imgs[self._open].h }; property in LightBox._set_photo_size.orig
309 if ((orig.w >= targ.w || orig.h >= targ.h) && orig.h && orig.w)
310 ratio = ((targ.w / orig.w) < (targ.h / orig.h)) ? targ.w / orig.w : targ.h / orig.h;
312 imag.height = Math.floor(orig.h * ratio);
315 … self._box.style.top = [self._pos.y + (self._page.win.h - imag.height - 30) / 2,'px'].join('');
327 var top = (self._page.win.h - spin.height) / 2;
334 self._wrap.style.height = [self._page.h,'px'].join('');
364 imag.height = self._imgs[self._open].h;
416 self._imgs[self._open].h = imag.height;