I am trying to spice up my show_menu2 menu with some jquery I have called jquery.js and my menu.js sctipts in the head section of my template as follows.
<head>
<!--Start of Dynamic Head Contnet-->
<title><?php page_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else { echo 'utf-8'; }?>" />
<meta name="description" content="<?php page_description(); ?>" />
<meta name="keywords" content="<?php page_keywords(); ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo TEMPLATE_DIR; ?>/screen.css" media="screen" />
<script type="text/javascript" src="jquery.js" />
<script type="text/javascript" src="menu.js" />
<?php
// automatically include optional WB module files (frontend.css, frontend.js)
if (function_exists('register_frontend_modfiles')) {
register_frontend_modfiles('css');
register_frontend_modfiles('js');
}
?>
<!--End of Dynamic Head Content-->
</head>
The problem I am having is that the template is not rendered at all. If i place the call the the js files to be above where I call the register frontend mod files functions the template renders but the module css files aren't included.