3214 Posts in 848 Topics by 810 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 773 Views |
-
Requirements in Include load after Layout-Requirements

18 February 2010 at 9:00pm Last edited: 18 February 2010 9:01pm
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
| 773 Views | ||
|
Page:
1
|
Go to Top |

