Logic Machine Forum
Is it possible to change the link of "home" buttons in schedulers and trends? - 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: Is it possible to change the link of "home" buttons in schedulers and trends? (/showthread.php?tid=4517)



Is it possible to change the link of "home" buttons in schedulers and trends? - Ceros2112 - 20.01.2023

Hi,

I would like to make the home button in trends and scheduler pointing to /scada-vis, I'm trying with javascript but it doesn't seems to work, is it possible? Any ideas?

Thank you in advance


RE: Is it possible to change the link of "home" buttons in schedulers and trends? - admin - 20.01.2023

Add this to Custom JavaScript:
Code:
$(function(){
  $('.btn-home').attr('href', '/scada-vis/');
});



RE: Is it possible to change the link of "home" buttons in schedulers and trends? - Ceros2112 - 20.01.2023

Thanks!

I was basically doing the exact same thing but for some reasons it didn't work  Big Grin