Closed (fixed)
Project:
Drupal core
Version:
4.7.x-dev
Component:
base system
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2006 at 21:48 UTC
Updated:
20 Feb 2007 at 19:30 UTC
what about making head items have a weight attribute so that they can be ordered???
one may want to add a css or js file at the end of head section.
Comments
Comment #1
aidos commentedI'm having the same problem with this - my js file is appearing before drupal.js and thus the addLoadEvent function etc is not defined.
Is there something other than drupal_set_html_head that should be used for including js files?
Comment #2
aidos commentedmanaged to solve this in my case by moving the calls to drupal_set_html_head into the footer hook.
Comment #3
ufku commented