X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=blobdiff_plain;f=include%2Fgallery.js;h=d0f9760a84fe87b460852c3325e4592c5fd5e4db;hp=f85f19a30d9142773fcb4e623e5181d863dad0ae;hb=481af6c9567c2f71575e7e3464103937d6025ce4;hpb=f3e1802f95e4674c5994d18d01fe840758174194 diff --git a/include/gallery.js b/include/gallery.js index f85f19a..d0f9760 100644 --- a/include/gallery.js +++ b/include/gallery.js @@ -10,13 +10,13 @@ Slideshow */ -var ShowWindow = new Class({ +var showWindow = new Class({ getOptions: function(){ return { zIndex: 2, container: document.body, - onClick: Class.empty + onClick: $empty, }; }, @@ -69,7 +69,7 @@ var ShowWindow = new Class({ this.div.setStyles({display: 'none'}); } }); -ShowWindow.implement(new Options); +showWindow.implement(new Options); /* Make overlay window and start slideshow */ function run_slideshow(startid) { @@ -132,10 +132,10 @@ function init_gallery() { openFromLink: false, descClassName: 'infoboxdesc', } - ibox = new MultiBox('infobox', iboxparams) + ibox = new multiBox('infobox', iboxparams) var winparms = {} - showwin = new ShowWindow('slideshowWindow',winparms) + showwin = new showWindow('slideshowWindow',winparms) var showparms = { wait: 3000, @@ -145,7 +145,7 @@ function init_gallery() { thumbnails: true, onClick: function(i){alert(i)} } - show = new SlideShow('slideshowContainer','slideshowThumbnail',showparms) + show = new slideShow('slideshowContainer','slideshowThumbnail',showparms) parsedurl = parseUrl(document.URL) // alert('Anchor: '+parsedurl['anchor']+'\nURL: '+document.URL)