[jQuery] Re: Cycle plugin - set up multiple containers with same options

2007-09-06 Thread rolfsf
excellent - thanks Mike! malsup wrote: > > > You could do something like this: > > $('div.containerClass').each(function() { > var p = this.parentNode; > $(this).cycle({ > fx: 'scrollHorz', > speed: 'slow', > timeout: 0, > next: $('a.next', p),

[jQuery] Re: Cycle plugin - set up multiple containers with same options

2007-09-06 Thread Mike Alsup
You could do something like this: $('div.containerClass').each(function() { var p = this.parentNode; $(this).cycle({ fx: 'scrollHorz', speed: 'slow', timeout: 0, next: $('a.next', p), prev: $('a.prev', p) }); }); Mike On 9/6/07, rol