If you sort your indentation you could spot these things a lot easier!
Try this:
$(document).ready(
function() {
$('#birds').click(
function() {
$('#birds').cycle('fade');
}
);
}
);
Writing it all on one line just makes it a total swine to spot missing
braces...
On Aug 21, 6:37 am, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote:
> Firebug sez:
>
> missing } after function
> bodyhttp://www.whatbird.com/wwwroot/Components/Cycle%20Demo.html
> Line 16
>
> I think that code should be:
>
> $(document).ready(function(){ $('#birds').click(function() {
> $('#birds').cycle('fade');
> });
>
> });
>
> Instead of
>
> $(document).ready(function(){ $('#birds').click(function() {
> $('#birds').cycle('fade');
>
> });
>
> On 8/21/07, Mitch <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Im having a heck of a time getting the Cycle plugin to work.
>
> > Cycle is athttp://www.malsup.com/jquery/cycle/and appears to be the
> > best slide show out there.
>
> > Here is my incredibly simple jQuery program:
>
> >http://www.whatbird.com/wwwroot/Components/Cycle%20Demo.html
>
> > Can anyone see what I have missed?
>
> > Thanks
>
> > Mitch
>
> --
> Aaron Heimlich
> Web Developer
> [EMAIL PROTECTED]://aheimlich.freepgs.com