|
| | |||||||
| Internet Explorer Discuss IE7 or any other IE version. |
| | LinkBack | Thread Tools |
| |||
| Relative path names don't work with # in root path with local # links See also : Relative path names in img map files don't work with # in root path If you have some documents on a local PC where they are stored in a directory with '#' in the name, and the html files include relative links to other pages with the name of an anchor appended, as is href="local.html#subject" to go to the local HTML page with the specified 'subject' at the top of the page. This will not work if the files are on a path such as 'C:\sna#fu' but will work if the direcory is renamed to 'C:\snafu'. It looks like the URL parsing stops at the first '#' and says everything after this is the name of an anchor in the page, and then it looks at the rest of the URL for the name of the page, which in the first case is 'C:\sna' which does not exist! This all works fine in FireFox, fails in IE6 & IE7. Thanks, Aaron |
| |||
| Re: Relative path names don't work with # in root path with local# links AeroKid wrote: > See also : Relative path names in img map files don't work with # in > root path > > If you have some documents on a local PC where they are stored in a > directory with '#' in the name, and the html files include relative > links to other pages with the name of an anchor appended, as is > href="local.html#subject" to go to the local HTML page with the > specified 'subject' at the top of the page. This will not work if the > files are on a path such as 'C:\sna#fu' but will work if the direcory > is renamed to 'C:\snafu'. > > It looks like the URL parsing stops at the first '#' and says > everything after this is the name of an anchor in the page, and then > it looks at the rest of the URL for the name of the page, which in the > first case is 'C:\sna' which does not exist! > > This all works fine in FireFox, fails in IE6 & IE7. If the directory name is sna#fu, try sna%23fu in the HTML. |
| |||
| Re: Relative path names don't work with # in root path with local #links But these are relative path names, so 'c:\snafu' or 'c:\sna#fu' do not appear in the html file(s). This is a bug in IE I feel, not my html (which is output by Doxygen) and it all works in FireFox. Thanks, Aaron |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Relative path names in img map files don't work with # in root pat | Aaron Ridout | Internet Explorer | 13 | 03-28-2009 12:29 AM |
| creating shortcut to program with relative, not absolute, path | Zytan | Windows XP | 5 | 08-21-2007 02:20 PM |
| File->Open->Look In:-> cuts off full path names | Bob | Microsoft Office | 1 | 05-15-2007 07:30 AM |
| unc path as local disk | Sentinal | Windows XP | 1 | 01-11-2007 12:30 AM |
| relative path problem | Osiris | Windows XP | 10 | 01-04-2007 04:56 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |