|
From: Raymond I. <xw...@ya...> - 2003-09-11 00:03:15
|
This is a problem with IE. It fails to load the
<images> inside html after a page load or during an
ioelement (iframe) call.
In the future we'll find a way to preload images from
a string. Hint:
var html = '<img src="m.gif">ddew<img src="a.gif">'
dynapi.functions.preLoadImages(html)
// ^ loads both m.gif and a.gif
or
var imgAr=['m.gif','a.gif'];
dynapi.functions.preLoadImages(imgAr);
--
Raymond Irving
--- Daniel Tiru <de...@ti...> wrote:
> 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
>
>
>
>
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
>
http://www.mail-archive.com/dyn...@li.../
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
|