Re: javascript declarations

2008-01-15 Thread b logica
On Jan 15, 2008 9:29 PM, hydra12 <[EMAIL PROTECTED]> wrote: > > Try this instead: > > if(isset($javascript)) > { > echo ($javascript->link('prototype.js')); > echo ($javascript->link('scriptaculous.js')); > } > ?> > > This is the normal way to write an if statement in php. I don't know >

Re: javascript declarations

2008-01-15 Thread hydra12
Try this instead: link('prototype.js')); echo ($javascript->link('scriptaculous.js')); } ?> This is the normal way to write an if statement in php. I don't know if the other way will work or not. hydra12 On Jan 15, 7:59 pm, "b logica" <[EMAIL PROTECTED]> wrote: > On Jan 14, 2008 6:21 PM,

Re: javascript declarations

2008-01-15 Thread b logica
On Jan 14, 2008 6:21 PM, top123 <[EMAIL PROTECTED]> wrote: > > > I'm try this way for access my javascripts file : > > if(isset($javascript)): > echo ($javascript->link('prototype.js')); > echo ($javascript->link('scriptaculous.js')); > . > endif; > ?> > > but I

Re: javascript declarations

2008-01-14 Thread top123
t;unterminated.something", can I access my .js with another way ? please help me to fix this error thank's -- View this message in context: http://www.nabble.com/RE%3A-javascript-declarations-tp13863726p14795027.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~-

Re: javascript declarations

2007-11-21 Thread ldb
G'day Thanks very much for that reference. I did try the fix but it did not work in my situation. But it's a great link and is bookmarked for future issues. Much appreciated. I did end up trying a grueling comparison of the header tags between two cake projects, one works, one (the current one)

Re: javascript declarations

2007-11-20 Thread bingo
hi idb I came across this problem many times..and the only reason IE7 fails to load javascript is when the

Re: javascript declarations

2007-11-20 Thread Pablo Viojo
Please provide more details...javascript error, if any, generated html code, etc -- Pablo Viojo [EMAIL PROTECTED] http://pviojo.net On Nov 20, 2007 4:07 PM, ldb <[EMAIL PROTECTED]> wrote: > > G'day > > This has got to be a tweak I missed, can someone please tell me what > IE7 doesn't like abou

RE: javascript declarations

2007-11-20 Thread ldb
G'day This has got to be a tweak I missed, can someone please tell me what IE7 doesn't like about the following javascript declaration I have in my default.thtml header? I've tested and the "isset($javascript)" is true. link('prototype')); echo ($javascript->link('scriptaculous'));