![]() |
Javascript mouse click event - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Javascript mouse click event (/showthread.php?tid=449) |
Javascript mouse click event - Mirco - 02.11.2016 How can I put a function when I click somewhere in the browser? In the attachment there is an example RE: Javascript mouse click event - admin - 02.11.2016 Do you have any visualization elements there or is it just blank space? RE: Javascript mouse click event - Mirco - 02.11.2016 Side bands are blank space because I have set "Center plans, enable auto-sizing" in the Vis. configuration, but in the center of my page there are images, texts and objects RE: Javascript mouse click event - admin - 02.11.2016 Something to start with ![]() CSS Code: .menu { JavaScript Code: $(function(){ RE: Javascript mouse click event - Mirco - 02.11.2016 Thank you it works, but how can I adapt side bars? because this is the result RE: Javascript mouse click event - admin - 02.11.2016 Try this, but it will only work correctly if all plans have the same width: Code: $(function(){ RE: Javascript mouse click event - Mirco - 02.11.2016 Thank you!! ![]() RE: Javascript mouse click event - admin - 21.11.2016 There's no sound anywhere in this script, can you explain what kind of sound are you getting? |