var go; var startShow = function(){ carousel.next(); go = carousel.next.periodical(7000, carousel); } startShow.delay(3000)
On Fri, Nov 8, 2013 at 5:11 PM, Chad Meyers <starlingdesig...@gmail.com>wrote: > great thanks! I had to modify that slightly, but now it is working!!! > > startShow = function(){ > carousel.next(); > go = (function(){carousel.next()}.periodical(7000)); > } > startShow.delay(3000) > > I also needed 'go' so I can stop and start. Thanks again! > > On Friday, November 8, 2013 11:48:29 AM UTC-4, n3on wrote: >> >> var startInterval = function() { >> carousel.next(); >> carousel.next.periodical(7000); >> }; >> >> startInterval.delay(3000); >> >> On Friday, November 8, 2013 4:44:15 PM UTC+1, Chad Meyers wrote: >>> >>> looking for the best way to accomplish this. I have a slide show and it >>> is working fine. I play it with the following line; >>> >>> go = function(){carousel.next()}.periodical(7000); >>> >>> This just fires on domready. >>> >>> What I want to do, is fire carousel.next() sooner the first time, then >>> run the periodical at 7000 >>> >>> something like {carousel.next()}.delay(3000) -> onComplete -> >>> {carousel.next()}.periodical(7000) >>> >>> any suggestions? >>> >>> essentially right now the show starts after 7000, but I would rather >>> start it after like 3000, then continue at a rate of 7000. (could I just >>> update the periodical?) >>> >> -- > > --- > You received this message because you are subscribed to the Google Groups > "MooTools Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mootools-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- --- You received this message because you are subscribed to the Google Groups "MooTools Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mootools-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.