03.09.2021, 14:44
(This post was last modified: 03.09.2021, 14:45 by anett@poczta.fm.)
(03.09.2021, 07:41)Daniel Wrote: You should not be using widget for this only two plans and the floor plan directly on it. If you use Pietro and Parter as links with icon and active icon you will get exactly what you need.
Yes, you are right, Thanks!
(03.09.2021, 07:47)admin Wrote: Add this to Custom JavaScript. Add widget-autoopen class to the button that will be clicked when the plan is shown.
Code:$(function(){
function showWidgets() {
$('#plan-' + currentPlanId).find('.widget-autoopen').trigger('vclick');
}
$('body').on('showplan', showWidgets);
showWidgets();
});
Works fantastic, thank you very much!