You are here: IE document.URL broken - know of a fix? « HTML « IT news, forums, messages
IE document.URL broken - know of a fix?

Posted by David on 12/03/05 18:14

I'm using the following script:

<!--
passpage = document.URL;
if (top.location == self.location) top.location.href="frameMaster.html?"
+ passpage;
// -->

For purposes of this post, you can shorten it to:

<!--
passpage = document.URL;
// -->

This is used for viewing files on the hard drive, so the first part of the
'passpage' should be something like: "file:///D:/"... FireFox works
correctly, and older versions of IE worked, but not the current 6.0 version
I'm using. It only returns two '/' after the 'file:' portion (ie -
"file://D:/"...). You can't open a page based upon that URL. Anyone seen
a fix for this, or do I have to roll my own?

Thanks,
David

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация