Michael Dale schrieb:
The mark up could take advantage of noscript something like: <noscript><img src="image path"></img></noscript> <scirpt> mw.outputPngOrSvg( 'NameOfImage.svg' ) <script>
<noscript> is not recommended to use. It even was broken in Opera 11, and there may be other buggy implementations.
Your outputPngOrSvg could document.write the png or svg to the page so you never wait for dom ready or simply define and close a div target prior to your small inline script if you don't like the document.write idea.
It's only not one inline script, but a lot of. Still horrible markup :~|.
Daniel Friesen wrote:
;) It's also a horrible markup hack.
Bergi