Hello everyone,
I'm just beginning to work with ASP.NET and I've run into some issues that I can't seem to solve.
I'm building the master page for a site that can be viewed here: www.cisp.com
The master page has the following javascript includes in the head tag:
As you can see, I've had to reference these documents using the "/cisp.net/js/" path in order to get them to properly function across multiple directories.Code:<script type="text/javascript" src="/cisp.net/js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/cisp.net/js/jquery.accordion-1.2.1.js"></script> <script type="text/javascript" src="/cisp.net/js/thickbox-compressed.js"></script>
If I use a path like "~/js/..." or "/js/..." or "js/..." the javascript will either not be pulled into the page at all, or it will only be pulled into root pages and not pages sitting within other directories.
I need to find a way to dynamically hit these from any directory in my website. These files are to be called across all pages of my site, so it would be senseless to not use a master page.
Can anyone lend some assistance?











Bookmarks