Click to See Complete Forum and Search --> : IE6 blundering on my hard drive
mykbury
01-23-2005, 01:07 PM
Hi all.
My problem is that IE isn't addressing paths correctly on my hard drive and I cannot guess why. It used to, and still does at my ISP.
eg: I point it at an html file containing a link to another html file in the same sub-directory. On clicking the link it comes up with the message 'The page cannot be displayed', and I note it appears to have been searching the root directory.
Similarly, it won't run a Powerpoint presentation converted to html.
Could it have something to do with any of the recommended MS updates I've downloaded?
I'm at a loss.
Regards,
Mike.
Stephen Philbin
01-23-2005, 01:18 PM
Give us some sample data or code. We can help much faster if we can see where the problems are coming from. ;)
As a quick guess though I'd say you're probably using relative url's in a absolute way. In other words, if the address of the file you're pointing the link to starts with a slash, get rid of it.
mykbury
01-23-2005, 02:19 PM
Thanks Mr Herer, but, my problem is as stated and nothing to do with my coding. The site comprises around 100 files and all worked fine until recently. I am mystified that IE handles the identical files Ok at my ISP still, but not on my hard drive.
But here's a typical sample anyway. The target files are in the same sub-directory as this code:
</head>
<FRAMESET COLS="16%,84%" BORDER=0 FRAMEBORDER=0 FRAMEBORDER=NO
FRAMESPACING=0 NORESIZE>
<frame src="menu1024.htm" noresize scrolling=no border="no"
name="lmarg">
<FRAMESET ROWS="70,*" BORDER=0 FRAMEBORDER=0 FRAMEBORDER=NO
FRAMESPACING=0 NORESIZE>
<FRAMESET COLS="84%,16%" BORDER=0 FRAMEBORDER=0 FRAMEBORDER=NO
FRAMESPACING=0 NORESIZE>
<frame src="bann01.htm" noresize scrolling=no border="0"
name="banner" marginwidth="10" marginheight=4 bordercolor="#FFFAFO">
<frame src="martop01.htm" noresize scrolling=no border="0"
name="martop" marginwidth="0" marginheight=0 bordercolor="#228B22">
</frameset>
<frame src="intro1024.htm" noresize scrolling=no border="0"
name="page" marginwidth=0 marginheight=0>
</frameset>
</frameset>
Cheers,
Mike.
mykbury
01-23-2005, 02:33 PM
Likewise, the following results in 'Page not found'. And in the Explorer bar I see 'C:\index1024.htm'.
No problem with this previously.
<script language="JavaScript1.2">
<!--
if (screen.width==1024||screen.height==768) //if 1024x768
window.location.replace("index1024.htm")
//-->
</script>
</HEAD>
Again, index1024.htm is in the same sub-directory as this code.
Help :confused:
Mike.