]> www.average.org Git - mkgallery.git/blobdiff - include/show.js
revert keypress that does not work anyway
[mkgallery.git] / include / show.js
index 4bcd28ea0c758aefe48159e620ca23ae239a465f..52452329e72abf6892c54603a2bdc5943615ee45 100644 (file)
@@ -62,8 +62,10 @@ var Show = new Class({
                };
                this.updatecoords();
                this.prevdisplay = new Element('img').
+                       setStyle('opacity', 0).
                        injectInside(this.container.container);
                this.ondisplay = new Element('img').
+                       setStyle('opacity', 0).
                        injectInside(this.container.container);
                this.loadingdiv = new Element('div').
                addClass('loading').setStyles({
@@ -137,6 +139,7 @@ var Show = new Class({
                this.options.cbStart();
                this.isplaying = play;
                this.controls.running(this.isplaying);
+               this.updatecoords();
                this.show(id);
                return false; /* to make it usable from href links */
        },