hide.push(id);
}
});
- console.log('showhide', showid, hide);
} else {
showid = ids;
}
$.each(showid, function (k, id) {
selector += ':not([data-id$="' + id + '"])';
});
- console.log(selector);
$(selector).each(function () {
let timeout = hideTimeout;
if ($(selector).is('[data-animation-hide]')) {
if ($(this).is('[data-zindex]')) {
$(this).css('z-index', $(this).data('zindex'));
}
- console.log('hide ', id);
$this.hidePlacedLink(this, timeout);
}
});
stopLinkById: function (id) {
var link = $('.link[data-id="' + id + '"]');
if ($(link).length === 0) {
- console.warn('Link ' + id + ' cant be stopped');
return;
}
if (usegsap) {
to.duration = duration;
let anim = gsap.fromTo(animatedElement, from, to);
- console.log(animatedElement, from, to, anim);
let anims = [];
if ($(link).data('gsap') !== undefined) {
} else if ($(this).is('[data-image]')) {
try {
ctx.drawImage(texture, sx, sy, sw, sh, left, top, width, height);
- if (scale != 1) {
- console.log(scale, '|', sx, sy, sw, sh, '|', tw, th, '|', left, top, width, height);
- }
} catch (e) {
console.warn(texture);
}