$scripts_for layout should be in your layout file. On Wed, Jul 22, 2009 at 3:25 AM, Yannis<[email protected]> wrote: > > Hi, > I'm including an element in my default layout like this: > $this->element('nav'); > In the top of the element I have a call to the javascript helper to > include some functions like this: > $javascript->link(array > ('jquery-1.3.2.min.js','superfish.js','supersubs.js','menu'),false); > > The think is that javascript doesn't work ... however the same thing > on a view file works like a charm. > I have the $scripts_for layout called inside another element > > What am I doing wrong??? > thanks > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
