Mike,

Thanks, I figured out my issue, I just had to add a closing bracket.

$('#headline-rotation').before('<ul id="nav">').cycle({
                fx: 'fade',
                speed:  'slow',
                timeout: 4000,
                pager:  '#nav',
                pagerAnchorBuilder: function(idx, slide) {
                        var src = $('img',slide).attr('src');
                        return '<li><a href="#"><img src="' + src + '" 
width="100"
height="50" /></a></li>';
                }
        });

Final code. Works beautifully. Thank you so much.

Zach

On Oct 17, 10:58 am, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > Thanks Mike!
>
> > It's currently on the development page atwww.imagine.yidio.com. I've
> > put some placeholders in for the time being.
>
> Zach, it really looks to me like this should work:
>
> $('#headline-rotation').before('<ul id="nav">').cycle({
>     speed:  'slow',
>     timeout: 4000,
>     pager:  '#nav',
>     pagerAnchorBuilder: function(idx, slide) {
>         var src = $('img',slide).attr('src');
>         return '<li><a href="#"><img src="' + src + '" width="100"
> height="50" /></a></li>';
>     }
>
> });

Reply via email to