I suppose you could do a
somevariable = window.location;
and then do a substr or substring on the url, and see if it's in there. There might be an easier way, but that's probably how I'd do it.
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
I don't unserstand why the Javascript needs to know the url of the calling page. Doesn't the person who wrote both of them already know that?
MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182