hi

I didn't find if it's possible (I use cake 1.1) to use a second
argument with JavascriptHelper::link()

I wanted to use this to specify "defer", like this :
<script defer type="text/javascript" src="pngfix.js"></script>

the only way I found to emulate that is to transform my JS file :
// code
into
window.onload = function() { // code }
and to call this file with the normal way : $javascript-
>link('pngfix')

is there a way to deal with it using the JavascriptHelper ?

something like JavascriptHelper::link($url, $defer) where $defer is a
boolean


as you can see, my problem is solved, this topic is just for my own
information and to do this suggestion

thanx


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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