rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
"aria-valuemax": this.max,
"aria-valuemax": this.options.max,
_create: function() { this.element .addClass( "ui-progressbar ui-widget ui-widget-content ui-corner-all" ) .attr({ role: "progressbar", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this._value() }); this.valueDiv = $( "<div class='ui-progressbar-value ui-widget-header ui-c...
this.oldValue = this._value();
_create: function() { this.element .addClass( "ui-progressbar ui-widget ui-widget-content ui-corner-all" ) .attr({ role: "progressbar", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this._value() }); this.valueDiv = $( "<div class='ui-progressbar-value ui-widget-header ui-c...
if ($.isFunction(options.beforeclose) && !$.isFunction(options.beforeClose)) { options.beforeClose = options.beforeclose; }
_create: function() { this.originalTitle = this.element.attr('title'); var self = this, options = self.options, title = options.title || self.originalTitle || '&#160;', titleId = $.ui.dialog.getTitleId(self.element), uiDialog = (self.uiDialog = $('<div></div>')) .appendTo(document.body) .hide() .add...
newVal = curVal + ( (self._valueMax() - self._valueMin()) / numPages );
newVal = self._trimAlignValue( curVal + ( (self._valueMax() - self._valueMin()) / numPages ) );
_create: function() { var self = this, o = this.options; this._keySliding = false; this._mouseSliding = false; this._animateOff = true; this._handleIndex = null; this._detectOrientation(); this._mouseInit(); this.element .addClass( "ui-slider" + " ui-slider-" + this.orientation + " ui-widget" + " ...
newVal = curVal - ( (self._valueMax() - self._valueMin()) / numPages );
newVal = self._trimAlignValue( curVal - ( (self._valueMax() - self._valueMin()) / numPages ) );
_create: function() { var self = this, o = this.options; this._keySliding = false; this._mouseSliding = false; this._animateOff = true; this._handleIndex = null; this._detectOrientation(); this._mouseInit(); this.element .addClass( "ui-slider" + " ui-slider-" + this.orientation + " ui-widget" + " ...
this._mouseSliding = false;
_create: function() { var self = this, o = this.options; this._keySliding = false; this._animateOff = true; this._handleIndex = null; this._detectOrientation(); this._mouseInit(); this.element .addClass("ui-slider" + " ui-slider-" + this.orientation + " ui-widget" + " ui-widget-content" + " ui-cor...
if ( !$( event.target ).closest( ".ui-menu-item" ).length ) {
if ( !$( event.target ).closest( ".ui-menu-item a" ).length ) {
_create: function() { var self = this; this.element .addClass("ui-menu ui-widget ui-widget-content ui-corner-all") .attr({ role: "listbox", "aria-activedescendant": "ui-active-menuitem" }) .click(function( event ) { if ( !$( event.target ).closest( ".ui-menu-item" ).length ) { return; } //...
self.headers.find( ":first-child" ).addClass( "ui-accordion-heading" );
_create: function() { var self = this, options = self.options; self.running = 0; self.element .addClass( "ui-accordion ui-widget ui-helper-reset" ) // in lack of child-selectors in CSS // we need to mark top-LIs in a UL-accordion for some IE-fix .children( "li" ) .addClass( "ui-accordion-li-fix" ); se...
_create: function() { this.value(this.options.value !== null ? this.options.value : this.element.val());
_create: function() { var min = this.element.attr("min"); if (typeof min == "string" && min.length > 0) { this.options.min = this._parse(min); } var max = this.element.attr("max"); if (typeof max == "string" && max.length > 0) { this.options.max = this._parse(max); } var step = this.element.attr("step"); if (typeof s...
_create: function() { this.value(this.options.value !== null ? this.options.value : this.element.val()); this._draw(); this._mousewheel(); this._aria(); },
var items = this.element.children("li") .addClass("ui-menu-item") .attr("role", "menuitem"); items.children("a") .addClass("ui-corner-all") .attr("tabindex", -1) .mouseenter(function() { self.activate($(this).parent()); });
this.refresh();
_create: function() { var self = this; this.element .addClass("ui-menu ui-widget ui-widget-content ui-corner-all") .attr({ role: "menu", "aria-activedescendant": "ui-active-menuitem" }) .click(function(e) { // temporary e.preventDefault(); self.select(); }); var items = this.element.childre...
self._start(event, index);
var allowed = self._start(event, index); if (allowed === false) { return; }
_create: function() { var self = this, o = this.options; this._keySliding = false; this._mouseSliding = false; this._animateOff = true; this._handleIndex = null; this._detectOrientation(); this._mouseInit(); this.element .addClass("ui-slider" + " ui-slider-" + this.orientation + " ui-widget" + " ui-...
if ($.isFunction(options.beforeclose) && !$.isFunction(options.beforeClose)) { options.beforeClose = options.beforeclose; }
_create: function() { this.originalTitle = this.element.attr('title'); // #5742 - .attr() might return a DOMElement if ( typeof this.originalTitle !== "string" ) { this.originalTitle = ""; } this.options.title = this.options.title || this.originalTitle; var self = this, options = self.options, title = opti...
this.value(this.element.val() || this.options.value);
this.value(this.options.value !== null ? this.options.value : this.element.val());
_create: function() { this.value(this.element.val() || this.options.value); this._draw(); this._mousewheel(); this._aria(); },
_create: function() { var self = this, options = self.options; self.running = 0; self.element .addClass( "ui-accordion ui-widget ui-helper-reset" ) .children( "li" ) .addClass( "ui-accordion-li-fix" ); self.headers = self.element.find( options.header ) .addClass( "ui-accordion-header ui-helper-reset ui-state-defau...
prototype._create = function() { if ( this.options.navigation ) { var self = this, headers = this.element.find( this.options.header ), content = headers.next(); current = headers.add( content ) .find( "a" ) .filter( this.options.navigationFilter ) [ 0 ]; if ( current ) { headers.add( content ).each( function( index ) {...
_create: function() { var self = this, options = self.options; self.running = 0; self.element .addClass( "ui-accordion ui-widget ui-helper-reset" ) // in lack of child-selectors in CSS // we need to mark top-LIs in a UL-accordion for some IE-fix .children( "li" ) .addClass( "ui-accordion-li-fix" ); se...
self.active = self._findActive( self.active || options.active ) .addClass( "ui-state-default ui-state-active" ) .toggleClass( "ui-corner-all" ) .toggleClass( "ui-corner-top" ); self.active.next().addClass( "ui-accordion-content-active" ); self._createIcons(); self.resize(); self.element.attr( "role", "tablist" ); s...
_create.call( this ); };
_create: function() { var self = this, options = self.options; self.running = 0; self.element .addClass( "ui-accordion ui-widget ui-helper-reset" ) // in lack of child-selectors in CSS // we need to mark top-LIs in a UL-accordion for some IE-fix .children( "li" ) .addClass( "ui-accordion-li-fix" ); se...
(options.bgiframe && $.fn.bgiframe && uiDialog.bgiframe());
($.fn.bgiframe && uiDialog.bgiframe());
_create: function() { this.originalTitle = this.element.attr('title'); var self = this, options = self.options, title = options.title || self.originalTitle || '&#160;', titleId = $.ui.dialog.getTitleId(self.element), uiDialog = (self.uiDialog = $('<div></div>')) .appendTo(document.body) .hide() .add...
.click(function(e) { if ( !$( e.target ).closest( ".ui-menu-item" ).length ) {
.click(function( event ) { if ( !$( event.target ).closest( ".ui-menu-item" ).length ) {
_create: function() { var self = this; this.element .addClass("ui-menu ui-widget ui-widget-content ui-corner-all") .attr({ role: "listbox", "aria-activedescendant": "ui-active-menuitem" }) .click(function(e) { if ( !$( e.target ).closest( ".ui-menu-item" ).length ) { return; } // temporary...
e.preventDefault(); self.select();
event.preventDefault(); self.select( event );
_create: function() { var self = this; this.element .addClass("ui-menu ui-widget ui-widget-content ui-corner-all") .attr({ role: "listbox", "aria-activedescendant": "ui-active-menuitem" }) .click(function(e) { if ( !$( e.target ).closest( ".ui-menu-item" ).length ) { return; } // temporary...
this.element.addClass( "ui-button-set" );
this.element.addClass( "ui-buttonset" );
_create: function() { this.element.addClass( "ui-button-set" ); this._init(); },
(options.closeOnEscape && event.keyCode && event.keyCode == $.ui.keyCode.ESCAPE && self.close(event));
if (options.closeOnEscape && event.keyCode && event.keyCode == $.ui.keyCode.ESCAPE) { self.close(event); event.preventDefault(); }
_create: function() { this.originalTitle = this.element.attr('title'); var self = this, options = self.options, title = options.title || self.originalTitle || '&#160;', titleId = $.ui.dialog.getTitleId(self.element), uiDialog = (self.uiDialog = $('<div></div>')) .appendTo(document.body) .hide() .add...
newVal = curVal + step;
newVal = self._trimAlignValue( curVal + step );
_create: function() { var self = this, o = this.options; this._keySliding = false; this._mouseSliding = false; this._animateOff = true; this._handleIndex = null; this._detectOrientation(); this._mouseInit(); this.element .addClass( "ui-slider" + " ui-slider-" + this.orientation + " ui-widget" + " ...
newVal = curVal - step;
newVal = self._trimAlignValue( curVal - step );
_create: function() { var self = this, o = this.options; this._keySliding = false; this._mouseSliding = false; this._animateOff = true; this._handleIndex = null; this._detectOrientation(); this._mouseInit(); this.element .addClass( "ui-slider" + " ui-slider-" + this.orientation + " ui-widget" + " ...
this.helper = $(document.createElement('div')) .css({border:'1px dotted black'}) .addClass("ui-selectable-helper");
this.helper = $("<div class='ui-selectable-helper'>");
_create: function() { var self = this; this.element.addClass("ui-selectable"); this.dragged = false; // cache selectee children based on filter var selectees; this.refresh = function() { selectees = $(self.options.filter, self.element[0]); selectees.each(function() { var $this = $(this); var pos = $thi...
var current = this.element.find("a").filter(o.navigationFilter);
var current = this.element.find("a").filter(o.navigationFilter).eq(0);
_create: function() { var o = this.options, self = this; this.running = 0; this.element.addClass("ui-accordion ui-widget ui-helper-reset"); // in lack of child-selectors in CSS we need to mark top-LIs in a UL-accordion for some IE-fix this.element.children("li").addClass("ui-accordion-li-fix"); this.headers = ...
this.headers = this.element.find(o.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all") .bind("mouseenter.accordion", function(){ $(this).addClass('ui-state-hover'); }) .bind("mouseleave.accordion", function(){ $(this).removeClass('ui-state-hover'); }) .bind("focus.accordion", function...
this.headers = this.element.find(o.header) .addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all") .bind("mouseenter.accordion", function() { if (o.disabled) { return; } $(this).addClass('ui-state-hover'); }) .bind("mouseleave.accordion", function() { if (o.disabled) { return; } $(this).removeCl...
_create: function() { var o = this.options, self = this; this.running = 0; this.element.addClass("ui-accordion ui-widget ui-helper-reset"); // in lack of child-selectors in CSS we need to mark top-LIs in a UL-accordion for some IE-fix this.element.children("li").addClass("ui-accordion-li-fix"); this.headers = ...
_createButtons: function(buttons) { var self = this, hasButtons = false, uiDialogButtonPane = $('<div></div>') .addClass( 'ui-dialog-buttonpane ' + 'ui-widget-content ' + 'ui-helper-clearfix' ); this.uiDialog.find('.ui-dialog-buttonpane').remove(); (typeof buttons == 'object' && buttons !== null && $.each(buttons, f...
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
_createButtons: function(buttons) { var self = this, hasButtons = false, uiDialogButtonPane = $('<div></div>') .addClass( 'ui-dialog-buttonpane ' + 'ui-widget-content ' + 'ui-helper-clearfix' ); // if we already have a button pane, remove it this.uiDialog.find('.ui-dialog-buttonpane').remove()...
);
), uiButtonSet = $( "<div></div>" ) .addClass( "ui-dialog-buttonset" ) .appendTo( uiDialogButtonPane );
_createButtons: function(buttons) { var self = this, hasButtons = false, uiDialogButtonPane = $('<div></div>') .addClass( 'ui-dialog-buttonpane ' + 'ui-widget-content ' + 'ui-helper-clearfix' ); // if we already have a button pane, remove it self.uiDialog.find('.ui-dialog-buttonpane').remove()...
.appendTo(uiDialogButtonPane);
.appendTo(uiButtonSet);
_createButtons: function(buttons) { var self = this, hasButtons = false, uiDialogButtonPane = $('<div></div>') .addClass( 'ui-dialog-buttonpane ' + 'ui-widget-content ' + 'ui-helper-clearfix' ); // if we already have a button pane, remove it self.uiDialog.find('.ui-dialog-buttonpane').remove()...
var button = $('<button></button>', props)
var button = $('<button type="button"></button>', props)
_createButtons: function(buttons) { var self = this, hasButtons = false, uiDialogButtonPane = $('<div></div>') .addClass( 'ui-dialog-buttonpane ' + 'ui-widget-content ' + 'ui-helper-clearfix' ), uiButtonSet = $( "<div></div>" ) .addClass( "ui-dialog-buttonset" ) .appendTo( uiDialogButton...
_createHelper: function(event) { var o = this.options; var helper = $.isFunction(o.helper) ? $(o.helper.apply(this.element[0], [event])) : (o.helper == 'clone' ? this.element.clone() : this.element); if(!helper.parents('body').length) helper.appendTo((o.appendTo == 'parent' ? this.element[0].parentNode : o.appendTo))...
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
_createHelper: function(event) { var o = this.options; var helper = $.isFunction(o.helper) ? $(o.helper.apply(this.element[0], [event])) : (o.helper == 'clone' ? this.element.clone() : this.element); if(!helper.parents('body').length) helper.appendTo((o.appendTo == 'parent' ? this.element[0].parentNode : o.append...
this.active.find(".ui-icon").toggleClass(o.icons.header).toggleClass(o.icons.headerSelected);
this.active.children(".ui-icon").toggleClass(o.icons.header).toggleClass(o.icons.headerSelected);
_createIcons: function() { var o = this.options; if (o.icons) { $("<span/>").addClass("ui-icon " + o.icons.header).prependTo(this.headers); this.active.find(".ui-icon").toggleClass(o.icons.header).toggleClass(o.icons.headerSelected); this.element.addClass("ui-accordion-icons"); } },
var setAttr = this._Dom.setAttribute;
_createTransportFrame: function() { var _RT = this._RT; var frame = document.getElementById(this._FRAME_ID); //normally this code should not be called //but just to be sure var setAttr = this._Dom.setAttribute; if (!frame) { if (!_RT.browser.isIE) { ...
setAttr(frame, "src", "about:blank"); setAttr(frame, "id", this._FRAME_ID); setAttr(frame, "name", this._FRAME_ID); setAttr(frame, "type", "content"); setAttr(frame, "collapsed", "true"); setAttr(frame, "style", "display:none");
this._Dom.setAttribute(frame, "src", "about:blank"); this._Dom.setAttribute(frame, "id", this._FRAME_ID); this._Dom.setAttribute(frame, "name", this._FRAME_ID); this._Dom.setAttribute(frame, "type", "content"); this._Dom.setAttribute(frame, "collapsed", "true"); this._Dom.setAttribute(frame, "style", "display:none");
_createTransportFrame: function() { var _RT = this._RT; var frame = document.getElementById(this._FRAME_ID); //normally this code should not be called //but just to be sure var setAttr = this._Dom.setAttribute; if (!frame) { if (!_RT.browser.isIE) { ...
setAttr(node, "style", "display:none");
this._Dom.setAttribute(node, "style", "display:none");
_createTransportFrame: function() { var _RT = this._RT; var frame = document.getElementById(this._FRAME_ID); //normally this code should not be called //but just to be sure var setAttr = this._Dom.setAttribute; if (!frame) { if (!_RT.browser.isIE) { ...
$.metadata && $.metadata.get( element )[ this.widgetName ],
this._getCreateOptions(),
_createWidget: function( options, element ) { // $.widget.bridge stores the plugin instance, but we do it anyway // so that it's stored even before the _create function runs $.data( element, this.widgetName, this ); this.element = $( element ); this.options = $.extend( true, {}, this.options, $.metadata && $....
(function($){var _remove=$.fn.remove;$.fn.remove=function(selector,keepData){return this.each(function(){if(!keepData){if(!selector||$.filter(selector,[this]).length){$("*",this).add(this).each(function(){$(this).triggerHandler("remove")})}}return _remove.call($(this),selector,keepData)})};$.widget=function(name,base,p...
_createWidget: function( options, element ) { this.element = $( element ).data( this.widgetName, this ); this.options = $.extend( true, {}, this.options, $.metadata && $.metadata.get( element )[ this.widgetName ], options ); var self = this; this.element.bind( "remove." + this.widgetName, function() { self.destroy()...
(function($){var _remove=$.fn.remove;$.fn.remove=function(selector,keepData){return this.each(function(){if(!keepData){if(!selector||$.filter(selector,[this]).length){$("*",this).add(this).each(function(){$(this).triggerHandler("remove")})}}return _remove.call($(this),selector,keepData)})};$.widget=function(name,base,p...
this.element = $( element ).data( this.widgetName, this );
$.data( element, this.widgetName, this ); this.element = $( element );
_createWidget: function( options, element ) { // $.widget.bridge stores the plugin instance, but we do it anyway // so that it's stored even before the _create function runs this.element = $( element ).data( this.widgetName, this ); this.options = $.extend( true, {}, this.options, $.metadata && $.metadata.get(...
if ( this._create ) { this._create( options, element ); } if ( this._init ) { this._init(); }
this._create( options, element ); this._init();
_createWidget: function( options, element ) { // $.widget.bridge stores the plugin instance, but we do it anyway // so that it's stored even before the _create function runs this.element = $( element ).data( this.widgetName, this ); this.options = $.extend( true, {}, this.options, // DEPRECATED: move defaults ...
this.element.bind( "remove." + this.widgetName, function() {
this.element.bind( "remove." + this.widgetName, function(event) { console.log('remove', event);
_createWidget: function( options, element ) { // $.widget.bridge stores the plugin instance, but we do it anyway // so that it's stored even before the _create function runs this.element = $( element ).data( this.widgetName, this ); this.options = $.extend( true, {}, this.options, $.metadata && $.metadata.get(...
this._prefs.ignore("useTextColor", this.onUseColorChanged, this); this._prefs.ignore("useAccentColor", this.onUseColorChanged, this);
Observers.remove("cookie-changed", this.onCookieChanged, this); this._prefs.ignore("useTextColor", this.onUseColorChanged, this); this._prefs.ignore("useAccentColor", this.onUseColorChanged, this); this._prefs.ignore("selected", this.onSelectedModeChanged, this);
_destroy: function() { this._prefs.ignore("useTextColor", this.onUseColorChanged, this); this._prefs.ignore("useAccentColor", this.onUseColorChanged, this); },
_detectOrientation: function() { this.orientation = this.options.orientation == 'vertical' ? 'vertical' : 'horizontal'; },
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
_detectOrientation: function() { this.orientation = this.options.orientation == 'vertical' ? 'vertical' : 'horizontal'; },
.find( "[for=" + this.element.attr("id") + "]" );
.find( "label[for=" + this.element.attr("id") + "]" );
_determineButtonType: function() { if ( this.element.is(":checkbox") ) { this.type = "checkbox"; } else { if ( this.element.is(":radio") ) { this.type = "radio"; } else { if ( this.element.is("input") ) { this.type = "input"; } else { this.type = "button"; } } } if ( this.type === "...
this.buttonElement = $( "[for=" + this.element.attr("id") + "]" );
this.buttonElement = this.element.parents().last() .find( "[for=" + this.element.attr("id") + "]" );
_determineButtonType: function() { this.type = this.element.is( ":checkbox" ) ? "checkbox" : this.element.is( ":radio" ) ? "radio" : this.element.is( "input" ) ? "input" : "button"; if ( this.type === "checkbox" || this.type === "radio" ) { this.buttonElement = $( "[for=" + this.element.attr("id"...
this.element.hide();
this.element.addClass('ui-helper-hidden-accessible');
_determineButtonType: function() { this.type = this.element.is( ":checkbox" ) ? "checkbox" : this.element.is( ":radio" ) ? "radio" : this.element.is( "input" ) ? "input" : "button"; if ( this.type === "checkbox" || this.type === "radio" ) { this.buttonElement = $( "[for=" + this.element.attr("id"...
date = (date == null ? defaultDate : (typeof date == 'string' ? offsetString(date) : (typeof date == 'number' ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : date))); date = (date && date.toString() == 'Invalid Date' ? defaultDate : date); if (date) { date.setHours(0); date.setMinutes(0); date.setSeconds(0); date...
var newDate = (date == null ? defaultDate : (typeof date == 'string' ? offsetString(date) : (typeof date == 'number' ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime())))); newDate = (newDate && newDate.toString() == 'Invalid Date' ? defaultDate : newDate); if (newDate) { newDate.setHours(0);...
_determineDate: function(inst, date, defaultDate) { var offsetNumeric = function(offset) { var date = new Date(); date.setDate(date.getDate() + offset); return date; }; var offsetString = function(offset) { try { return $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'), offset, $.datepicke...
return this._daylightSavingAdjust(date);
return this._daylightSavingAdjust(newDate);
_determineDate: function(inst, date, defaultDate) { var offsetNumeric = function(offset) { var date = new Date(); date.setDate(date.getDate() + offset); return date; }; var offsetString = function(offset) { try { return $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'), offset, $.datepicke...
document.location.href = jwplayer.html5.utils.getAbsolutePath(player.getPlaylist()[player.getConfig().item].sources[0]);
document.location.href = jwplayer.html5.utils.getAbsolutePath(player.getPlaylist()[player.getConfig().item].levels[0]);
function _displayClickHandler(player) { return function(evt) { if (player._media === undefined) { document.location.href = jwplayer.html5.utils.getAbsolutePath(player.getPlaylist()[player.getConfig().item].sources[0]); return; } if (typeof evt.preventDefault != 'undefined') { evt.preventDefault(); // W...
if (typeof evt.preventDefault != 'undefined') {
if (typeof evt.preventDefault != "undefined") {
function _displayClickHandler(evt) { /*if (player._media === undefined) { document.location.href = jwplayer.html5.utils.getAbsolutePath(player.getPlaylist()[player.getConfig().item].levels[0]); return; }*/ if (typeof evt.preventDefault != 'undefined') { evt.preventDefault(); // W3C } else { evt.r...
case 13: var sel = $('td.' + $.datepicker._dayOverClass, inst.dpDiv). add($('td.' + $.datepicker._currentClass, inst.dpDiv));
case 13: var sel = $('td.' + $.datepicker._dayOverClass + ':not(.' + $.datepicker._currentClass + ')', inst.dpDiv);
_doKeyDown: function(event) { var inst = $.datepicker._getInst(event.target); var handled = true; var isRTL = inst.dpDiv.is('.ui-datepicker-rtl'); inst._keyEvent = true; if ($.datepicker._datepickerShowing) switch (event.keyCode) { case 9: $.datepicker._hideDatepicker(); handled = false; break; // ...
return event.ctrlKey || (chr < ' ' || !chars || chars.indexOf(chr) > -1);
return event.ctrlKey || event.metaKey || (chr < ' ' || !chars || chars.indexOf(chr) > -1);
_doKeyPress: function(event) { var inst = $.datepicker._getInst(event.target); if ($.datepicker._get(inst, 'constrainInput')) { var chars = $.datepicker._possibleChars($.datepicker._get(inst, 'dateFormat')); var chr = String.fromCharCode(event.charCode == undefined ? event.keyCode : event.charCode); return eve...
var uiSpinner = self.element
var uiSpinner = this.uiSpinner = self.element
_draw: function() { var self = this, options = self.options; var uiSpinner = self.element .addClass('ui-spinner-input') .attr('autocomplete', 'off') .wrap(self._uiSpinnerHtml()) .parent() // add buttons .append(self._buttonHtml()) // add behaviours .hover(function() { if (!options.disabled)...
if (options.disabled) { this.disable(); }
_draw: function() { var self = this, options = self.options; var uiSpinner = self.element .addClass('ui-spinner-input') .attr('autocomplete', 'off') .wrap(self._uiSpinnerHtml()) .parent() // add buttons .append(self._buttonHtml()) // add behaviours .hover(function() { if (!options.disabled)...
.bind('mousedown', function(event) {
.bind('mousedown', function(event) { if (self.options.disabled) { return; }
_draw: function() { var self = this, options = self.options; var uiSpinner = self.element .addClass('ui-spinner-input') .attr('autocomplete', 'off') .wrap(self._uiSpinnerHtml()) .parent() // add buttons .append(self._buttonHtml()) // add behaviours .hover(function() { if (!options.disabled)...
})
});
_draw: function() { var self = this, options = self.options; var uiSpinner = self.element .addClass('ui-spinner-input') .attr('autocomplete', 'off') .wrap(self._uiSpinnerHtml()) .parent() // add buttons .append(self._buttonHtml()) // add behaviours .hover(function() { if (!options.disabled)...
self.uiSpinner = uiSpinner;
if (options.disabled) { this.disable(); }
_draw: function() { var self = this, options = self.options; var uiSpinner = self.element .addClass('ui-spinner-input') .attr('autocomplete', 'off') .wrap(self._uiSpinnerHtml()) .parent() // add buttons .append(self._buttonHtml()) // add behaviours .hover(function() { if (!options.disabled)...
if (!$.support.opacity && uiSpinner.css('display') == 'inline-block' && $.browser.version < 8) { uiSpinner.css('display', 'inline'); }
_draw: function() { var self = this, options = self.options; var uiSpinner = this.uiSpinner = self.element .addClass('ui-spinner-input') .attr('autocomplete', 'off') .wrap(self._uiSpinnerHtml()) .parent() // add buttons .append(self._buttonHtml()) // add behaviours .hover(function() { if (!...
var extension = jwplayer.html5.utils.extension(sourceModel.file);
var extension = jwplayer.utils.extension(sourceModel.file);
function _embed(playlistItem) { _model.duration = playlistItem.duration; _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; _error = false; _sourceError = 0; for (var sourceIndex = 0; sourceIndex < playlistItem.levels.length; sourceIndex++...
_sourceError = 0;
_embed = function(playlistItem) { var vid = document.createElement("video"); vid.preload = "none"; vid.loop = _model.config.repeat; for (var sourceIndex in playlistItem.levels) { var sourceModel = playlistItem.levels[sourceIndex]; var source = _container.ownerDocument.createElement("source"); source....
var source = _container.ownerDocument.createElement("source"); source.src = jwplayer.html5.utils.getAbsolutePath(sourceModel.file);
var sourceType;
function _embed(playlistItem) { _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { //vid.loop = true; } _sourceError = 0; for (var sourceInd...
source.type = jwplayer.html5.extensionmap[extension];
sourceType = jwplayer.html5.extensionmap[extension];
function _embed(playlistItem) { _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { //vid.loop = true; } _sourceError = 0; for (var sourceInd...
source.type = 'video/' + extension + ';';
sourceType = 'video/' + extension + ';';
function _embed(playlistItem) { _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { //vid.loop = true; } _sourceError = 0; for (var sourceInd...
source.type = sourceModel.type;
sourceType = sourceModel.type;
function _embed(playlistItem) { _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { //vid.loop = true; } _sourceError = 0; for (var sourceInd...
if (vid.canPlayType(sourceType) === ""){ continue; } var source = _container.ownerDocument.createElement("source"); source.src = jwplayer.html5.utils.getAbsolutePath(sourceModel.file); source.type = sourceType;
function _embed(playlistItem) { _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { //vid.loop = true; } _sourceError = 0; for (var sourceInd...
if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { }
function _embed(playlistItem) { _model.duration = playlistItem.duration; _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { //vid.loop = true; ...
if (_sourceError === 0) { _error = true; _eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_ERROR, { error: "The video could not be loaded because the format is not supported by your browser: " +joinFiles() }); }
function _embed(playlistItem) { _model.duration = playlistItem.duration; _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { //vid.loop = true; ...
if (jwplayer.utils.html5CanPlay(vid, sourceModel)) {
if (jwplayer.utils.html5CanPlay(vid, sourceModel.file)) {
function _embed(playlistItem) { _model.duration = playlistItem.duration; _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; _error = false; _sourceError = 0; for (var sourceIndex = 0; sourceIndex < playlistItem.levels.length; sourceIndex++...
if (_model.config.chromeless) { vid.poster = jwplayer.html5.utils.getAbsolutePath(playlistItem.image); vid.controls = "controls"; }
function _embed(playlistItem) { _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { //vid.loop = true; } _sourceError = 0; for (var sourceInd...
vid.loop = _model.config.repeat;
if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE){ }
_embed = function(playlistItem) { _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; vid.loop = _model.config.repeat; _sourceError = 0; for (var sourceIndex in playlistItem.levels) { var sourceModel = playlistItem.levels[sourceIndex]; var source = _containe...
_sourceError++;
function _embed(playlistItem) { _hasChrome = false; _currentItem = playlistItem; var vid = document.createElement("video"); vid.preload = "none"; if (_model.config.repeat.toUpperCase() == jwplayer.html5.controller.repeatoptions.SINGLE) { //vid.loop = true; } _sourceError = 0; for (var sourceInd...
width: _container.style.width, height: _container.style.height
width: document.getElementById(model.id).style.width, height: document.getElementById(model.id).style.height
function _embedYouTube(path) { var object = document.createElement("object"); path = ["http://www.youtube.com/v/", path.replace(/^[^v]+v.(.{11}).*/, "$1"), "&amp;hl=en_US&amp;fs=1&autoplay=1"].join(""); var objectParams = { movie: path, allowFullScreen: "true", allowscriptaccess: "always" }; for (v...
object.style.width = _container.style.width; object.style.height = _container.style.height;
object.style.width = document.getElementById(model.id).style.width; object.style.height = document.getElementById(model.id).style.height;
function _embedYouTube(path) { var object = document.createElement("object"); path = ["http://www.youtube.com/v/", path.replace(/^[^v]+v.(.{11}).*/, "$1"), "&amp;hl=en_US&amp;fs=1&autoplay=1"].join(""); var objectParams = { movie: path, allowFullScreen: "true", allowscriptaccess: "always" }; for (v...
_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_ERROR, event.target);
_stop(); var message = "There was an error: "; if (event.target.error || event.target.parentNode.error) { var element = event.target.error === undefined ? event.target.parentNode.error : event.target.error; switch (element.code) { case element.MEDIA_ERR_ABORTED: message = "You aborted the video playback: "; break; case...
function _errorHandler(event) { _eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_ERROR, event.target); }
function _errorHandler(event) { _eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_ERROR, event.target);
function _errorHandler(evt){ _hideDisplayIcon(); _display.display_text.innerHTML = "<p>"+evt.error+"</p>"; _show(_display.display_text); _display.display_text.style.top = ((_height - _display.display_text.getBoundingClientRect().height) / 2) + "px";
function _errorHandler(event) { _eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_ERROR, event.target); }
console.log(event);
function _errorHandler(event) { _stop(); var message = "There was an error: "; if (event.target.error || event.target.parentNode.error) { var element = event.target.error === undefined ? event.target.parentNode.error : event.target.error; switch (element.code) { case element.MEDIA_ERR_ABORTED: me...
function _errorHandler(evt){
function _errorHandler(evt) { _error = true;
function _errorHandler(evt){ _hideDisplayIcon(); _display.display_text.innerHTML = evt.error; _show(_display.display_text); _display.display_text.style.top = ((_height - _display.display_text.getBoundingClientRect().height) / 2) + "px"; }
function _errorHandler(evt) {
function _errorHandler(event) { _stop(); var message = "There was an error: "; if (event.target.error || event.target.parentNode.error) { var element = event.target.error === undefined ? event.target.parentNode.error : event.target.error; switch (element.code) { case element.MEDIA_ERR_ABORTED: message = "You aborted th...
function _errorHandler(evt) { _error = true; _hideDisplayIcon(); _display.display_text.innerHTML = evt.error; _show(_display.display_text); _display.display_text.style.top = ((_height - _display.display_text.getBoundingClientRect().height) / 2) + "px"; }
_hideDisplayIcon(); _display.display_text.innerHTML = evt.error; _show(_display.display_text); _display.display_text.style.top = ((_height - _display.display_text.getBoundingClientRect().height) / 2) + "px";
_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_ERROR, { error: message }); return;
function _errorHandler(evt) { _error = true; _hideDisplayIcon(); _display.display_text.innerHTML = evt.error; _show(_display.display_text); _display.display_text.style.top = ((_height - _display.display_text.getBoundingClientRect().height) / 2) + "px"; }
_sourceError++; if (_sourceError != _currentItem.levels.length) {
_sourceError--; if (_sourceError > 0) {
function _errorHandler(event) { _stop(); var message = "There was an error: "; if (event.target.error || event.target.parentNode.error) { var element = event.target.error === undefined ? event.target.parentNode.error : event.target.error; switch (element.code) { case element.MEDIA_ERR_ABORTED: me...
_error = true;
function _errorHandler(event) { _stop(); var message = "There was an error: "; if (event.target.error || event.target.parentNode.error) { var element = event.target.error === undefined ? event.target.parentNode.error : event.target.error; switch (element.code) { case element.MEDIA_ERR_ABORTED: me...
_wrapper.style.opacity = 1; if (_fadeOutTimeout !== undefined) { clearTimeout(_fadeOutTimeout); } _fadeOutTimeout = setTimeout(function() { jwplayer.html5.utils.fadeTo(_wrapper, 0, 0.1, 1); _fadeOutTimeout = undefined; }, 2000);
jwplayer.html5.utils.cancelAnimation(_wrapper); jwplayer.html5.utils.fadeTo(_wrapper, 0, 0.1, 1, 2);
function _fadeOut() { _wrapper.style.opacity = 1; if (_fadeOutTimeout !== undefined) { clearTimeout(_fadeOutTimeout); } _fadeOutTimeout = setTimeout(function() { jwplayer.html5.utils.fadeTo(_wrapper, 0, 0.1, 1); _fadeOutTimeout = undefined; }, 2000); }
_findActive: function(selector) { return selector ? typeof selector == "number" ? this.headers.filter(":eq(" + selector + ")") : this.headers.not(this.headers.not(selector)) : selector === false ? $([]) : this.headers.filter(":eq(0)"); },
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
_findActive: function(selector) { return selector ? typeof selector == "number" ? this.headers.filter(":eq(" + selector + ")") : this.headers.not(this.headers.not(selector)) : selector === false ? $([]) : this.headers.filter(":eq(0)"); },
this.element.val( window.Globalization ? Globalization.format(num, this.options.numberformat) : num );
this.element.val( window.Globalization && this.options.numberformat ? Globalization.format(num, this.options.numberformat) : num );
_format: function(num) { this.element.val( window.Globalization ? Globalization.format(num, this.options.numberformat) : num ); },
editor += '<div id="wysiwyg_div_' + n + '" style="width:' + currentWidth +';">'; editor += '<table border="0" cellpadding="0" cellspacing="0" class="tableTextareaEditor" id="wysiwyg_table_' + n + '" style="width:' + currentWidth + '; height:' + currentHeight + ';">';
editor += '<div id="wysiwyg_div_' + n + '" style="width:100%;">'; editor += '<table border="0" cellpadding="0" cellspacing="0" class="tableTextareaEditor" id="wysiwyg_table_' + n + '" style="width:100%; height:' + currentHeight + ';">';
_generate: function(n, settings) { // Get the textarea element var textarea = $(n); // Validate if textarea exists if(textarea == null) { alert("No textarea found with the given identifier (ID: " + n + ")."); return; } // Validate browser compatiblity if(!WYSIWYG_Core.isBrowserCompatible()) {...
html += '<select class="ui-datepicker-year" ' +
inst.yearshtml += '<select class="ui-datepicker-year" ' +
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate, secondary, monthNames, monthNamesShort) { var changeMonth = this._get(inst, 'changeMonth'); var changeYear = this._get(inst, 'changeYear'); var showMonthAfterYear = this._get(inst, 'showMonthAfterYear'); var html = '<div class="ui-da...
html += '<option value="' + year + '"' +
inst.yearshtml += '<option value="' + year + '"' +
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate, secondary, monthNames, monthNamesShort) { var changeMonth = this._get(inst, 'changeMonth'); var changeYear = this._get(inst, 'changeYear'); var showMonthAfterYear = this._get(inst, 'showMonthAfterYear'); var html = '<div class="ui-da...
html += '</select>';
inst.yearshtml += '</select>'; if( ! $.browser.mozilla ){ html += inst.yearshtml; inst.yearshtml = null; } else { html += '<select class="ui-datepicker-year"><option value="' + drawYear + '" selected="selected">' + drawYear + '</option></select>'; }
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate, secondary, monthNames, monthNamesShort) { var changeMonth = this._get(inst, 'changeMonth'); var changeYear = this._get(inst, 'changeYear'); var showMonthAfterYear = this._get(inst, 'showMonthAfterYear'); var html = '<div class="ui-da...
var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
_generatePosition: function(event) { var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName); var pageX = even...
_generatePosition: function(event) { var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName); if(this.cssPo...
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
_generatePosition: function(event) { var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName); // This is anoth...
var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
_generatePosition: function(event) { var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName); // This is anoth...
+ ($.browser.safari && this.cssPosition == 'fixed' ? 0 : ( this.cssPosition == 'fixed' ? -this.scrollParent.scrollTop() : ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ))
+ ($.browser.safari && $.browser.version < 526 && this.cssPosition == 'fixed' ? 0 : ( this.cssPosition == 'fixed' ? -this.scrollParent.scrollTop() : ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ))
_generatePosition: function(event) { var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName); // This is anoth...
+ ($.browser.safari && this.cssPosition == 'fixed' ? 0 : ( this.cssPosition == 'fixed' ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft() ))
+ ($.browser.safari && $.browser.version < 526 && this.cssPosition == 'fixed' ? 0 : ( this.cssPosition == 'fixed' ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft() ))
_generatePosition: function(event) { var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName); // This is anoth...
,useCaptureMap={focus:FOCUS_DELEGATED,blur:BLUR_DELEGATED},Event={get:get,getTarget:getTarget,add:addCallback,addCallback:addCallback,remove:removeCallback,removeCallback:removeCallback,preventDefault:preventDefault,stopPropagation:stopPropagation,toString:function(){return"APE.dom.Event"}};function get(src,sEvent){get...
,useCaptureMap={focus:FOCUS_DELEGATED,blur:BLUR_DELEGATED},Event={get:get,getTarget:getTarget,add:addCallback,addCallback:addCallback,remove:removeCallback,removeCallback:removeCallback,preventDefault:preventDefault,stopPropagation:stopPropagation,toString:function(){return"APE.dom.Event"}};function get(src,sEvent){get...
,useCaptureMap={focus:FOCUS_DELEGATED,blur:BLUR_DELEGATED},Event={get:get,getTarget:getTarget,add:addCallback,addCallback:addCallback,remove:removeCallback,removeCallback:removeCallback,preventDefault:preventDefault,stopPropagation:stopPropagation,toString:function(){return"APE.dom.Event"}};function get(src,sEvent){get...
this._applyConfig(ret, "alarmThreshold", this._PAR_ERRORLEVEL); this._applyConfig(ret, "queueSize", this._PAR_QUEUESIZE); this._applyConfig(ret, "timeout", this._PAR_TIMEOUT); this._applyConfig(ret, "delay", this._PAR_DELAY);
this._applyConfig(ret, context, "alarmThreshold", this._PAR_ERRORLEVEL); this._applyConfig(ret, context, "queueSize", this._PAR_QUEUESIZE); this._applyConfig(ret, context, "timeout", this._PAR_TIMEOUT); this._applyConfig(ret, context, "delay", this._PAR_DELAY);
_getArguments: function(source, sourceForm, context, passThrgh) { var _RT = myfaces._impl.core._Runtime; var _getConfig = _RT.getLocalOrGlobalConfig; var _Lang = myfaces._impl._util._Lang; var ret = { "source": source, "sourceForm": sourceForm, "context":...
if (_getConfig(context, this._PAR_PPS, null) != null
if (_getConfig(context, this._PAR_PPS, false)
_getArguments: function(source, sourceForm, context, passThrgh) { var _RT = myfaces._impl.core._Runtime; var _getConfig = _RT.getLocalOrGlobalConfig; var _Lang = myfaces._impl._util._Lang; var ret = { "source": source, "sourceForm": sourceForm, "context":...
plugincss.top = getNumber(_box.style.top); plugincss.left = getNumber(_box.style.left); plugincss.width = _width - getNumber(_box.style.left) - getNumber(_box.style.right);
plugincss.top = parseDimension(_box.style.top); plugincss.left = parseDimension(_box.style.left); plugincss.width = _width - parseDimension(_box.style.left) - parseDimension(_box.style.right);
function _getComponentPosition(pluginName) { var plugincss = { position: "absolute", margin: 0, padding: 0, top: null }; var position = _model.plugins.config[pluginName].currentPosition.toLowerCase(); switch (position.toUpperCase()) { case jwplayer.html5.view.positions.TOP: plugincss.top = ...
_box.style[position] = getNumber(_box.style[position]) + _model.plugins.object[pluginName].height + "px"; _box.style.height = getNumber(_box.style.height) - plugincss.height + "px";
_box.style[position] = parseDimension(_box.style[position]) + _model.plugins.object[pluginName].height + "px"; _box.style.height = parseDimension(_box.style.height) - plugincss.height + "px";
function _getComponentPosition(pluginName) { var plugincss = { position: "absolute", margin: 0, padding: 0, top: null }; var position = _model.plugins.config[pluginName].currentPosition.toLowerCase(); switch (position.toUpperCase()) { case jwplayer.html5.view.positions.TOP: plugincss.top = ...
plugincss.top = getNumber(_box.style.top); plugincss.right = getNumber(_box.style.right);
plugincss.top = parseDimension(_box.style.top); plugincss.right = parseDimension(_box.style.right);
function _getComponentPosition(pluginName) { var plugincss = { position: "absolute", margin: 0, padding: 0, top: null }; var position = _model.plugins.config[pluginName].currentPosition.toLowerCase(); switch (position.toUpperCase()) { case jwplayer.html5.view.positions.TOP: plugincss.top = ...
plugincss.height = _height - getNumber(_box.style.top) - getNumber(_box.style.bottom); _box.style[position] = getNumber(_box.style[position]) + _model.plugins.object[pluginName].width + "px"; _box.style.width = getNumber(_box.style.width) - plugincss.width + "px";
plugincss.height = _height - parseDimension(_box.style.top) - parseDimension(_box.style.bottom); _box.style[position] = parseDimension(_box.style[position]) + _model.plugins.object[pluginName].width + "px"; _box.style.width = parseDimension(_box.style.width) - plugincss.width + "px";
function _getComponentPosition(pluginName) { var plugincss = { position: "absolute", margin: 0, padding: 0, top: null }; var position = _model.plugins.config[pluginName].currentPosition.toLowerCase(); switch (position.toUpperCase()) { case jwplayer.html5.view.positions.TOP: plugincss.top = ...
plugincss.bottom = getNumber(_box.style.bottom); plugincss.left = getNumber(_box.style.left); plugincss.width = _width - getNumber(_box.style.left) - getNumber(_box.style.right);
plugincss.bottom = parseDimension(_box.style.bottom); plugincss.left = parseDimension(_box.style.left); plugincss.width = _width - parseDimension(_box.style.left) - parseDimension(_box.style.right);
function _getComponentPosition(pluginName) { var plugincss = { position: "absolute", margin: 0, padding: 0, top: null }; var position = _model.plugins.config[pluginName].currentPosition.toLowerCase(); switch (position.toUpperCase()) { case jwplayer.html5.view.positions.TOP: plugincss.top = ...
plugincss.top = getNumber(_box.style.top); plugincss.left = getNumber(_box.style.left);
plugincss.top = parseDimension(_box.style.top); plugincss.left = parseDimension(_box.style.left);
function _getComponentPosition(pluginName) { var plugincss = { position: "absolute", margin: 0, padding: 0, top: null }; var position = _model.plugins.config[pluginName].currentPosition.toLowerCase(); switch (position.toUpperCase()) { case jwplayer.html5.view.positions.TOP: plugincss.top = ...