[jQuery] Re: jQuery Cycle Plugin and Links

2009-08-10 Thread artistique
Hi there, I am having a similar issue, but the functionality I want to achieve is a bit simpler. Right now I want to apply a link of my choosing to each slide (in the HTML of the slide), but t this breaks the alt information pulled from the the pager and displays an "undefined" error on the page.

[jQuery] Re: jQuery Cycle Plugin and Links

2009-07-22 Thread Charlie
the details you want to display can also be contained elsewhere if you want by using the index of the current slide to  match the index of another set of containers function onAfter(curr, next, opts) {              var index = opts.currSlide;            // use index to refernece other contai

[jQuery] Re: jQuery Cycle Plugin and Links

2009-07-21 Thread Mescalero
Thanks guys, Using that, this is what i have: $(function() { $('#slides').before('').cycle({ fx: 'fade', speed: 'fast', timeout: 0, pager: '#nav', after: onAfter }); }); f

[jQuery] Re: jQuery Cycle Plugin and Links

2009-07-20 Thread Mike Alsup
> I would like to add another attribute to the img tag called "link." > > This attribute would define where the image would link to if someone > clicks the image. > > Then i could do something like: .append('' + this.alt + ' Read more ›'); > > Does anyone know what/where i can add in the cycle js

[jQuery] Re: jQuery Cycle Plugin and Links

2009-07-20 Thread Charlie
you can use the "before" and "after" options in the API to write functions that trigger on each slide to do what you want Mescalero wrote: I would like to add another attribute to the img tag called "link." This attribute would define where the image would link to if someone clicks the i