[jQuery] Re: Cycle plug in Next/Prev image Alt issue

2008-12-15 Thread Mor Vimmer
Yep, that did the trick. Thank you so much! Mor On Sun, Dec 14, 2008 at 2:38 PM, Mike Alsup wrote: > > > I tried using the onBefore, and I looked at the samples at your > > website (http://malsup.com/jquery/cycle/int2.html), but for some > > reason, the function doesn't recognize the image titl

[jQuery] Re: Cycle plug in Next/Prev image Alt issue

2008-12-14 Thread Mike Alsup
> I tried using the onBefore, and I looked at the samples at your > website (http://malsup.com/jquery/cycle/int2.html), but for some > reason, the function doesn't recognize the image title or alt text. I > get the "this.src" or "this.alt" as undefined.  And that's the reason > I turned to the pre

[jQuery] Re: Cycle plug in Next/Prev image Alt issue

2008-12-14 Thread MVimmer
Mike, I tried using the onBefore, and I looked at the samples at your website (http://malsup.com/jquery/cycle/int2.html), but for some reason, the function doesn't recognize the image title or alt text. I get the "this.src" or "this.alt" as undefined. And that's the reason I turned to the prevNe

[jQuery] Re: Cycle plug in Next/Prev image Alt issue

2008-12-11 Thread Mike Alsup
> $(function() { >  $('#s1').cycle({ > fx:     'scrollHorz', > speed:  'fast', >  timeout: 0, > prevNextClick: onBefore, > next:   '#next2', > prev:   '#prev2' > }); > Don't use the prevNextClick option, that callback is only invoked when the prev or next item is clicked. Use the 'before' option