I've been playing around with SVGs lately and was amazed at how easy it is to create a simple
coloring page that runs on almost any browser and device. No Canvas or HTML5 API.
Check it out:
The code is very simple:
I use jQuery to select all SVG elements that have a "fill" style and change the fill color upon click.
You can right-click and select "view frame source" to see the code - I'm sure you will find it simple to understand.
- ▼ 2014 (3)