|
From: Daniel T. <de...@ti...> - 2003-09-10 23:43:52
|
Hi!
I just have a bit of advice for everyone using IO-Element. If you wish
to create content with images from the answer file, always use:
io.execInParent(function(){
ImgTrans=dynapi.functions.getImage('/images/trans.gif',1,1);
//code for showing the images
})
I mean all images, including transparent gifs, everything...
This means that when using the io-element, the <img> tag will become
banned, and i will explain why this is.
If you forget say one <img> tag, the rest of the images, will not be
loaded properly. About 10% of the images will load and display properly,
the rest wont.
I dont have a clue how to solve this in any other way, but one idee
would be to remove all <img> tags in the io.execInParent function maybee
and replace them with the dynapi getImage function. I dont know if this
is efficient, probably not.. But its the only idee i have :)
Feedback is appreciated.
Best Regards
Daniel Tiru
|