Lines Matching refs:w
45 this.w = 0;
52 this.w =
65 this.w = 0;
72 this.w =
81 if (this.w < this.win.w) this.w = this.win.w;
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;
311 imag.width = Math.floor(orig.w * ratio);
316 self._box.style.left = [((self._page.win.w - imag.width - 30) / 2),'px'].join('');
330 spin.style.left = [(self._page.win.w - spin.width - 30) / 2,'px'].join('');
333 self._wrap.style.width = [self._page.win.w,'px'].join('');
363 imag.width = self._imgs[self._open].w;
413 if (self._imgs[self._open].w == -1) {
415 self._imgs[self._open].w = imag.width;