13.03.2017, 20:12
(This post was last modified: 13.03.2017, 20:23 by Erwin van der Zwart.)
Hi,
Me to, but i prefer a improved html5 editor first.
You don't need a svg for each room, you could include custom classes into the JavaScript like sample i gave you for lux value scaling, this way you can attach a address listener to the SVG for multiple usage of the same SVG file. However this custom class is in the parent so it's not real easy to figure out how to bind the listener to the correct item. I have done it before with frames so i know it's possible..
BR,
Erwin
Me to, but i prefer a improved html5 editor first.
You don't need a svg for each room, you could include custom classes into the JavaScript like sample i gave you for lux value scaling, this way you can attach a address listener to the SVG for multiple usage of the same SVG file. However this custom class is in the parent so it's not real easy to figure out how to bind the listener to the correct item. I have done it before with frames so i know it's possible..
BR,
Erwin