[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread madmarv187
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...

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Mitch
I got it to work, thank you guys, as you can see here (wait a few seconds for the fade to occur). http://www.whatbird.com/wwwroot/Components/cycle%20demo.html However I cant get the special effects to work. For example this link, which uses $('#birds').cycle( {fx: 'scrollDown'} ); should do

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Mitch
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

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Rey Bango
Mitch, Firebug picked up the missing bracket as soon as I loaded the original page. Are you running FF with Firebug? If not, its definitely a lifesaver. Rey Mitch wrote: 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] Re: Cycle Plugin Killing me

2007-08-21 Thread Stephan Beal
On Aug 21, 4:14 pm, Mitch [EMAIL PROTECTED] wrote: 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. Almost every modern text editor can do this for you. To

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Mike Alsup
Mitch, I've just fixed a bug in the scroll transitions. v1.8 is available now and should fix the problem. Give me a shout if you're still having troubles. http://www.malsup.com/jquery/cycle/download.html Mike I got it to work, thank you guys, as you can see here (wait a few seconds for

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Mike Fern
On 8/21/07, Stephan Beal [EMAIL PROTECTED] wrote: Almost every modern text editor can do this for you. To name just a small number of them: xemacs emacs vi vim kate kwrite ... there are certainly some for Windows which can do this, too. (Xemacs runs on Windows but has a pretty high

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Mitch
Mike is it possible that there is still a bug or am I just doing something really dumb here: http://www.whatbird.com/wwwroot/Components/cycle%20demo2.html I see the first image but no cycling. Firebug I would like to point out something that I think would make your cycle plugin much easier to

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Stephan Beal
On Aug 21, 9:32 pm, Mitch [EMAIL PROTECTED] wrote: ... I would like to point out something that I think would make your cycle plugin much easier to use which is this. ... div id=birds class=pics img src=../images/Acadian Flycatcher_X2.jpg / img src=../images/Acorn Woodpecker_X2.jpg

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Mike Alsup
@mitch: What exactly is missing from the examples? Is it just the container ID that confused you? On the beginner demo I tried to clearly show how the markup and CSS should look but I didn't want to show that over and over for each and every demo. @Stephan: Interesting idea. For now I'm going

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Mitch
Specifically I was confused that the ID was missing from the pics container. Besides adding an ID to the container code I suggest that your js download contain a sample of ONE effect, the images and css. Lots of people do that and what is so nice is you can open there index.htm and immediately

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Mitch
JS: in the DIV you have a single IMG file which will show up whether or not JS is available I would like it so only ONE image showed when you were viewing in your editor instead of all images being stacked on top of each other. On Aug 21, 12:51 pm, Stephan Beal [EMAIL PROTECTED] wrote: On

[jQuery] Re: Cycle Plugin Killing me

2007-08-21 Thread Mike Alsup
Besides adding an ID to the container code I suggest that your js download contain a sample of ONE effect, the images and css. Lots of people do that and what is so nice is you can open there index.htm and immediately have it working, then start modifying or insidertinto your own code.

[jQuery] Re: Cycle Plugin Killing me

2007-08-20 Thread Aaron Heimlich
Firebug sez: missing } after function body http://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(){