It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Open Document in New Window Problem

Open Document in New Window Problem

Postby Soumya on Mon Dec 03, 2007 11:21 am

Hai all,

1st time i am posting my problem in this forum, hope i will get back some solution.

in my web-page i have a link. the link path is given to a word document present in a local drive. to open the file in a new window i have written the code like this

Code: Select all
<a href="file:///C:/New/one.doc" target="_blank">Open New</a>


this page is in tomcat server. now problem is in IE file is opening in a new window but in Mozilla FireFox it is not opening.

Thanks in Advance
Soumya
 
Posts: 2
Joined: Mon Dec 03, 2007 11:02 am

Postby flabbyrabbit on Mon Dec 03, 2007 2:37 pm

Because of security problems you can not link to a local file from a external server. There is no way (that i know of) to get around this.

Sorry,
Flabby Rabbit
Image
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England


Who is online

Users browsing this forum: No registered users and 7 guests