Hi,
I’ve done a lot of trawling the forum and the wider internet before posting, but can’t find a solution to my problem.
I’m new to MODx and am developing a site, which is working fine as straight HTML, see
http://upwebdesign.co.uk/urbane.html, but when translating it into MODx, none of the Javascript functionality works, which includes the initial ’splash page’, the navigation rollover and the background image rollovers in the 3 boxes at the bottom of the page,
http://supamarket.co.uk/
I’ve done my best to get the folder hierarchies correct for the js and css files and as far as I’m aware, don’t have the quick editor enabled, which I know has caused others some problems.
Here is the code I have in the MODx head tag, to demonstrate the paths to the Javascript:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=[[++modx_charset]]" />
<title>[[*pagetitle]] | [[++site_name]]</title>
<meta name="description" content="[[*description]]">
<meta name="keywords" content="">
<base href="[[++site_url]]">
<link rel="stylesheet" type="text/css" href="assets/templates/homepage/styles.css" />
<link rel="stylesheet" type="text/css" href="assets/templates/homepage/splashscreen.css" />
<script src="
http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.4.min.js"></script>
<script src="assets/templates/homepage/jquery.splashscreen.js"></script>
<script src="assets/templates/homepage/script.js"></script>
</head>
Can anyone offer any help to this much frustrated new user?
Many thanks
Matt