Hi
I have what i am sure must be an easy problem: if i create content pages based on a master page and put the content pages in a different directory then i get lots of problems
Lets say I have a master page in my home directory and that contains some javascript in the same directory and i link to the javascript as so :
<script type="text/javascript" src="contacts.js"></script>
If i create a content page and put it in a different directory then the content page can't find the javascript. I have tried including the javascript in the master pages using an absolute reference from the home directory as shown below but this does not work either.
<script type="text/javascript" src="/contacts.js"></script>
<script type="text/javascript" src="~/contacts.js"></script>
How do i fix this??
Thanks a lot, andrea