M
Milsnips
hi there,
i'm currently using the following line:
<script language="javascript" type="text/javascript"
src="../scripts/timer.js"></script>
but i want to do the following, as the script needs to be used in many pages
at varios folder depths ( it is placed in my master page).
<script language="javascript" type="text/javascript"
src="~/scripts/timer.js"></script>
doesnt ASP.NET 2.0 pick up that i've put the "~/" symbol in the script SRC
parameter, as it only works on the pages within the SRC root "../" which im
currently using.
any help appreciated.
thanks,
Paul.
i'm currently using the following line:
<script language="javascript" type="text/javascript"
src="../scripts/timer.js"></script>
but i want to do the following, as the script needs to be used in many pages
at varios folder depths ( it is placed in my master page).
<script language="javascript" type="text/javascript"
src="~/scripts/timer.js"></script>
doesnt ASP.NET 2.0 pick up that i've put the "~/" symbol in the script SRC
parameter, as it only works on the pages within the SRC root "../" which im
currently using.
any help appreciated.
thanks,
Paul.