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

Forum

Log In Sponsors
Partner Sites
Board index Programming HTML Forum

Open Document in New Window Problem

Open Document in New Window Problem

Postby Soumya on Mon Dec 03, 2007 12:21 pm

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 12:02 pm

Postby flabbyrabbit on Mon Dec 03, 2007 3: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
User avatar
flabbyrabbit
500+ Club
 
Posts: 691
Joined: Thu Jan 25, 2007 2:10 pm
Location: Midlands, England


Return to HTML Forum

Who is online

Users browsing this forum: No registered users and 1 guest