From: Eugene Crosser Date: Sun, 31 Aug 2008 20:42:36 +0000 (+0000) Subject: make image containers initially invisible X-Git-Tag: 2.00~29 X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=commitdiff_plain;h=283ceff6555c129d7e03f639aa8a3e158dd2e1ac;hp=58c902932d9ea5496a415599e804c2e82925e394 make image containers initially invisible --- diff --git a/include/show.js b/include/show.js index 4bcd28e..248dee6 100644 --- a/include/show.js +++ b/include/show.js @@ -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({