SVG – Eine feine Sache

https://www.w3.org/TR/SVG/struct.html

https://www.w3.org/TR/SVG

This specification defines the features and syntax for Scalable Vector Graphics (SVG) Version 1.1, a modularized language for describing two-dimensional vector and mixed vector/raster graphics in XML. 🙂

Damit kann man coole Image-Maps machen. 🙂

https://wiki.selfhtml.org/wiki/SVG/Anwendung_und_Praxis/responsive_Imagemaps

https://wiki.selfhtml.org/wiki/SVG/Elemente/Grundformen

Allerdings kann man nicht einfach per jQuery oder den bekannten Dom-Funktionen per JavaScript darauf zugreifen.

http://stackoverflow.com/questions/2544686/how-to-make-chrome-redraw-svg-dynamically-added-content

Man muss mit den *NS-Funktionen arbeiten. (NS=NameSpace)
(https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute)

Und was ist die ViewBox?

http://stackoverflow.com/questions/15335926/svg-viewbox-attribute