a:68:{s:9:"#provides";s:21:"dojox.image.SlideShow";s:9:"#resource";s:18:"image/SlideShow.js";s:9:"#requires";a:4:{i:0;a:3:{i:0;s:6:"common";i:1;s:11:"dojo.string";i:2;s:4:"dojo";}i:1;a:3:{i:0;s:6:"common";i:1;s:7:"dojo.fx";i:2;s:4:"dojo";}i:2;a:3:{i:0;s:6:"common";i:1;s:13:"dijit._Widget";i:2;s:5:"dijit";}i:3;a:3:{i:0;s:6:"common";i:1;s:16:"dijit._Templated";i:2;s:5:"dijit";}}s:21:"dojox.image.SlideShow";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:13:"dijit._Widget";}s:4:"call";a:2:{i:0;s:13:"dijit._Widget";i:1;s:16:"dijit._Templated";}}s:6:"mixins";a:1:{s:9:"prototype";a:1:{i:0;s:26:"dijit._Templated.prototype";}}s:7:"summary";s:18:"A Slideshow Widget";s:9:"classlike";b:1;}s:33:"dojox.image.SlideShow.imageHeight";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"Number";s:7:"summary";s:30:"The maximum height of an image";}s:32:"dojox.image.SlideShow.imageWidth";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"Number";s:7:"summary";s:30:"The maximum width of an image.";}s:27:"dojox.image.SlideShow.title";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"String";s:7:"summary";s:34:"the initial title of the SlideShow";}s:35:"dojox.image.SlideShow.titleTemplate";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"String";s:7:"summary";s:244:"a way to customize the wording in the title. supported parameters to be populated are: ${title} = the passed title of the image ${current} = the current index of the image ${total} = the total number of images in the SlideShow should add more?";}s:28:"dojox.image.SlideShow.noLink";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:7:"Boolean";s:7:"summary";s:152:"Prevents the slideshow from putting an anchor link around the displayed image enables if true, though still will not link in absence of a url to link to";}s:26:"dojox.image.SlideShow.loop";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:7:"Boolean";s:7:"summary";s:36:"true/false - make the slideshow loop";}s:28:"dojox.image.SlideShow.hasNav";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:7:"Boolean";s:7:"summary";s:55:"toggle to enable/disable the visual navigation controls";}s:28:"dojox.image.SlideShow.images";a:4:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:8:"instance";s:21:"dojox.image.SlideShow";s:4:"type";s:5:"Array";s:7:"summary";s:83:"Contains the DOM nodes that individual images are stored in when loaded or loading.";}s:30:"dojox.image.SlideShow.pageSize";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"Number";s:7:"summary";s:42:"The number of images to request each time.";}s:30:"dojox.image.SlideShow.autoLoad";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:7:"Boolean";s:7:"summary";s:133:"If true, then images are preloaded, before the user navigates to view them. If false, an image is not loaded until the user views it.";}s:31:"dojox.image.SlideShow.autoStart";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:7:"Boolean";s:7:"summary";s:49:"If true, the SlideShow begins playing immediately";}s:33:"dojox.image.SlideShow.fixedHeight";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:7:"Boolean";s:7:"summary";s:70:"If true, the widget does not resize itself to fix the displayed image.";}s:32:"dojox.image.SlideShow.imageStore";a:4:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:8:"instance";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"Object";s:7:"summary";s:96:"Implementation of the dojo.data.api.Read API, which provides data on the images to be displayed.";}s:30:"dojox.image.SlideShow.linkAttr";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"String";s:7:"summary";s:113:"Defines the name of the attribute to request from the store to retrieve the URL to link to from an image, if any.";}s:36:"dojox.image.SlideShow.imageLargeAttr";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"String";s:7:"summary";s:93:"Defines the name of the attribute to request from the store to retrieve the URL to the image.";}s:31:"dojox.image.SlideShow.titleAttr";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"String";s:7:"summary";s:105:"Defines the name of the attribute to request from the store to retrieve the title of the picture, if any.";}s:39:"dojox.image.SlideShow.slideshowInterval";a:3:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"Number";s:7:"summary";s:63:"Time, in seconds, between image transitions during a slideshow.";}s:34:"dojox.image.SlideShow.templatePath";a:2:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:7:"summary";s:0:"";}s:35:"dojox.image.SlideShow._imageCounter";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:8:"instance";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"Number";s:7:"summary";s:65:"A counter to keep track of which index image is to be loaded next";s:7:"private";b:1;}s:31:"dojox.image.SlideShow._tmpImage";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:8:"instance";s:21:"dojox.image.SlideShow";s:4:"type";s:7:"DomNode";s:7:"summary";s:54:"The temporary image to show when a picture is loading.";s:7:"private";b:1;}s:30:"dojox.image.SlideShow._request";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:8:"instance";s:21:"dojox.image.SlideShow";s:4:"type";s:6:"Object";s:7:"summary";s:108:"Implementation of the dojo.data.api.Request API, which defines the query parameters for accessing the store.";s:7:"private";b:1;}s:32:"dojox.image.SlideShow.postCreate";a:4:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:886:" this.inherited(arguments); var img = document.createElement("img"); // FIXME: should API be to normalize an image to fit in the specified height/width? img.setAttribute("width", this.imageWidth); img.setAttribute("height", this.imageHeight); if(this.hasNav){ dojo.connect(this.outerNode, "onmouseover", this, function(evt){ try{ this._showNav();} catch(e){} //TODO: remove try/catch }); dojo.connect(this.outerNode, "onmouseout", this, function(evt){ try{ this._hideNav(evt);} catch(e){} //TODO: remove try/catch }); } this.outerNode.style.width = this.imageWidth + "px"; img.setAttribute("src", this._blankGif); var _this = this; this.largeNode.appendChild(img); this._tmpImage = this._currentImage = img; this._fitSize(true); this._loadImage(0, dojo.hitch(this, "showImage", 0)); this._calcNavDimensions();";s:7:"summary";s:66:"Initilizes the widget, sets up listeners and shows the first image";}s:34:"dojox.image.SlideShow.setDataStore";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:9:"dataStore";a:2:{s:4:"type";s:2:"An";s:7:"summary";s:75:"implementation of the dojo.data.api.Read API. This accesses the image data.";}s:7:"request";a:2:{s:4:"type";s:2:"An";s:7:"summary";s:125:"implementation of the dojo.data.api.Request API. This specifies the query and paging information to be used by the data store";}s:10:"paramNames";a:2:{s:4:"type";s:8:"optional";s:7:"summary";s:160:"An object defining the names of the item attributes to fetch from the data store. The three attributes allowed are 'linkAttr', 'imageLargeAttr' and 'titleAttr'";}}s:6:"source";s:956:" this.reset(); var _this = this; this._request = { query: {}, start: request.start || 0, count: request.count || this.pageSize, onBegin: function(count, request){ // FIXME: fires too often?!? // console.log('fired', count, "is null"); _this.maxPhotos = count; } }; if(request.query){ dojo.mixin(this._request.query, request.query); } if(paramNames){ dojo.forEach(["imageLargeAttr", "linkAttr", "titleAttr"], function(attrName){ if(paramNames[attrName]){ this[attrName] = paramNames[attrName]; } }, this); } var _complete = function(items){ // FIXME: onBegin above used to work for maxPhotos: _this.maxPhotos = items.length; _this.showImage(0); _this._request.onComplete = null; if(_this.autoStart){ _this.toggleSlideShow(); } }; this.imageStore = dataStore; this._request.onComplete = _complete; this._request.start = 0; this.imageStore.fetch(this._request);";s:7:"summary";s:58:"Sets the data store and request objects to read data from.";}s:27:"dojox.image.SlideShow.reset";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:434:" while(this.largeNode.firstChild){ this.largeNode.removeChild(this.largeNode.firstChild); } this.largeNode.appendChild(this._tmpImage); while(this.hiddenNode.firstChild){ this.hiddenNode.removeChild(this.hiddenNode.firstChild); } dojo.forEach(this.images, function(img){ if(img && img.parentNode){ img.parentNode.removeChild(img); } }); this.images = []; this.isInitialized = false; this._imageCounter = 0;";s:7:"summary";s:38:"Resets the widget to its initial state";s:11:"description";s:60:"Removes all previously loaded images, and clears all caches.";}s:35:"dojox.image.SlideShow.isImageLoaded";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"index";a:2:{s:4:"type";s:3:"The";s:7:"summary";s:56:"number index in the data store to check if it is loaded.";}}s:6:"source";s:73:" return this.images && this.images.length > index && this.images[index];";s:7:"summary";s:72:"Returns true if image at the specified index is loaded, false otherwise.";}s:45:"dojox.image.SlideShow.moveImageLoadingPointer";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"index";a:2:{s:4:"type";s:3:"The";s:7:"summary";s:60:"number index in the data store to start loading images from.";}}s:6:"source";s:29:" this._imageCounter = index;";s:7:"summary";s:96:"If 'autoload' is true, this tells the widget to start loading images from the specified pointer.";}s:29:"dojox.image.SlideShow.destroy";a:4:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:66:" if(this._slideId) { this._stop(); } this.inherited(arguments);";s:7:"summary";s:47:"Cleans up the widget when it is being destroyed";}s:35:"dojox.image.SlideShow.showNextImage";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"inTimer";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:68:"If true, a slideshow is active, otherwise the slideshow is inactive.";}s:9:"forceLoop";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:379:" if(inTimer && this._timerCancelled){ return false; } if(this.imageIndex + 1 >= this.maxPhotos){ if(inTimer && (this.loop || forceLoop)){ this.imageIndex = -1; }else{ if(this._slideId){ this._stop(); } return false; } } this.showImage(this.imageIndex + 1, dojo.hitch(this,function(){ if(inTimer){ this._startTimer(); } })); return true;";s:7:"summary";s:69:"Changes the image being displayed to the next image in the data store";}s:37:"dojox.image.SlideShow.toggleSlideShow";a:4:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:789:" if(this._slideId){ this._stop(); }else{ dojo.toggleClass(this.domNode,"slideShowPaused"); this._timerCancelled = false; if(this.images[this.imageIndex] && this.images[this.imageIndex]._img.complete){ var success = this.showNextImage(true, true); if(!success){ this._stop(); } }else{ var idx = this.imageIndex; var handle = dojo.subscribe(this.getShowTopicName(), dojo.hitch(this,function(info){ setTimeout(dojo.hitch(this,function(){ if(info.index == idx){ var success = this.showNextImage(true, true); if(!success){ this._stop(); } dojo.unsubscribe(handle); }}),this.slideshowInterval * 1000); })); dojo.publish(this.getShowTopicName(), [{index: idx, title: "", url: ""}]); } }";s:7:"summary";s:39:"Switches the slideshow mode on and off.";}s:38:"dojox.image.SlideShow.getShowTopicName";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:51:" return (this.widgetId || this.id) + "/imageShow";";s:7:"summary";s:56:"Returns the topic id published to when an image is shown";s:11:"description";s:50:"The information published is: index, title and url";}s:38:"dojox.image.SlideShow.getLoadTopicName";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:66:" return (this.widgetId ? this.widgetId : this.id) + "/imageLoad";";s:7:"summary";s:65:"Returns the topic id published to when an image finishes loading.";s:11:"description";s:68:"The information published is the index position of the image loaded.";}s:31:"dojox.image.SlideShow.showImage";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"index";a:2:{s:4:"type";s:6:"Number";s:7:"summary";s:54:"The position of the image in the data store to display";}s:8:"callback";a:3:{s:8:"optional";b:1;s:4:"type";s:8:"Function";s:7:"summary";s:74:"Optional callback function to call when the image has finished displaying.";}}s:6:"source";s:1775:" if(!callback && this._slideId){ this.toggleSlideShow(); } var _this = this; var current = this.largeNode.getElementsByTagName("div"); this.imageIndex = index; var showOrLoadIt = function() { //If the image is already loaded, then show it. if(_this.images[index]){ while(_this.largeNode.firstChild){ _this.largeNode.removeChild(_this.largeNode.firstChild); } dojo.style(_this.images[index],"opacity", 0); _this.largeNode.appendChild(_this.images[index]); _this._currentImage = _this.images[index]._img; _this._fitSize(); var onEnd = function(a,b,c){ var img = _this.images[index].firstChild; if(img.tagName.toLowerCase() != "img"){ img = img.firstChild; } var title = img.getAttribute("title") || ""; if(_this._navShowing){ _this._showNav(true); } dojo.publish(_this.getShowTopicName(), [{ index: index, title: title, url: img.getAttribute("src") }]); if(callback) { callback(a,b,c); } _this._setTitle(title); }; dojo.fadeIn({ node: _this.images[index], duration: 300, onEnd: onEnd }).play(); }else{ //If the image is not loaded yet, load it first, then show it. _this._loadImage(index, function(){ dojo.publish(_this.getLoadTopicName(), [index]); _this.showImage(index, callback); }); } }; //If an image is currently showing, fade it out, then show //the new image. Otherwise, just show the new image. if(current && current.length > 0){ dojo.fadeOut({ node: current[0], duration: 300, onEnd: function(){ _this.hiddenNode.appendChild(current[0]); showOrLoadIt(); } }).play(); }else{ showOrLoadIt(); }";s:7:"summary";s:33:"Shows the image at index 'index'.";}s:30:"dojox.image.SlideShow._fitSize";a:6:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"force";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:79:"If true, the widget is always resized, regardless of the value of 'fixedHeight'";}}s:6:"source";s:249:" if(!this.fixedHeight || force){ var height = (this._currentImage.height + (this.hasNav ? 20:0)); dojo.style(this.innerWrapper, "height", height + "px"); return; } dojo.style(this.largeNode, "paddingTop", this._getTopPadding() + "px");";s:7:"summary";s:120:"Fits the widget size to the size of the image being shown, or centers the image, depending on the value of 'fixedHeight'";s:7:"private";b:1;}s:36:"dojox.image.SlideShow._getTopPadding";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:97:" if(!this.fixedHeight){ return 0; } return (this.imageHeight - this._currentImage.height) / 2;";s:7:"summary";s:77:"Returns the padding to place at the top of the image to center it vertically.";s:7:"private";b:1;}s:36:"dojox.image.SlideShow._loadNextImage";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:185:" if(!this.autoLoad){ return; } while(this.images.length >= this._imageCounter && this.images[this._imageCounter]){ this._imageCounter++; } this._loadImage(this._imageCounter);";s:7:"summary";s:29:"Load the next unloaded image.";s:7:"private";b:1;}s:32:"dojox.image.SlideShow._loadImage";a:8:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"index";a:2:{s:4:"type";s:3:"The";s:7:"summary";s:49:"position in the data store to load an image from.";}s:10:"callbackFn";a:2:{s:4:"type";s:2:"An";s:7:"summary";s:65:"optional function to execute when the image has finished loading.";}}s:6:"source";s:1856:" if(this.images[index] || !this._request) { return; } var pageStart = index - (index % this.pageSize); this._request.start = pageStart; this._request.onComplete = function(items){ var diff = index - pageStart; if(items && items.length > diff){ loadIt(items[diff]); }else{ /* Squelch - console.log("Got an empty set of items"); */ } } var _this = this; var loadIt = function(item){ var url = _this.imageStore.getValue(item, _this.imageLargeAttr); var img = new Image(); // when creating img with "createElement" IE doesnt has width and height, so use the Image object var div = document.createElement("div"); div._img = img; var link = _this.imageStore.getValue(item,_this.linkAttr); if(!link || _this.noLink){ div.appendChild(img); }else{ var a = document.createElement("a"); a.setAttribute("href", link); a.setAttribute("target","_blank"); div.appendChild(a); a.appendChild(img); } div.setAttribute("id",_this.id + "_imageDiv" + index); dojo.connect(img, "onload", function(){ _this._fitImage(img); div.setAttribute("width", _this.imageWidth); div.setAttribute("height", _this.imageHeight); dojo.publish(_this.getLoadTopicName(), [index]); setTimeout(_this._loadNextImage, 1); // make a short timeout to prevent IE6/7 stack overflow at line 0 ~ still occuring though for first image if(callbackFn){ callbackFn(); } }); _this.hiddenNode.appendChild(div); var titleDiv = document.createElement("div"); dojo.addClass(titleDiv, "slideShowTitle"); div.appendChild(titleDiv); _this.images[index] = div; img.setAttribute("src", url); var title = _this.imageStore.getValue(item, _this.titleAttr); if(title){ img.setAttribute("title", title); } } this.imageStore.fetch(this._request);";s:7:"summary";s:29:"Load image at specified index";s:11:"description";s:132:"This function loads the image at position 'index' into the internal cache of images. This does not cause the image to be displayed.";s:7:"private";b:1;s:9:"classlike";b:1;}s:27:"dojox.image.SlideShow._stop";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:158:" if(this._slideId){ clearTimeout(this._slideId); } this._slideId = null; this._timerCancelled = true; dojo.removeClass(this.domNode,"slideShowPaused");";s:7:"summary";s:27:"Stops a running slide show.";s:7:"private";b:1;}s:27:"dojox.image.SlideShow._prev";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:75:" if(this.imageIndex < 1){ return; } this.showImage(this.imageIndex - 1);";s:7:"summary";s:84:"Show the previous image. FIXME: either pull code from showNext/prev, or call it here";s:7:"private";b:1;}s:27:"dojox.image.SlideShow._next";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:23:" this.showNextImage();";s:7:"summary";s:19:"Show the next image";s:7:"private";b:1;}s:33:"dojox.image.SlideShow._startTimer";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:136:" var id = this.id; this._slideId = setTimeout(function(){ dijit.byId(id).showNextImage(true); }, this.slideshowInterval * 1000);";s:7:"summary";s:67:"Starts a timeout to show the next image when a slide show is active";s:7:"private";b:1;}s:40:"dojox.image.SlideShow._calcNavDimensions";a:5:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:6:"source";s:523:" dojo.style(this.navNode, "position", "absolute"); //Place the navigation controls far off screen dojo.style(this.navNode, "top", "-10000px"); //Make the navigation controls visible dojo._setOpacity(this.navNode, 99); this.navPlay._size = dojo.marginBox(this.navPlay); this.navPrev._size = dojo.marginBox(this.navPrev); this.navNext._size = dojo.marginBox(this.navNext); dojo._setOpacity(this.navNode, 0); dojo.style(this.navNode, "position", ""); dojo.style(this.navNode, "top", ""); ";s:7:"summary";s:52:"Calculates the dimensions of the navigation controls";s:7:"private";b:1;}s:31:"dojox.image.SlideShow._setTitle";a:6:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"title";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:29:"The String title of the image";}}s:6:"source";s:162:" this.titleNode.innerHTML = dojo.string.substitute(this.titleTemplate,{ title: title, current: 1 + this.imageIndex, total: this.maxPhotos || "" });";s:7:"summary";s:43:"Sets the title to the image being displayed";s:7:"private";b:1;}s:31:"dojox.image.SlideShow._fitImage";a:6:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"img";a:2:{s:4:"type";s:4:"Node";s:7:"summary";s:39:"The image DOM node to optionally resize";}}s:6:"source";s:367:" var width = img.width; var height = img.height; if(width > this.imageWidth){ height = Math.floor(height * (this.imageWidth / width)); img.height = height; img.width = width = this.imageWidth; } if(height > this.imageHeight){ width = Math.floor(width * (this.imageHeight / height)); img.height = this.imageHeight; img.width = width; }";s:7:"summary";s:66:"Ensures that the image width and height do not exceed the maximum.";s:7:"private";b:1;}s:34:"dojox.image.SlideShow._handleClick";a:6:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:2:{s:4:"type";s:5:"Event";s:7:"summary";s:15:"An Event object";}}s:6:"source";s:162:" switch(e.target){ case this.navNext: this._next(); break; case this.navPrev: this._prev(); break; case this.navPlay: this.toggleSlideShow(); break; }";s:7:"summary";s:61:"Performs navigation on the images based on users mouse clicks";s:7:"private";b:1;}s:30:"dojox.image.SlideShow._showNav";a:6:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"force";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:85:"If true, the navigation controls are repositioned even if they are currently visible.";}}s:6:"source";s:834:" if(this._navShowing && !force){return;} dojo.style(this.navNode, "marginTop", "0px"); dojo.style(this.navPlay, "marginLeft", "0px"); var wrapperSize = dojo.marginBox(this.outerNode); var margin = this._currentImage.height - this.navPlay._size.h - 10 + this._getTopPadding(); if(margin > this._currentImage.height){margin += 10;} dojo[this.imageIndex < 1 ? "addClass":"removeClass"](this.navPrev, "slideShowCtrlHide"); dojo[this.imageIndex + 1 >= this.maxPhotos ? "addClass":"removeClass"](this.navNext, "slideShowCtrlHide"); var _this = this; if(this._navAnim) { this._navAnim.stop(); } if(this._navShowing){ return; } this._navAnim = dojo.fadeIn({ node: this.navNode, duration: 300, onEnd: function(){ _this._navAnim = null; } }); this._navAnim.play(); this._navShowing = true;";s:7:"summary";s:29:"Shows the navigation controls";s:7:"private";b:1;}s:30:"dojox.image.SlideShow._hideNav";a:6:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:2:{s:4:"type";s:5:"Event";s:7:"summary";s:42:"The DOM Event that triggered this function";}}s:6:"source";s:313:" if(!e || !this._overElement(this.outerNode, e)){ var _this = this; if(this._navAnim){ this._navAnim.stop(); } this._navAnim = dojo.fadeOut({ node: this.navNode, duration:300, onEnd: function(){ _this._navAnim = null; } }); this._navAnim.play(); this._navShowing = false; }";s:7:"summary";s:29:"Hides the navigation controls";s:7:"private";b:1;}s:34:"dojox.image.SlideShow._overElement";a:6:{s:9:"prototype";s:21:"dojox.image.SlideShow";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"element";a:1:{s:4:"type";s:7:"DomNode";}s:1:"e";a:1:{s:4:"type";s:5:"Event";}}s:6:"source";s:335:" if(typeof(dojo) == "undefined"){ return false; } element = dojo.byId(element); var m = { x: e.pageX, y: e.pageY }; var bb = dojo._getBorderBox(element); var absl = dojo.coords(element, true); var left = absl.x; return (m.x >= left && m.x <= (left + bb.w) && m.y >= absl.y && m.y <= (top + bb.h) ); // boolean";s:7:"summary";s:185:"Returns whether the mouse is over the passed element. Element must be display:block (ie, not a <span>) When the page is unloading, if this method runs it will throw an exception.";s:7:"private";b:1;}s:43:"dojox.image.SlideShow.outerNode.style.width";a:2:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"summary";s:0:"";}s:41:"dojox.image.SlideShow._request.onComplete";a:3:{s:8:"instance";s:21:"dojox.image.SlideShow";s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:36:"dojox.image.SlideShow._request.start";a:3:{s:8:"instance";s:21:"dojox.image.SlideShow";s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:35:"dojox.image.SlideShow.isInitialized";a:2:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"summary";s:0:"";}s:32:"dojox.image.SlideShow.imageIndex";a:2:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"summary";s:0:"";}s:37:"dojox.image.SlideShow._timerCancelled";a:3:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"private";b:1;s:7:"summary";s:0:"";}s:52:"dojox.image.SlideShow._loadImage._request.onComplete";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"items";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:164:" var diff = index - pageStart; if(items && items.length > diff){ loadIt(items[diff]); }else{ /* Squelch - console.log("Got an empty set of items"); */ }";s:8:"instance";s:32:"dojox.image.SlideShow._loadImage";s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:30:"dojox.image.SlideShow._slideId";a:3:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"private";b:1;s:7:"summary";s:0:"";}s:35:"dojox.image.SlideShow.navPlay._size";a:3:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"private";b:1;s:7:"summary";s:0:"";}s:35:"dojox.image.SlideShow.navPrev._size";a:3:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"private";b:1;s:7:"summary";s:0:"";}s:35:"dojox.image.SlideShow.navNext._size";a:3:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"private";b:1;s:7:"summary";s:0:"";}s:41:"dojox.image.SlideShow.titleNode.innerHTML";a:2:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"summary";s:0:"";}s:30:"dojox.image.SlideShow._navAnim";a:3:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.image.SlideShow._navShowing";a:3:{s:8:"instance";s:21:"dojox.image.SlideShow";s:7:"private";b:1;s:7:"summary";s:0:"";}s:19:"this._request.query";a:3:{s:6:"mixins";a:1:{s:6:"normal";a:1:{i:0;s:13:"request.query";}}s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:11:"dojox.image";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}