PDA

View Full Version : open a local file in netscape


amy88
07-12-2002, 08:32 PM
Hi all,

I need to open a local file (.htm or .wmv or .rm) in C: driver or CDROM by click a link in a html page.
Javascript code "window.location.href("file:///C:/temp/default.htm");"
window.open("file:///C:/temp/default.htm")
work for IE but not for Netscape.

Any ideas?

Thanks.

amy

requestcode
07-12-2002, 09:35 PM
This shows up in my Address Bar in NS4 When I view an html document from my hard drive.

file:///C|/html/announcebox.html

And this in NS6:
file:///C:/html/messagebox.html

joh6nn
07-12-2002, 10:59 PM
window.location = "somepage.html";