Ok, today I have decided to add nice ajax links so that my app seem
more clean and friendly.

Although I'm experiencing something weird while trying to call my
javascripts from my 'default' layout:

this is what I do:
$javascript->link(array('script1', 'script2', 'script3', 'script4'));

script 1 and 2 are my JQuery UI scripts for some user interface
features in my app.

script 3 and 4 are 'prototype.js' and scriptaculous required for Ajax
(As far as I'm concerned, anyone please point me out on that last
one.)

Now if I leave them in that order my JQuery UI features work fine but
my ajax link doesn't work, if I flip them up:

$javascript->link(array('script3', 'script4', 'script1', 'script2'));

Then Ajax works fine, but JQuery UI goes down.

I even tried to call them up individually, like so:

$javascript->link('script1');
$javascript->link('script2');
etc...

yet I get the same problem..

Anyone?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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