|
|
You saved an article's HTML document on your hard disk because you wanted
to read it later.
This
is allowed when it's a personal use, such as keeping it reference or printing
for better reading or sharing with teammates without internet accesss. But you
have problems opening it because -
Problem description:
When you open the article you can see that it opens in the browser but immediately
vanishes, with a "page not found" error on your browser.
Reason for this:
All documents contain a javascript that checks if the document is opened within TDT's frameset. If not then the browser automatically forwards to a server script that builds a proper frameset.
What you can do to avoid this:
There are several solutions possible.
Solution 1(easy): Use Winword instead of your browser to view the pages offline. This won't work for all pages, but for most of them it should. Caution: When I opened one of the more complex pages in Winword the program crashed! It did no harm, but keep on your mind that this can happen, so don't work with Winword at the same time you view TDT pages with it!
Solution 2(easy): If you have Netscape you can view the pages with Netscape Composer instead of Navigator. Same is possible with MS Frontpage or Frontpage light (which is free and should be easy to obtain, you probably already have it somewhere on CD).
Solution 3(intermediate): disable Javascript in the browser you are using for offline work. With Netscape select Edit -> Preferences->Advanced and here unclick the item "enable java script". With Internet Explorer select Extras->Internet options->Security (I'm not quite sure if these are the exact menu item names in English because I only have a German IE). In the security settings search for scripting->javascript and disable it.
Solution 4(best one, easy but work): Download the frameset and the pages/files contained within. Best method is to right-click [Hi Mac users! O:-) ] on each of the following links, choose "save as" from the menue and save in a TDT folder on your hard drive:
frames.htm
test.htm
nav.htm
portaltest.htm
dartbase.css
you might also want the following graphics:
bnav1.gif
bsearch1.gif
bnotify1.gif
bguest1.gif
bchat1.gif
tdtnewlogo.gif
hgr1.jpg
minus131.gif
plus131.gif
Once you have these files you can safely save and later access all TDT content articles (the documents that change within the frames). You only have to open frames.htm in your browser and can normally navigate with the javascript tree.
Solution 5 (intermediate): Remove that nasty Javascript from the pages you have downloaded. Open each document in a normal text editor (Notepad for example) and search
for something looking like this:
<SCRIPT LANGUAGE="JavaScript">
<!--
function frame () {
if (parent.frames.length != 3)
location.href="frames.php3?x=xxxxxxx.htm" ;
}
//-->
</SCRIPT>
Delete everything from <SCRIPT... > to </SCRIPT>,
save, and that page will work in your browser. Repeat this with every document
you have retrieved. If you still have problems afterwards then you must also delete
the onload="frame()" statement somewhere
in a line that begins with <body ...| HOME | ![]() |