> 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('<p>' + this.alt + ' <a href=' > + this.link +'>Read more ›</p>'); > > Does anyone know what/where i can add in the cycle js to accomodate > for this.link?
Check out the 'callbacks' example on this page: http://www.malsup.com/jquery/cycle/int2.html