Are you using firebug in firefox?  I've noticed that sites with lots
of javascript run VERY slow under firebug.  Try testing in another
browser or turning firebug off and see if that helps.

On Apr 24, 9:32 am, Pierre MARCOURT <[EMAIL PROTECTED]> wrote:
> Thanks for the advice Chris,
>
> I am going to try jQuery and see if it is better.
>
> Chris Hartjes a écrit :
>
>
>
> > On Thu, Apr 24, 2008 at 10:22 AM, Pierre MARCOURT
> > <[EMAIL PROTECTED]> wrote:
>
> >>  I am doing some queries in beforeRender() because I have to set variables
> >> in the layout.
> >>  When users Log In in my system, they can change the order of the elements
> >> (little calendar, etc.) of the layout.
> >>  And then I save this order in the database.
>
> > I understand...unavoidable I guess.
>
> >>  So I am using the beforeRender() function to set the order of the elements
> >> in the layout when the user load a page.
>
> >>  For the JavaScript part, what I can do ? I have only 2 links :
> >>          <?php echo $javascript->link('prototype') ?>
> >>          <?php echo $javascript->link('scriptaculous') ?>
> >>  and I am using them with drag & drop, InPlaceEditor, etc.
>
> > I'd stop using the built-in helpers and use jQuery.
>
> --
> Pierre
>
> [EMAIL PROTECTED]
> _____________________
>
> CableOrganizer.com
> 5610 NW 12th Ave, suite 214
> Ft.Lauderdale, FL 33309
> Phone: 954-861-6310
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to