Lines Matching refs:s

337 		,	s	= 'textSelectionDisabled'
343 if (!$d.data(s))
344 $d.disableSelection().data(s, true);
349 , s = 'textSelectionDisabled';
350 if ($.fn.enableSelection && $d.data(s))
351 $d.enableSelection().data(s, false);
365 var s = $E[0].style
367 , CSS = { display: s.display || '', visibility: s.visibility || '' };
436 , p, s, a, i, j, k variable
442 s = sides[j];
446 CSS[p+s+a] = style[p+s+a];
449 CSS[p+s] = style[p+s];
1097 , set: function (s, fn, ms) { timer.clear(s); timer.data[s] = setTimeout(fn, ms); }
1098 , clear: function (s) { var t=timer.data; if (t[s]) {clearTimeout(t[s]); delete t[s];} }
1124 , s = hasPane ? state[pane] : state
1162 retVal = g(fn)( pane, $Ps[pane], s, o, lName );
1164 retVal = g(fn)( Instance, s, o, lName );
1178 s = state[pane];
1179 $P.triggerHandler("layoutpane"+ lng, [ pane, $P, s, o, lName ]);
1181 $P.triggerHandler("layoutpane"+ shrt, [ pane, $P, s, o, lName ]);
1184 $N.triggerHandler("layout"+ lng, [ Instance, s, o, lName ]);
1186 $N.triggerHandler("layout"+ shrt, [ Instance, s, o, lName ]);
1353 , s = state[pane]
1357 if (!$P || s.isHidden)
1359 else if (s.isClosed || (s.isSliding && inclSpace))
1377 , s = state[pane]
1381 , isSliding = (slide != undefined ? slide : s.isSliding) // only open() passes 'slide' param
1396 , minSize = s.minSize = max( _parseSize(pane, o.minSize), cssMinDims(pane).minSize )
1397 , maxSize = s.maxSize = min( (o.maxSize ? _parseSize(pane, o.maxSize) : 100000), limitSize )
1398 , r = s.resizerPosition = {} // used to set resizing limits
1491 , s = state[pane]
1496 if ( s.isResizing || state.paneResizing ) return;
1535 , s = state;
1538 s.creatingLayout = true;
1564 delete s.creatingLayout;
1651 , s = state[pane]
1676 setInstanceKey({ container: $cont, options: co }, s );
1730 , s = state[pane]
1756 setInstanceKey( newChild, s );
2221 , s = state[pane]
2224 , fx = s.fx
2313 size = s.size = _parseSize(pane, o.size);
2317 s.autoResize = o.autoResize; // used with percentage sizes
2320 s.isClosed = false; // true = pane is closed
2321 s.isSliding = false; // true = pane is currently open by 'sliding' over adjacent panes
2322 s.isResizing= false; // true = pane is in process of being resized
2323 s.isHidden = false; // true = pane is hidden - no spacing, resizer or toggler is visible!
2326 if (!s.pins) s.pins = [];
2329 s.tagName = $P[0].tagName;
2330s.edge = pane; // useful if pane is (or about to be) 'swapped' - easy find out where it is (or i…
2331s.noRoom = false; // true = pane 'automatically' hidden due to insufficient room - will unhide aut…
2332 s.isVisible = true; // false = pane is invisible - closed OR hidden - simplify logic
2358 else if (!s.noRoom)
2378 , s = state[pane]
2388 if (s.isVisible) { // pane is OPEN
2417 , s = state[pane]
2443 if ($R && s.isClosed)
2445 else if ($R && !s.isHidden)
2467 , s = state[pane]
2472 , spacing = (s.isVisible ? o.spacing_open : o.spacing_closed)
2474 , _state = (s.isVisible ? "-open" : "-closed") // used for classNames
2483 if (!s.isVisible && o.slidable)
2557 if (s.isVisible)
2634 var s = state[pane]
2654 if (!s.isClosed)
2674 s = state[pane];
2682 s.isResizing = true; // prevent pane from closing while resizing
2688 r = s.resizerPosition;
2708 if (s.isSliding) $Ps[pane].css("zIndex", z.pane_sliding);
2741 s.isResizing = false;
2763 , s = state[pane]
2778 if (Math.abs(newSize - s.size) < o.liveResizingTolerance)
2789 if (s.isSliding) // RE-SHOW 'object-masks' so objects won't show through sliding pane
2804 , s = state[pane]
2807 if (s.tagName == "IFRAME" && s.isVisible) // no need to mask closed/hidden panes
2809 top: s.offsetTop
2810 , left: s.offsetLeft
2811 , width: s.outerWidth
2812 , height: s.outerHeight
2837 , o, s
2850 s = state[p];
2852 if (s.isVisible && ( o.maskObjects || (!a.objectsOnly && o.maskContents) )) {
2855 this.style.zIndex = s.isSliding ? z.pane_sliding+1 : z.pane_normal+1
2913 , s = state[pane]
2943 if (s.tagName == "IFRAME") {
3062 , s = state[pane]
3132 s = { removed: true }; class in removePane
3151 , s = $P[0].style
3155 $P.data(_c.offscreenReset, { left: s.left, right: s.right });
3170 , s = $P[0].style
3175 if (s.left == off.left)
3176 s.left = old.left;
3177 if (s.right == off.right)
3178 s.right = old.right;
3194 , s = state[pane]
3198 if (pane === "center" || !$P || s.isHidden) return; // pane does not exist OR is already hidden
3203 s.isSliding = false; // just in case
3208 if (!state.initialized || s.isClosed) {
3209 s.isClosed = true; // to trigger open-animation on show()
3210 s.isHidden = true;
3211 s.isVisible = false;
3219 s.isHiding = true; // used by onclose
3236 , s = state[pane]
3240 if (pane === "center" || !$P || !s.isHidden) return; // pane does not exist OR is not hidden
3245 s.isShowing = true; // used by onopen/onclose
3247 s.isSliding = false; // just in case
3269 , s = state[pane]
3273 if (s.isHidden)
3275 else if (s.isClosed)
3291 , s = state[pane]
3294 s.isClosed = true;
3295 s.isVisible = false;
3322 , s = state[pane]
3330 …|| (!o.closable && !s.isShowing && !s.isHiding) // invalid request // (!o.resizable && !o.closable…
3331 || (!force && s.isClosed && !s.isShowing) // already closed
3336 var abort = !s.isShowing && false === _runCallbacks("onclose_start", pane);
3339 isShowing = s.isShowing;
3340 isHiding = s.isHiding;
3341 wasSliding = s.isSliding;
3343 delete s.isShowing;
3344 delete s.isHiding;
3348 doFX = !noAnimation && !s.isClosed && (o.fxName_close != "none");
3349 s.isMoving = true;
3350 s.isClosed = true;
3351 s.isVisible = false;
3353 if (isHiding) s.isHidden = true;
3354 else if (isShowing) s.isHidden = false;
3356 if (s.isSliding) // pane is being closed, so UNBIND trigger events
3369 if (s.isClosed) close_2();
3382 s.isMoving = false;
3412 , s = state[pane]
3428 if (s.isHidden) $R.hide(); // hide resizer-bar
3475 , s = state[pane]
3484 || (!o.resizable && !o.closable && !s.isShowing) // invalid request
3485 || (s.isVisible && !s.isSliding) // already open
3489 if (s.isHidden && !s.isShowing) {
3495 if (s.autoResize && s.size != o.size) // resize pane to original size set in options
3511 if (s.minSize > s.maxSize) { // INSUFFICIENT ROOM FOR PANE TO OPEN!
3520 else if (s.isSliding) // PIN PANE (stop sliding) - open pane 'normally' instead
3525 s.noRoom = false; // will be reset by makePaneFit if 'noRoom'
3529 isShowing = s.isShowing;
3531 delete s.isShowing;
3533 doFX = !noAnimation && s.isClosed && (o.fxName_open != "none");
3534 s.isMoving = true;
3535 s.isVisible = true;
3536 s.isClosed = false;
3538 if (isShowing) s.isHidden = false;
3545 if (s.isVisible) open_2(); // continue
3558 s.isMoving = false;
3564 if (!s.isSliding) { // resize all panes adjacent to this one
3584 , s = state[pane]
3598 if (s.isSliding)
3608 else if (!s.isSliding)
3623 syncPinBtns(pane, !s.isSliding);
3626 $.extend(s, elDims($P));
3639 if (s.isShowing) _runCallbacks("onshow_end", pane);
3659 , s = state[pane]
3666 if (s.isClosed && evt && evt.type === "mouseenter" && delay > 0)
3676 if (!s.isClosed) // skip if no longer closed!
3678 else if (!s.isMoving)
3688 , s = state[pane]
3689 , delay = s.isMoving ? 1000 : 300 // MINIMUM delay - option may override
3692 if (s.isClosed || s.isResizing)
3696 else if (o.preventQuickSlideClose && s.isMoving)
3710 if (s.isClosed) // skip 'close' if already closed!
3712 else if (!s.isMoving)
3734 , s = state[pane]
3748 $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) });
3807 , s = state[pane]
3818 s.isSliding = true;
3825 s.isSliding = false;
3876 , s = state[pane]
3884 if (pane === "center" || (isSidePane && s.noVerticalRoom)) {
3887 hasRoom = (s.maxHeight >= 0);
3888 if (hasRoom && s.noRoom) { // previously hidden due to noRoom, so show now
3891 s.isVisible = true;
3892 s.noRoom = false;
3893 if (isSidePane) s.noVerticalRoom = false;
3896 else if (!hasRoom && !s.noRoom) { // not currently hidden, so hide now
3899 s.isVisible = false;
3900 s.noRoom = true;
3908 else if (s.minSize <= s.maxSize) { // pane CAN fit
3910 if (s.size > s.maxSize) // pane is too big - shrink it
3911 sizePane(pane, s.maxSize, skipCallback, true, force); // true = noAnimation
3912 else if (s.size < s.minSize) // pane is too small - enlarge it
3913 sizePane(pane, s.minSize, skipCallback, true, force); // true = noAnimation
3915 else if ($R && s.isVisible && $P.is(":visible")) {
3918 var pos = s.size + sC.inset[c.side];
3923 if (s.noRoom) {
3925 if (s.wasOpen && o.closable) {
3929 s.noRoom = false;
3932 show(pane, s.wasOpen, true, true); // true = noAnimation, true = noAlert
3936 if (!s.noRoom) { // pane not set as noRoom yet, so hide or close it now...
3937 s.noRoom = true; // update state
3938 s.wasOpen = !s.isClosed && !s.isSliding;
3939 if (s.isClosed){} // SKIP
3962 , s = state[pane]
3964 , forceResize = force || (o.livePaneResizing && !s.isResizing)
3968 s.autoResize = false;
3986 , s = state[pane]
3991 , skipResizeWhileDragging = s.isResizing && !o.triggerEventsDuringLiveResize
4000 oldSize = s.size;
4003 size = min(size, s.maxSize);
4004 if (size < s.minSize) { // not enough room for pane!
4014 s.newSize = size;
4017 if (!skipCallback && state.initialized && s.isVisible)
4029 s.isMoving = true;
4034 $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) });
4035 s.isMoving = false;
4036 delete s.newSize;
4043 delete s.newSize;
4050 s.size = size; // update state.size
4106 s.size = size;
4107 $.extend(s, elDims($P));
4109 if (s.isVisible && $P.is(":visible")) {
4116 if (!skipCallback && !skipResizeWhileDragging && state.initialized && s.isVisible)
4123 …if (!s.isSliding) sizeMidPanes(_c[pane].dir=="horz" ? "" : "center", skipResizeWhileDragging, forc…
4153 , s = state[pane]
4166 $.extend(s, elDims($P));
4169 …if (!force && s.isVisible && newCenter.width === s.outerWidth && newCenter.height === s.outerHeigh…
4174 $.extend(s, cssMinDims(pane), {
4179 s.newWidth = CSS.width;
4180 s.newHeight = CSS.height;
4190 reqPx = o.minWidth - s.outerWidth
4221 if (s.isVisible && !s.noVerticalRoom)
4222 $.extend(s, elDims($P), cssMinDims(pane))
4223 if (!force && !s.noVerticalRoom && newCenter.height === s.outerHeight) {
4230 s.newSize = newCenter.height
4233 s.maxHeight = CSS.height;
4234 hasRoom = (s.maxHeight >= 0); // ALWAYS TRUE NOW
4235 if (!hasRoom) s.noVerticalRoom = true; // makePaneFit() logic
4246 if (s.noRoom && !s.isClosed && !s.isHidden)
4248 if (s.isVisible) {
4249 $.extend(s, elDims($P)); // update pane dimensions
4253 else if (!s.noRoom && s.isVisible) // no room for pane
4259 delete s.newSize;
4260 delete s.newWidth;
4261 delete s.newHeight;
4263 if (!s.isVisible)
4327 , $P, o, s
4333 s = state[pane];
4334 if (s.autoResize && s.size != o.size) // resize pane to original size set in options
4395 , s = state[pane]
4396 , m = s.content // m = measurements
4410 if ((!s.isMoving && !s.isResizing) || o.liveContentResizing || remeasure || m.top == undefined) {
4421 …var newH = s.innerHeight - (m.spaceAbove - s.css.paddingTop) - (m.spaceBelow - s.css.paddingBottom…
4433 return max(s.css.paddingBottom, (parseInt($E.css("marginBottom"), 10) || 0));
4475 , s = state[pane]
4485 , _state = (s.isClosed ? "_closed" : "_open")
4499 else if (!s.noRoom && !s.isHidden) // skip if resizer was hidden for any reason
4506 s.resizerLength = paneLen;
4516 s.resizerLength = paneLen;
4529 if (togLen === 0 || (s.isSliding && o.hideTogglerOnSlide)) {
4595 if (!state.initialized && (o.initHidden || s.isHidden)) {
4792 , s = $.extend(true, {}, state[pane])
4839 if (oPane.state.isVisible && !s.isVisible)
4951 , s = state[pane]
4956 if (s.cssSaved)
4960 if (s.isSliding || s.isResizing || s.isClosed) {
4961 s.cssSaved = false;
4987 s.cssSaved = curCSS;
5020 , s = state[pane]
5021 , CSS = s.cssSaved || {}
5024 if (!s.isSliding && !s.isResizing)
5031 s.cssSaved = false;
5397 s = o.size;
5409 inst._sizePane(pane, s, false, false, false); // false=skipCallback/noAnimation/forceResize
5417 inst._sizePane(pane, s, false, false, noAnimate); // animate resize if option passed
5536 var s = $.layout.state variable
5543 readCookie: function () { return s.readCookie(inst); }
5545 , deleteCookie: function () { s.deleteCookie(inst); }
5547 , saveCookie: function (keys, cookieOpts) { return s.saveCookie(inst, keys, cookieOpts); }
5549 , loadCookie: function () { return s.loadCookie(inst); }
5551 , loadState: function (stateData, opts) { s.loadState(inst, stateData, opts); }
5553 , readState: function (keys) { return s.readState(inst, keys); }
5555 , encodeJSON: s.encodeJSON
5556 , decodeJSON: s.decodeJSON
5794 var s = inst.state[pane]; variable
5796 $.layout.buttons.setPinState(inst, $(this), pane, (s.isSliding || s.isClosed));
5797 if (s.isSliding || s.isClosed) inst.open( pane ); // change from sliding to open
5802 $.layout.buttons.setPinState(inst, $E, pane, (!s.isClosed && !s.isSliding));
5805 s.pins.push( selector ); // just save the selector string
5928 , s = inst.state
5937 if (d !== s.browserZoom) {
5938 s.browserZoom = d;
5949 , s = screen
5959 if (s.deviceXDPI && s.systemXDPI) // syntax compiler hack
5960 return calc(s.deviceXDPI, s.systemXDPI);
5966 if ((sW = s.width) && (cW = dE.clientWidth))
6025 , s = this.style
6042 $el.data(keyTB, { top: s.top, bottom: s.bottom });
6060 $el.data(keyTB, { top: s.top, bottom: s.bottom });
6061 $el.data(keyLR, { left: s.left, right: s.right });