On Mon, Feb 27, 2012 at 12:45 PM, István Vágó <[email protected]> wrote: > I try to use a js library called ChemVector, witch is an obfuscated, for > license beast to render chemical structures. What it does is to replace the > custom <object class="chemvector-object"> tags with svg or vml depending on > the browser type, when "chemvector.browser.ImageLoader.getInstance().run()" > called.
yeah peter's right, that sounds exactly like what jsMath is doing - and getting it wrong, by referring to the wrong document. i've recommended the use of getElementById because i've seen that work successfully even in identifying an iframe object, in the picasaweb example. you'll just have to experiment. l.

