Logic Machine Forum
Reading Some Status when Mosaic page is opened - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Reading Some Status when Mosaic page is opened (/showthread.php?tid=4866)



Reading Some Status when Mosaic page is opened - savaskorkmaz - 10.07.2023

Hi,

Thanks to Forum, we made some actions when we open a specific page with the javascript code below. I need same action also when a specific mosaic page is opened by the customer. Can i do that ?

Regards,




$(function(){

if (typeof grp == 'undefined') { return;

}

$('body').on('showplan', function(event, id) { if (id == 120) {

grp.write('Sayfa 1 Status', true); }

else if (id == 123) { grp.write('Sayfa 2 Status', true);

}

}).trigger('showplan', [ currentPlanId ]); })