Lines Matching refs:layout

66 $.layout = {  class in $
256 , layout = $el.data("layout") || $el.data("parentLayout");
257 if (layout) {
258 var $cont = layout.container;
261 var $pane = $cont.closest("."+ $.layout.defaults.panes.paneClass);
270 var $pane = $.layout.getParentPaneElem(el);
276 var $pane = $.layout.getParentPaneElem(el);
284 var evt = $.layout.getEventObject( evt_or_pane )
292 $.layout.msg('LAYOUT ERROR - Invalid pane-name: "'+ pane +'"');
323 , scrollbarWidth: function () { return window.scrollbarWidth || $.layout.getScrollbarSize('width'…
324 , scrollbarHeight: function () { return window.scrollbarHeight || $.layout.getScrollbarSize('height…
342 $d.on('mouseup', $.layout.enableTextSelection ).data(x, true);
387 , N = $.layout.cssNum
398 b = x["border" + e] = $.layout.borderWidth($E, e);
399 p = x["padding"+ e] = $.layout.cssNum($E, "padding"+e);
469 var lb = $.layout.browser
471 , b = $.layout.borderWidth
472 , n = $.layout.cssNum
495 var lb = $.layout.browser
497 , b = $.layout.borderWidth
498 , n = $.layout.cssNum
520 var CSS = $.layout.showInvisibly($E)
566 return ($.layout.browser.msie && x < 0 && y < 0) || ((x >= L && x <= R) && (y >= T && y <= B));
648 , lb = $.layout.browser = {
667 $.layout.defaults = {
763 , preventQuickSlideClose: $.layout.browser.webkit // Chrome triggers slideClosed as it is opening
864 $.layout.optionsMap = {
866 layout: ("name,instanceKey,stateManagement,effects,inset,zIndexes,errors," property in $.layout.optionsMap
889 $.layout.transformData = function (hash, addKeys) {
906 branch[key] = $.layout.transformData( val ); // RECURSE
922 $.layout.backwardCompatibility = {
960 var map = $.layout.backwardCompatibility.map
1002 var ren = $.layout.backwardCompatibility.renameOptions;
1015 $.each($.layout.config.allPanes, function (i, pane) {
1029 $.fn.layout = function (opts) { function
1033 browser = $.layout.browser
1034 , _c = $.layout.config
1037 , cssW = $.layout.cssWidth
1038 , cssH = $.layout.cssHeight
1039 , elDims = $.layout.getElementDimensions
1040 , styles = $.layout.getElementStyles
1041 , evtObj = $.layout.getEventObject
1042 , evtPane = $.layout.parsePaneName
1047 , options = $.extend(true, {}, $.layout.defaults)
1048 , effects = options.effects = $.extend(true, {}, $.layout.effects)
1111 $.layout.msg( o.name +' / '+ msg, (popup !== false) );
1329 , vis = $.layout.showInvisibly($P) // show pane invisibly if hidden
1541 runPluginCallbacks( Instance, $.layout.onCreate );
1558 runPluginCallbacks( Instance, $.layout.onLoad );
1630 runPluginCallbacks( Instance, $.layout.onReady );
1695 child = $cont.layout( co );
1801 runPluginCallbacks( Instance, $.layout.onUnload );
1828 , num = $.layout.cssNum
1838 $parent = $N.closest("."+ $.layout.defaults.panes.paneClass);
1845 layout: Instance
2016 opts = $.layout.transformData( opts, true ); // panes = default subkey
2019 opts = $.layout.backwardCompatibility.renameAllOptions( opts );
2024 data = $.layout.optionsMap.noDefault;
2030 data = $.layout.optionsMap.layout;
2038 data = $.layout.optionsMap.layout;
2039 var rootKeys = $.layout.config.optionRootKeys;
2064 data = $.layout.optionsMap.center; // list of 'center-pane keys'
2499 .mousedown($.layout.disableTextSelection) // prevent text-selection OUTSIDE resizer
2500 .mouseup($.layout.enableTextSelection) // not really necessary, but just in case
2622 var draggingAvailable = $.layout.plugins.draggable
3010 runPluginCallbacks( Instance, $.layout.onDestroy );
3431 if (o.resizable && $.layout.plugins.draggable)
3604 if (o.resizable && $.layout.plugins.draggable)
3698 else if (o.preventPrematureSlideClose && evt && $.layout.isMouseOverElem(evt, $Ps[pane]))
3919 if ($.layout.cssNum( $R, c.side ) != pos) $R.css( c.side, pos );
4024 var fx = $.layout.effects.size[pane] || $.layout.effects.size.all
4160 , visCSS = $.layout.showInvisibly($P)
4507 left = $.layout.cssNum($P, "left")
4861 if ($.layout.plugins.buttons)
4863 $.layout.buttons.setPinState(Instance, $(selector), pane, doPin);
5154 if (!$.layout) return;
5265 $.layout.plugins.stateManagement = true;
5268 $.layout.defaults.stateManagement = {
5288 $.layout.optionsMap.layout.push("stateManagement");
5290 $.layout.config.optionRootKeys.push("stateManagement");
5295 $.layout.state = {
5312 $.ui.cookie.write( oC.name || o.name || "Layout", $.layout.state.encodeJSON(data), oC );
5335 return c ? $.layout.state.decodeJSON(c) : {};
5344 var c = $.layout.state.readCookie(inst); // READ the cookie
5363 data = inst.state.stateData = $.layout.transformData( data ); // panes = default subkey
5380 $.each($.layout.config.allPanes, function (idx, pane) {
5393 $.each($.layout.config.borderPanes, function (idx, pane) {
5455 , panes = $.layout.config.allPanes
5488 branch.children[ key ] = $.layout.state.readState( child );
5536 var s = $.layout.state
5605 $.layout.onCreate.push( $.layout.state._create );
5606 $.layout.onUnload.push( $.layout.state._unload );
5631 if (!$.layout) return;
5635 $.layout.plugins.buttons = true;
5638 $.layout.defaults.autoBindCustomButtons = false;
5640 $.layout.optionsMap.layout.push("autoBindCustomButtons");
5642 var lang = $.layout.language;
5647 $.layout.buttons = {
5660 , layout = inst.options.name || ""
5663 $.each($.layout.buttons.config.borderPanes.split(","), function (ii, pane) {
5667 if (name == undefined || name === layout)
5696 else if ($.layout.buttons.config.borderPanes.indexOf(pane) === -1) { // invalid 'pane' sepecified
5717 var _ = $.layout.buttons;
5737 $.layout.buttons.get(inst, selector, pane, "toggle")
5753 $.layout.buttons.get(inst, selector, pane, "open")
5769 $.layout.buttons.get(inst, selector, pane, "close")
5792 var $E = $.layout.buttons.get(inst, selector, pane, "pin");
5796 $.layout.buttons.setPinState(inst, $(this), pane, (s.isSliding || s.isClosed));
5802 $.layout.buttons.setPinState(inst, $E, pane, (!s.isClosed && !s.isSliding));
5846 $.layout.buttons.setPinState(inst, $(selector), pane, doPin);
5854 …bindButton: function (selector, action, pane) { return $.layout.buttons.bind(inst, selector, acti…
5856 …, addToggleBtn: function (selector, pane, slide) { return $.layout.buttons.addToggle(inst, selecto…
5857 …, addOpenBtn: function (selector, pane, slide) { return $.layout.buttons.addOpen(inst, selector, …
5858 …, addCloseBtn: function (selector, pane) { return $.layout.buttons.addClose(inst, selector, pane);…
5859 , addPinBtn: function (selector, pane) { return $.layout.buttons.addPin(inst, selector, pane); }
5864 var pane = $.layout.buttons.config.borderPanes[i];
5870 $.layout.buttons.init(inst);
5880 $.layout.onLoad.push( $.layout.buttons._load );
5908 $.layout.plugins.browserZoom = true;
5910 $.layout.defaults.browserZoomCheckInterval = 1000;
5911 $.layout.optionsMap.layout.push("browserZoomCheckInterval");
5916 $.layout.browserZoom = {
5920 if ($.layout.browserZoom.ratio() !== false)
5921 $.layout.browserZoom._setTimer(inst);
5936 var d = $.layout.browserZoom.ratio();
5942 $.layout.browserZoom._setTimer(inst);
5952 , b = $.layout.browser
5975 $.layout.onReady.push( $.layout.browserZoom._init );
6004 $.layout.defaults.panes.useOffscreenClose = false; // user must enable when needed
6009 if ($.layout.plugins)
6010 $.layout.plugins.effects.slideOffscreen = true;
6013 $.layout.effects.slideOffscreen = $.extend(true, {}, $.layout.effects.slide);
6033 , offscrn = $.layout.config.offscreenCSS || {}
6034 , keyLR = $.layout.config.offscreenReset