You got it a bit wrong...

echo $javascript->link('scriptaculous/effects');

On Jul 16, 3:44 pm, Arendp <[EMAIL PROTECTED]> wrote:
> I have this problem:
> We work with some Javascript, including the script from Sriptaculous.
>
> The javascript is included like this in our template:
> if(isset($javascript)){
> echo $javascript->link('prototype');
> echo $javascript->link('scriptaculous');
> echo $javascript->link('effects');
> etc...}
>
> Javascript is included into the var helper.
>
> Now the following error occurs:
> Syntax error on line 2 char 1.
>
> I have searched on this site and google but there is no clear answer
> for this error. I know about the white space in the js file, but this
> is excluded already.
>
> Anyone a suggestion on how to solve this?
>
> Thanx already for helping.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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