Mitch,

You'd have to do the first one by hand (for now).  For example, if
your slideshow div has an id of "slideshow" and your before handler is
"onBefore" you could add this to you doc-ready block:

onBefore.apply($('#slideshow img:first')[0]);

Mike


On 8/26/07, Mitchell Waite <[EMAIL PROTECTED]> wrote:
>
> Mike
>
> I must have missed that the last time I check the cycle demo pages. It's 
> PERFECT. I love the way it reads the ALT= text and then can output it to a 
> div.
>
> The one thing I could not figure out is how do you get the very first image 
> to show a title.
>
> When you run cycle it does not add the title until it displays the SECOND 
> image. Any thoughts?
>
> Again massively excellent plugin Mike.
>
> Mitch
>
> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike 
> Alsup
> Sent: Sunday, August 26, 2007 5:08 PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: Cycle Plugin
>
>
> Mitch,
>
> You can use the "before" callback to do interesting things like that.
> In fact I do something very similar on the callbacks example:
>
> http://www.malsup.com/jquery/cycle/int2.html
>
> Mike
>
>
> On 8/26/07, Mitchell Waite <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > I'm using the cycle plug in and I was wondering if anyone knew a way to
> > access the file name and display it with the image.
> >
> >
> >
> > If this can't be done I have worked myself into a nice hole J
> >
> >
> >
> > Thanks
> >
> >
> >
> > Mitch
> >
> >
>
>

Reply via email to