Hi,
I have a problem with my Requirements, which I describe briefly:
Because the includes/header.ss is always loaded, I want to embed here the "global" css and javascript files. e.g. The jQuery library.
In the layout/pagetype.ss I load the required javascript files for this pagetype, but files are loaded before the library is loaded.
<!-- loaded in Layout/pagetype.ss -->
<script type="text/javascript" src="http://local.ss/themes/mysite/js/pagetype.js?m=1266431425"></script>
<!-- loaded in includes/header.ss -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://local.ss/themes/mysite/js/global.js?m=1266420678"></script>
In what order the files are gone through?
I'm using the 2.4-beta…
Thanks and greetings
Jörn