var leftElem = con.children('.w-divider-left'); var rightElem = con.children('.w-divider-right'); leftElem.add(rightElem).css({ height: 'auto', width: 'auto'
function setProgress(progress, contentRightZindex) { $('.content-right .content-right-'+contentRightZindex+' .loading.loading96 svg').css({ 'animation': 'none', 'transform': 'rotate(-90deg)', }); $('.content-right .content-right-'+contentRightZindex+' .loading.loading96 circle').css({ 'animation': 'none', 'stroke-dashoffset': 225, 'stroke-dasharray': 226 + ((422 - 226) * progress), }); }
// $.fn.offset doesn't round pixel values // so we use setOffset directly with our own function B-0 $.offset.setOffset($tip[0], $.extend({ using: function (props) { $tip.css({ top: Math.round(props.top), left: Math.round(props.left) }) } }, offset), 0)
$checkElements.each(function () { if ($(this).css("position") === "fixed") { isFixed = true; return false; } });
$.when( utils.load({ url: this.url }) ).done(function(data) { data.forEach(function (item,index) { rows.push(_this.templateRow(item)) }) $('#widget-' + _this.shell.id).css({"overflow-x":"auto"}); $('#widget-' + _this.shell.id).html( _this.template({ rows: rows.join('') }) ); _this.postFetch(); });
ngAfterContentInit ( ) { jQuery('.mat-input-wrapper').css( 'width', '100%' ); this.resizeFn ( ); }
$(document).on('mouseout touchleave', range_wrapper, function () { if (!range_mousedown) { var thumb = $(this).children('.thumb'); var paddingLeft = parseInt($(this).css('padding-left')); var marginLeft = 7 + paddingLeft + 'px'; if (thumb.hasClass('active')) { thumb.velocity({ height: '0', width: '0', top: '10px', marginLeft: marginLeft }, { duration: 100 }); } thumb.removeClass('active'); } });
// Move img src into background-image $slides.find('img').each(function () { var placeholderBase64 = 'data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='; if ($(this).attr('src') !== placeholderBase64) { $(this).css('background-image', 'url(' + $(this).attr('src') + ')' ); $(this).attr('src', placeholderBase64); } });
/////////////////////////////////////////////////////////////////// // Toggles OSS panel // /////////////////////////////////////////////////////////////////// onToggleOSS () { $('.oss-panel').css({ display: this.$toggleOSS.hasClass('active') ? 'none' : 'block' }) this.$toggleOSS.toggleClass('active') this.viewerPanel.onResize() }
///////////////////////////////////////////////////////////// // // ///////////////////////////////////////////////////////////// setVisible (show) { $('#' + this.dropdownId).css({ display: show ? 'block' : 'none' }) }
/////////////////////////////////////////////////////////////////// // Toggles OSS panel // /////////////////////////////////////////////////////////////////// onToggleOSS () { $('.left-panel').css({ display: this.$toggleOSS.hasClass('active') ? 'none' : 'block' }) this.$toggleOSS.toggleClass('active') this.viewerPanel.onResize() }
// $.fn.offset doesn't round pixel values // so we use setOffset directly with our own function B-0 $.offset.setOffset($tip[0], $.extend({ using: function (props) { $tip.css({ top: Math.round(props.top), left: Math.round(props.left) }) } }, offset), 0)
// $.fn.offset doesn't round pixel values // so we use setOffset directly with our own function B-0 $.offset.setOffset($tip[0], $.extend({ using: function (props) { $tip.css({ top: Math.round(props.top), left: Math.round(props.left) }) } }, offset), 0)