Master Page - making it dynamic?

N_K

Member
Joined
Oct 10, 2006
Messages
22
Programming Experience
3-5
Hi,

I have a master page for my site which controls the general layout of the site. On the .master part of the file I have a large area of javascript I use for tracking.

I need the master page to be able to detect the url of the current page and change certain variable values in the javascript.

Is there an easy way to do this?

cheers

NK
 
It is the current page that is loaded and references the master page, not the other way around, so the url is the same in window.location as if the page didn't have a masterpage.
 
Back
Top