Nope. I've got the "new" in my code. On Sep 21, 2:23 pm, "Christopher E. Franklin, Sr." <[EMAIL PROTECTED]> wrote: > You are forgetting the new statement in front of Effect. > > new Effect.Flash('id'); > > On Sep 21, 12:45 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > I actually tried it with both a capital and lower case B, but nothing > > worked. > > > Now, one of the interesting things I'm seeing with firebug is that > > there is no code for the Effect. I've looked at the source code, the > > generated code, all the stuff, and there is nothing about the effect > > in the page code. In fact, here is the code for the submit button > > where it should be: > > > <input id="submit1207087267" type="submit" onclick="return false;" > > value="next"/> > > > So, why do I not get anything for the effect in the onclick? Even if I > > use 'onclick' instead of 'complete', the onclick still contains > > "return false;". > > > Thanks! > > > On Sep 20, 10:58 pm, Grant Cox <[EMAIL PROTECTED]> wrote: > > > > 1. Install the FireBug extension for Firefox, it will make it easier > > > to debug javascript. > > > > 2. It is Effect.BlindDown (capital B) > > > > On Sep 21, 3:13 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > > > I'm new to CakePHP with only about a week under my belt. I've been > > > > able to use AJAX on my work, and I have many things working just fine. > > > > I am, however, having trouble getting the Scriptaculous Effects to > > > > work. I've gone through MANY web pages (tutorials, here in the group, > > > > other pages, etc.) and I've been doing things that I've seen in them, > > > > bu to no avail. My stuff just "pops in" instead of using the > > > > Scriptaculous effect that I designate (like this): > > > > > <?php echo $ajax->link('login', '/user/login', > > > > array('update'=>'login', 'complete' => "Effect.blindDown('login')")); ? > > > > > I've also tried it with: > > > > > <?php echo $ajax->link('login', '/user/login', array('url' => '/user/ > > > > login', 'update'=>'login', 'complete' => > > > > "Effect.blindDown('login')")); ?> > > > > > and many other ways. What am I missing? I've added the calls to get > > > > the prototype.js and other files loaded, so that is not the issue. I'm > > > > just stumped by this. > > > > > ANY help would be greatly appreciated! > > > > > Cary
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---