Re: Strange Behavior On File:/// link in Web Page - New Issue
- From: Sparda <UseLinkToEmail@xxxxxxxxxxxxxxxxx>
- Date: 5 Sep 2005 13:36:11 -0400
"" wrote:
> I have written an HTML page that is emailed to end-users. The
> HTML page has
> a table in it with a row that conains a hyperlink. The
> hyperlink is pointed
> at a file on their server. The HTML file worked for me on my
> machine until
> recently. We have been debugging this and it appears that
> Windows XP,
> Outlook or IE (Long version:
> 6.029.2180.xpsp_sp2_gdr.050301-1519) is
> conspiring to do the following:
>
> - If you save the HTML file from the email to your local
> drive, it CHANGES
> the File://C:... to File:///C:.... Note the extra forward
> slash. In my
> script that generates this page, it is ONLY including two
> forward slashes.
> - If I manually edit the HTML file to reflect either 2 forward
> slashes (or
> one or none), when I hover my cursor over the hyperlink, the
> status bar in
> IE STILL shows the path with File:///, having inserted as many
> forward
> slashes as it needs to get to the three.
>
> I will paste below the TR section. Does anyone know what is
> happening?
>
> <TR>
> <TD align=middle colSpan=7><FONT size=5>Please click on
> the hyperlink
> below to bring up the Sample of How This Page Works case
> in
> The program. (DO NOT CLICK THE LINK IF THE PROGRAM IS
> OPEN.)<BR>You
> will then
> double click on the Script in the Case Explorer
> titled:<BR><B><A
> href="file:C:/x.txt">Text Document</A></B>.
> <P></FONT></P></TD></TR>
>
> The REAL problem, though, is when you click the hyperlink,
> nothing happens.
> It's as if it wasn't there!
>
>
> I just downloaded FireFox and tried this. It, too, shows the
> File:///c:/x.txt, w/ the extra forward slash, in the status
> bar...but when I
> click it, it opens the file in the browser window. (It does
> NOT launch my
> text editor, though.) The funny thing is that when I point it
> to a
> proprietary formatted file, the one that is supposed to launch
> the a program
> from Windows...instead of launching the program, it opens the
> file in the
> browser window. But, if I navigate to it in my Windows
> Explorer and
> double-click it, it launches the application properly.
>
> Funny that it can make sense out of the three slashes...and
> that IT also
> adds a slash to what my html file has.
>
> Does anyone know what's going on here? Has anyone else seen
> this problem?
>
> Thanks,
> Paul
I have encountered this befor, i was trying to make a web page to
induce paranoia in non-computer litirate people by opening explorer
(on there computer) and having it naviagte to C: with the sentance
"Look, I have all your data!" above the link, this is done (by
microsoft) to stop web pages from accessing and or running programs on
the local computer using the file:// protacall. So basicly Microsoft
made it so that the file:// Protacal (what ever it is) can only be
used by web pages that are alredy opened using file://, perhaps moving
the page to the trusted area will fix/get round this problem.
Also, the txt file opens in firefox becasue firefox recognises it as a
plain text file and is able to display it correctly, hence no need for
notepad, if you wish for it to open that file in notepad you would
have to set an asosiation in firefox with that file exptension so
firefox will open the file in notepad.
--
Posted using the http://www.windowsforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.windowsforumz.com/IE6-Strange-Behavior-File-link-Web-Page-Issue-ftopict416162.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.windowsforumz.com/eform.php?p=1391219
.
- References:
- Strange Behavior On File:/// link in Web Page - New Issue
- From: Paul Engel
- Strange Behavior On File:/// link in Web Page - New Issue
- Prev by Date: Changing language in IE 6
- Next by Date: Re: IE very slow loading
- Previous by thread: Strange Behavior On File:/// link in Web Page - New Issue
- Next by thread: Re: kill autocomplete reminder
- Index(es):
Relevant Pages
|