Hi, my website has a large Java applet on its as the main feature and
it takes a while to load, without it there is a big blank area. So I
added this MooTools script from David Walsh (http://davidwalsh.name/
mootools-image-preloading-progress-bar) that pre-loads images, but I
need to modify it to pre-load .jar files.

Here is the pre-loading code:


/* preloading */
var images = ['http://meta.projectmio.com/code/bubble_4.jar', 'http://
meta.projectmio.com/code/core.jar'];
var loader = new Asset.images(images, {
onProgress: function(counter,index) {
progressBar.set((counter + 1) * (100 / images.length));
},
});
});


I have no idea how hard this would be to do, I don't even know if this
is the part of the code to modify but it titled as the pre-loading
section, although there is some JavaScript too and I'm not sure if it
all done there?

But thanks to anybody who is willing to help.

My website is: www.meta.projectmio.com

Reply via email to