Im going to do this from now on, its a really good idea. I wish there
was some kind of program that could scan the jQuery and correct braces
or at least tell you where they are wrong.
On Aug 21, 3:17 am, [EMAIL PROTECTED] wrote:
> 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/andappears 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- Hide quoted text -
>
> - Show quoted text -