Opened 15 years ago

Closed 15 years ago

#5468 closed enhancement (fixed)

Autostart parameter on Slideshow

Reported by: guest Owned by: dante
Priority: high Milestone: 1.1
Component: Dojox Version: 1.0
Keywords: SlideShow Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

Here is AutoStart? Enhancement of SlideShow?

Index: SlideShow.js
--- SlideShow.js	(revision 11919)
+++ SlideShow.js	(working copy)
@@ -41,6 +41,10 @@
 	//	enables if true, though still will not link in absence of a url to link to
 	noLink: false,
+	// autoStart: Boolean
+	//	true/false - make the slideshow auto start    
+    autoStart:false,
 	// loop: Boolean
 	//	true/false - make the slideshow loop
 	loop: true,
@@ -175,6 +179,9 @@
 		var _complete = function(items){
 			_this._request.onComplete = null;
+            if(_this.autoStart) {
+            _this.toggleSlideShow();
+            }            
 		this.imageStore = dataStore;



Attachments (1)

SlideShow.diff (718 bytes) - added by guest 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by guest

Attachment: SlideShow.diff added

comment:1 Changed 15 years ago by Adam Peller

Description: modified (diff)
Owner: changed from Adam Peller to dante

In the future, please include your full name with patches and whether you've filed a CLA. This patch doesn't seem to need one.

comment:2 Changed 15 years ago by dante

Milestone: 1.1
Status: newassigned

comment:3 Changed 15 years ago by dante

Resolution: fixed
Status: assignedclosed

(In [11925]) fixes #5468 - adds autoStart param to SlideShow? ... some minor cleanups, and initial checkin of experimental Magnifier widget for images, third time's a charm: strict-mode-passes

Note: See TracTickets for help on using tickets.