Ok what you want to do is:
Define the noob slide, with autoplay set to false.
                var nS7 = new noobSlide({ ...

Then add a periodical call that increments and changes the slide like
so:
//define the max no. of slides
var maxslides = 8;

// the periodical function
var perfunc;

// the counter
var i = 0;
var doWalk = function(){
//if we exceed, then stop
if (i>maxslides){
  $clear(perfunc)
} else {
//else increment and slide
 i++;
 nS7.walk(i)
}
}

//this will make it run every 1 second, change to interval you like.
perfunc = dowalk.periodical(1000)

On Jan 2, 3:54 am, Forest Linden <[email protected]> wrote:
> Thanks, Keif.
>
> That makes sense. I would have no idea how to implement that, but it
> makes sense.
>
> If you're open to it, I would love to connect with you and see if you
> have a little time to help me after you get past your bogged down
> period this next week.
>
> I'll see if there is a way I can contact you directly through this
> list. If not, you could email me at fjsafe at gmail dot com.
>
> If anyone has some code they could share with me that could accomplish
> what Keif has suggested, that would be great too.
>
> Thanks again for responding, Keif.
>
> cheers,
> forest
>
> On Jan 1, 1:38 pm, keif <[email protected]> wrote:
>
> > You basically want to run a test against the number of items in the
> > slideshow, and if they're at the max, it stops.
>
> > I'd volunteer, but I'm bogged down with client work for the next week.
>
> > -kb
>
> > On Dec 31 2008, 7:22 pm, Forest Linden <[email protected]> wrote:
>
> > > Hello,
>
> > > I'm looking for some help in finding a way to add some code to an
> > > extension/module that has been made for Joomla. It's a photo slider
> > > and my client would like it to automatically stop after one cycle
> > > through the slides.
>
> > > The module, called the Slider was written by JoomlaShack, and came
> > > with one of their templates for Joomla.
>
> > > The code for it was based on the NoobSlide, which can be found here:
>
> > >http://www.efectorelativo.net/laboratory/noobSlide/
>
> > > Here's a link to the site, in development, where you can see it:
>
> > >http://burbank.directrouter.com/~appletre/
>
> > > I've asked the guy at JoomlaShack who created the Slider if he would
> > > know how I can get it to stop after one cycle, and he doesn't know how
> > > to do that. He pointed me to this group.
>
> > > Does anyone here know how I can do this? Would it be a matter of
> > > inserting a line of code in the right spot? If so, what would I put,
> > > and where would it go?
>
> > > Or, is there someone on this list that I could hire to help me with
> > > this? Or does anyone know of someone I could contact for help?
>
> > > Thank you!
>
> > > cheers,
> > > Forest

Reply via email to