Module:Sandbox/Bawolff/interactiveSvg/doc
| This is a documentation subpage for Module:Sandbox/Bawolff/interactiveSvg. It may contain usage information, categories and other content that is not part of the original module page. |
Testing out some things with interactive images.
Dark mode
[edit]Note: this map is a big file that gets directly inserted into the page. This is unideal for performance and you probably dont want to use such a large file in a real article.
Also, there are some reports that this only works with system darkmode on macs (but not the skin toggle). Probably needs more testing.
{{#invoke:Sandbox/bawolff/programmableMap|europe
|fr=red
|de=green
|it=light-dark( blue, yellow )
|es=light-dark( #b2b, #525 )
|width=300
}}
Dynamically generating chemical images
[edit][This isn't "interactive in any sense, just thought it was a cool usage of mw.svg. You put in a .mol file and get out an image] - Module:Sandbox/Bawolff/CineMol
CSS3 animation
[edit](Image credit is File:Snow_css3_animation_example.svg by User:Cmglee)
SMIL animation
[edit]Image: File:toy_train_SMIL.svg by User:Cmglee
(Original image by User:Hk kng). This uses the calculator gadget to adjust layers. Clicking on parts of the image will cause the cut-away of that part to be shown.