Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > IE document.URL broken - know of a fix?

Reply
Thread Tools

IE document.URL broken - know of a fix?

 
 
David
Guest
Posts: n/a
 
      12-03-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why are "broken iterators" broken? Steven D'Aprano Python 8 09-28-2008 09:19 PM
Re: Why are "broken iterators" broken? Fredrik Lundh Python 0 09-22-2008 04:32 PM
Re: Why are "broken iterators" broken? Cameron Simpson Python 0 09-22-2008 04:32 AM
Does anyone know what's broken about ftools? Wes Gamble Ruby 3 11-14-2006 03:50 PM
I know, I know, I don't know Andries Perl Misc 3 04-23-2004 02:17 AM



Advertisments