Hello all,

I'm using Milkbox (http://reghellin.com/milkbox/) to display enlarged
images on a Google Map. This works beautifully in IE9 Beta, Firefox
3.6, and Firefox 4 Beta. It does not work in Opera, Chrome, Safari, or
IE8. The problem seems to be the following code (from milkbox.js):

loadImage: function (file) {
        var imageAsset = new Asset.image(file, {
            onload: function (img) {
                if (!this.loadedImages.contains(file))
{ this.loadedImages.push(file); }; //see next/prev events
                this.currentFile = img;
                this.loadAux(this.currentFile);
            }
            .bindWithEvent(this)
        });
    },

The onload function is never called in the above mentioned browsers.
I've exhausted hours trying to figure out why and have had no luck.

You may check out the test site here:

http://www.jcbartle.me/maps/test.html

Any help is appreciated - thanks for reading!

J.C.

Reply via email to