Choosing between "access denied" and broken links

  • Thread starter Thread starter Barry
  • Start date Start date
B

Barry

I'm trying to convert an HTML frameset to work offline, on Windows XP, but I
keep encountering obsticles. My latest one is that intradocument links don't
work (example.com#abc) when the extension of the page is .shtml, and if I
change the extension to .hml, I get an "access is denied" error from the
line: parent.left.document.location.href = "C:\DIR1\DIR2\FILE.htm" (I've
tried various versions of that line, with regular/back slashes, 2/3 slashes
after C:, relative/absolute target, etc). I've tried adjusting security and
privacy settings, but it didn't help. The intradocument links worked on
Netscape Navigator with the .shtml extension, but I'd like it to be IE
compatible. Any suggestions?

Thanks
 
Just wanted to clarify that the target in that javascript line accesses the
page when I enter it into the address bar. The "Access is denied" error for
that line only occurs when the line is in a file with the extension .htm.
 
I think I solved the problem. My theory that the notice "unknown zone
(mixed)" was related to being unable to communicate between frames was
correct. The http address in the doctype declaration caused it. I'll save
the page referenced in the doctype declaration locally (simply eliminating
the URL causes the page to render slightly incorrectly, as it does in IE 5.5
even with the address).

And speaking of those doctype URL's, when you save a web page as "web page,
complete," the page referenced by the URL in the doctype doesn't get saved
and the computer tries to connect you to the internet when you try viewing
the page offline.
 
Back
Top