I am creating a series of pages which are to work both through normal
internet operations and through operation off a cd-rom or harddrive. The
available functionality differs depending on the media. I'd very much prefer
not to have to have different versions.
Is there a property or method of document or someother high level construct
that would answser this question for me?
The only alternative I can think of is looking at the url and hoping that it
begins with http:// in one case and file:// in the other case.
TIA
Regards,
Al
Kody Brown - 30 Aug 2004 18:23 GMT
I have done this, using document.location.href, as you suggested..

Signature
-Kody
kody at weekendtech dot net
"Custom ASP.Net Web Controls"
> I am creating a series of pages which are to work both through normal
> internet operations and through operation off a cd-rom or harddrive. The
[quoted text clipped - 11 lines]
> Regards,
> Al