The cycle plugin is excellent. It can have anything you want for each
item -- image, caption, whatever. You apply the method to a container
element, and the child elements are cycled. So, you could have this,
for example:
jQuery:
...
$('#mycontainer').cycle();
...
HTML:
...
<ul id="mycontainer">
<li>
<img src="foo.jpg" alt="" />
<p>I'm a caption.</p>
</li>
<li>
<img src="bar.jpg" alt="" />
<p>I'm another caption.</p>
</li>
</ul>
...
If you'd like to see an example of this in the wild, I used the cycle
plugin here:
http://www.canons-regular.org/
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Oct 8, 2008, at 11:03 AM, deronsizemore wrote:
Thank you very much. I did see it the other day but I didn't notice
anything
where it allowed you to add in a caption. I'm going back to take a
second
look.
I'm currently trying to read through the Learning jQuery book, so
hopefully
if Cycle doesn't have captions built in, I'll be able to add that
functionality myself soon.
Paul Mills-12 wrote:
Hi,
You could try the cycle plugin:
http://plugins.jquery.com/project/cycle
The documentation is very good with lots of examples.
You can use the before and after callback functions to show/hide the
caption
and CSS to position the caption on top of the image.
Paul
On Oct 6, 12:44 am, deronsizemore <[EMAIL PROTECTED]> wrote:
Hi,
I'm looking for plugin that will allow cycling through images and
display
a
caption for each image. What I'm looking for is exactly like this
example:http://www.woothemes.com/demo/?t=3
The image on the top left cycles through different images and
displays a
unique caption for each image. Is there anything out there like
this for
jQuery? I believe the example above used this mootools plugin I
believe:http://smoothgallery.jondesign.net/getting-started/gallery-set-howto/
Currently, I'm using jQuery Innerfade tocyclethrough images, but I'm
having to manually insert captions via Photoshop and it's just
getting to
be
a bit tedious.
Thanks
--
View this message in
context:http://www.nabble.com/Need-solution-to-cycle-through-images-and-displ
...
Sent from the jQuery General Discussion mailing list archive at
Nabble.com.
--
View this message in context:
http://www.nabble.com/Need-solution-to-cycle-through-images-and-display-a-caption-tp19830233s27240p19880671.html
Sent from the jQuery General Discussion mailing list archive at
Nabble.com.