can someone smarter than me explain why I’m having so much trouble with this problem!
I include 5 javascripts for my website, and 4 of them work fine. I do this by referencing them as external files and the scr=”webserver location”
for example:
[CODE]
<script src=”http://localhost/mysite/view/default/accordion.js”></script>
The 5th one, called [B]clock.js
[CODE]
<script src=”http://localhost/mysite/view/default/clock.js”></script>
however if i reference it with a [B]partial filepath
[CODE]
<script src=”house/scripts/clock.js”></script>
… now the problem is, the partial filepath is no good for some parts of the website (different levels, making the partial filepath invalid).
If I try a full filepath like this:
[CODE]
<script src=”C:/wamp/www/mysite/house/scripts/clock.js”></script>
the script doesn’t work at all!!
any ideas??