Max Rydahl Andersen writes:
 > And now I have tested it with IE6 and it works! halleluja! :)
 > 

Thank you, Max.

- Paul > ""Max Rydahl Andersen"" <[EMAIL PROTECTED]> wrote in message
 > a2pm59$ei1$[EMAIL PROTECTED]">news:a2pm59$ei1$[EMAIL PROTECTED]...
 > >
 > > "Paul Kinnucan" <[EMAIL PROTECTED]> wrote in message
 > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 > > > Schewe, Jon  (MN65) writes:
 > > >  > I just tried it in IE6 and it doesn't work.  Sorry to spoil you're
 > day.
 > > >  >
 > > >
 > > > Maybe I spoke too fast. This bears further investigation.
 > > >
 > > > - Paul
 > > >
 > >
 > > ok - I have now tried this function with IE5, Opera 6, Mozilla 0.9.7 - can
 > > anyone check it on IE6 and others ?
 > > It simply just uses a empty-string for localhost insted (as in accordance
 > to
 > > http://www.w3.org/Addressing/rfc1738.txt)
 > > With hope :)
 > >
 > > (defun jde-file-to-url (file)
 > >   "Convert FILE path to a URL. If FILE is a DOS path, this
 > > function replaces the colon in the drive specifier with a
 > > vertical bar (|) because both Internet Explorer and Netscape
 > > accept the resulting URL whereas Netscape does not accept
 > > a drive specifier with a colon."
 > >   (if (or (string-match "http:" file)
 > >    (string-match "file:" file))
 > >       file
 > >     (format "file:///%s"
 > >      ;; Check for DOS path.
 > >      (if (string-match "[a-zA-Z]:" file)
 > >   (substitute ?| ?: file)
 > >        (jde-convert-cygwin-path file)))))
 > >
 > 
 > 

Reply via email to