Opened 13 years ago
Closed 13 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 )
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.showImage(0); _this._request.onComplete = null; + if(_this.autoStart) { + _this.toggleSlideShow(); + } }; this.imageStore = dataStore;
Thanks,
Youngho
Attachments (1)
Change History (4)
Changed 13 years ago by
Attachment: | SlideShow.diff added |
---|
comment:1 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from Adam Peller to dante |
comment:2 Changed 13 years ago by
Milestone: | → 1.1 |
---|---|
Status: | new → assigned |
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(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.
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.