Некодим© 2020-2026 Некодим
Готовые модификации для вашего сайта. Улучшайте функциональность и дизайн без программирования.
clearInterval(this.checkInterval);
615 this.checkInterval = null;618 _content_set: function (content) {619 // clone if asked. Cloning the object makes sure that each instance has its own version of the content (in case a same object were provided for several instances)620 // reminder : typeof null === object621 if (typeof content === 'object' && content !== null && this.options.contentCloning) {622 content = content.cloneNode(true);625 this.Content = content;628 _content_insert: function () {630 var tooltipsterContent = self.tooltip.querySelector('.tooltipster-content');632 if (typeof self.Content === 'string' && !self.options.contentAsHTML) {633 tooltipsterContent.textContent = self.Content;635 tooltipsterContent.innerHTML = self.Content;639 _update: function (content) {641 // change the content642 self._content_set(content);644 if (self.Content !== null) {645 // update the tooltip if it is open646 if (self.Status !== 'hidden') {647 // reset the content in the tooltip648 self._content_insert();649 // reposition and resize the tooltip651 // if we want to play a little animation showing the content changed652 if (self.options.updateAnimation) {653 if (supportsTransitions()) {657 '-webkit-transition: all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms' +658 '-moz-transition: all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms' +659 '-o-transition: all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms' +660 '-ms-transition: all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms' +661 'transition: all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms';663 self.tooltip.setAttribute('style', strStyle);664 t_addClass(self.tooltip, 'tooltipster-content-changing');666 // reset the CSS transitions and finish the change animation667 setTimeout(function () {668 if (self.Status !== 'hidden') {669 t_removeClass(self.tooltip, 'tooltipster-content-changing');673 '-webkit-transition: ' + self.options.speed + 'ms' +674 '-moz-transition: ' + self.options.speed + 'ms' +675 '-o-transition: ' + self.options.speed + 'ms' +676 '-ms-transition: ' + self.options.speed + 'ms' +677 'transition: ' + self.options.speed + 'ms';679 // after the changing animation has completed, reset the CSS transitions680 setTimeout(function () {681 if (self.Status !== 'hidden') {682 self.tooltip.setAttribute('style', strStyle);684 }, self.options.speed);686 }, self.options.speed);688 self.tooltip.fadeTo(self.options.speed, 0.5, function () {689 if (self.Status !== 'hidden') {690 self.tooltip.fadeTo(self.options.speed, 1);