Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Links to Word documents

Status
Not open for further replies.

blankskeme

Programmer
Jul 1, 2003
9
US
I was wondering....I have a page that has a link to a Word.doc file and when you click the link it downloads the file and opens it in the browser window.

What I would like to happen is when you click on the link to the Word.doc file a pop-up window comes up to ask you to save it and you can browse to save it onto the users computer.

I have done this with dreamweaver and all you do is point the link to file and it works. I didn't know if there was a way to do it with frontpage.

Any help or ideas would be much appreciated!!!

Thanks!!!
 
No, there isn't a built in feature in FP that would do this. If you can do this in DW, do you have a page online with an example of this? If so, you could probably look at the HTML and see what kind of script is being used to do this. I would suggest a script that would do this for you, but I am not aware of one.

You could zip the .doc file and link to the .zip file, this would prompt the user to save or open from current location.

Tiffany

Microsoft MVP - FrontPage
 
Noconi
Thank you for your response, I haven't been able to link the .doc file like I want it to. I have linked a zip file, this the link
This is what I would like to have happen when you click on the .doc link. I just didn't know if it was possible? If not I will just have to put instructions to right click and save target as.

again thank you !!!

adam
 
this is how to prompt for saving for any file
without a right click 'save target as'....

<a href=&quot;file.doc&quot; onClick=&quot;javascript:document.execCommand('SaveAs',1,'file.doc');return true;&quot;>Save File</a>

Aaron Taylor
John Mutch Electronics
 
aaronjme,

thanks that is close to what I was looking for, here is a link where I am try it out...


When I click the link it does pop-up to the save box, but it doesn't save the word.doc it is linked to, instead it saves the actual web page as a .doc. Then after you click save it opens the word.doc in the browser window.

if you could let me know if I am doing something wrong that would be GREAT!!!!

thanks again....

adam
 
no worries! I wasn't sure if I was doing something wrong...just had to make sure....thanks

adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top