malsup / cycle2

2nd gen cycling
899 stars 239 forks source link

cycle2 fails to read data-cycle-* Why? How to fix? #800

Open mrzeph opened 7 years ago

mrzeph commented 7 years ago

I'm helping a semi-techie friend out by touching up some html and he wanted a slideshow that he could easily edit. I chose cycle2. However, for some reason, I can't get cycle2, with caption2 added to read the data-cycle-* Whether I include alt, or title or desc as per the website, the only resulting caption will be "desc" or "alt" as the case may be.

Ideally, I want to display the alt tag, the description and build a link out of data-cycle-link (if possible.)

I would be very appreciative of any insight or assistance, and I'm ready to jump on it as soon as anyone responds.

Pastebin of simplified code here. CSS .classes or #ids may be off, as I've tried every variation, and finally just plugged in the basics. Can anyone spot a particular error?

http://pastebin.com/C6fAits0

Thank you.