[development] Ordering of javascript includes in $head tag
Chris Cook
beerfan at gmail.com
Fri Jan 27 19:49:56 UTC 2006
On 1/26/06, Nick Lewis <nick at smartcampaigns.com> wrote:
> The two javascript includes apparently need to come before misc/drupal.js for the nifty corners technique to work. Any ideas on a cleaner
> way to include the javascript in the right order without breaking module's ability to extend the template?
I'm probably missing something but why don't use just put the
following in your theme:
<head>
<title><?php print $head_title ?></title>
<script type="text/javascript" src="themes/curved_slate/nifty.js"></script>
<script type="text/javascript" src="themes/curved_slate/layout.js"></script>
<?php print $head ?>
<?php print $styles ?>
</head>
Cheers,
Chris
More information about the development
mailing list