I set my wordpress permalink structure to /%postname%/ but now when I go to a page other than the home page (for example if I went to somelink.com/about) I lose all javascript references.
I think this happens because the links to the js files are no longer right as it is in the imaginary folder "about". This is how the js files are referenced in the header.php file.
<script type="text/javascript" src="wp-content/themes/default/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="wp-content/themes/default/js/cufon-yui.js"></script>
<script type="text/javascript" src="wp-content/themes/default/js/Goudy_Bookletter_1911_400.font.js"></script>
<script type="text/javascript">
$(document).ready(function() {
Cufon.replace('h1');
Cufon.replace('h3', {textShadow:'0 1px #fff'});
});
</script>
Am I doing something wrong?