make image containers initially invisible
authorEugene Crosser <crosser@average.org>
Sun, 31 Aug 2008 20:42:36 +0000 (20:42 +0000)
committerEugene Crosser <crosser@average.org>
Sun, 31 Aug 2008 20:42:36 +0000 (20:42 +0000)
include/show.js

index 4bcd28ea0c758aefe48159e620ca23ae239a465f..248dee6829f6d755a851ea387c5268e47dddc56e 100644 (file)
@@ -62,8 +62,10 @@ var Show = new Class({
                };
                this.updatecoords();
                this.prevdisplay = new Element('img').
                };
                this.updatecoords();
                this.prevdisplay = new Element('img').
+                       setStyle('opacity', 0).
                        injectInside(this.container.container);
                this.ondisplay = new Element('img').
                        injectInside(this.container.container);
                this.ondisplay = new Element('img').
+                       setStyle('opacity', 0).
                        injectInside(this.container.container);
                this.loadingdiv = new Element('div').
                addClass('loading').setStyles({
                        injectInside(this.container.container);
                this.loadingdiv = new Element('div').
                addClass('loading').setStyles({