Java Script Feeds -

AJAX | jQuery | mootools |

Re: Preloading Image On Request Re: Preloading Image On Request

- (mooforum.net) - 4 months, 2 weeks ago...

I can't be bothered with trying to use MooTools for this any more. 4 Hours spent on this is too long I feel. I eventually used the following vanilla javascript solution: Line number On/Off | Expand/Contract | Select allvar image = new Image();image.onload = function() { // always fires the event. doImage(url) ;};image.src = url; This does exactly what I expected MooTools to do with the Assets.image code I posted previously. I have left the commented-out mootools entry in my source f...

see complete article.

Similar recent news articles...

Older news

Preloading Image On Request Preloading Image On Request - (mooforum.net)