Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Browsers / Internet Explorer / August 2004



Tip: Looking for answers? Try searching our database.

Detecting media used by page web vs local hard media

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Al Christoph - 26 Aug 2004 18:56 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.