CSS Spin - 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: CSS Spin (/showthread.php?tid=4215) |
CSS Spin - khalil - 05.09.2022 Hello How to make this CSS Spin Work for Read only objects Its work for non read only objects Code: /* CSS Spin Animation with JS */ RE: CSS Spin - admin - 05.09.2022 Read-only disables transform modifications. Add this to Custom JS to fix this issue: Code: $(function() { RE: CSS Spin - khalil - 05.09.2022 (05.09.2022, 10:26)admin Wrote: Read-only disables transform modifications. Add this to Custom JS to fix this issue: Thank you admin Works good RE: CSS Spin - khalil - 11.09.2022 Hello admin, Fan Didn't Spin in the first time, after second change or browser refresh it become ok! here is the JS I used: Code: // Spin/High Speed Fan Another issue I faced: I used This Rotate JS Code: Code: // Rotate But I added another JS Code to Enable/Disable read only property, Because these objects controlled by Motion sensors but I want to give the user control in case of Motion failure. But when objects changed to Read only by the following JS; rotate malfunction Code: $(function(){ RE: CSS Spin - admin - 12.09.2022 Instead of using item-read-only class you can just block pointer events via CSS: Code: $(function(){ RE: CSS Spin - khalil - 12.09.2022 Thank admin and regarding the spin issue how to solve it? RE: CSS Spin - admin - 13.09.2022 Try this: Code: $(function(){ RE: CSS Spin - khalil - 14.09.2022 Thanks admin I will test in the next site visit. BR, |