So, why can't your scripts be in the head? Do you know you can add
scripts to the head dynamically? Like this:

var fileref = document.createElement('script');
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("src", '/javascript/common20.js');

if (typeof fileref != "undefined")
document.getElementsByTagName("head")[0].appendChild(fileref);
On Nov 26, 4:50 pm, Glen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The latest version of Scriptaculous will not correctly load if the
> main file (scriptaculous.js) is not loaded in the <HEAD> of the page.
>
> The new version only looks in the Head for the Script tag.
>
> On some of my pages, that is not an option, and the <script> tags are
> in the body.
>
> To fix it, I had to change line 49 and change  $$('head script[src]')
> to  $$('script[src]')
>
> Hope this can be fixed in the next version...
>
> Glen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to