03.12.2019, 08:50
(03.12.2019, 07:30)admin Wrote: Try installing 2019 RC1 firmware, positioning work correctly for me in this version. If you need multiple widgets it's better to use different classes (static-widget1 and static-widget2). Transitions will not work.effectively! the problem is corrected with the new version of firm. Anyway, the effect of page transition continues to affect the widget, I do not mind removing it, but in case you want to take it into account in the next update.
Code:$(function() {
var w1 = $('#widget-2').removeClass('layer').css('position', 'absolute');
var w2 = $('#widget-4').removeClass('layer').css('position', 'absolute');
$(document.body).on('showplan', function() {
w1.removeClass('force-show');
w2.removeClass('force-show');
});
$('.static-widget1').on('vclick', function() {
w2.removeClass('force-show');
w1.toggleClass('force-show', !w1.hasClass('hide'));
hideWidgets();
});
$('.static-widget2').on('vclick', function() {
w1.removeClass('force-show');
w2.toggleClass('force-show', !w2.hasClass('hide'));
hideWidgets();
});
});
Thank you very much