Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] hyperlinks to documents


  • From: javascript@xxxxxxxxxx (sebastian)
  • Subject: [Javascript] hyperlinks to documents
  • Date: Mon, 23 Sep 2002 09:09:48 +0200

Hi.

Firs question:

Is it possible to control how a file (for example word or excel document) is
processed after clicking on a proper hyperlink?

I have a table of links to word's documents (from an ASP query) on my web
server. Depending of the settings in different browsers (I thnink), when I
click on the hyperlink the document opens:
1. directly in the browser
2. I'm asked to open or to download

Is it possible to achive that the user is always asked or that the download
automaticly begin.

Second question:

If I change the code so that a hyperlink opens a document in a new window,
but then I choose not to open but rather download a document, then the
window opens as blank, what I don't wont (how to automaticly close the
window in no document is shown?).

Thanks, Sebastian