You have to replace { and } with {ldelim} ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/miscellaneous/ldelim ) and {rdelim} ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/miscellaneous/rdelim ) in embedded JavaScript code in an eZ publish template, or put the JavaScript code in a literal block ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/miscellaneous/literal ).
When it outputs the code, it drops it down on the next line, even though I didn't place it on one. This behavior is site wide - can't seem to find out why it does this.
Thanks!
Rick.
You must be logged in to post messages in this topic!