Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hyperlink to a textfile
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00889776
Message ID:
00890173
Vues:
27
>>
>>Now, you should see the save dialog in nearly all versions of IE...
>
>Thanks. Useful information.

As I said, this should work for nearly all version of IE, I dont know for netscape or mozilla...

The other way if you dont have acces to the sevrer is to return 'false' on the click of the link
and provide a tooltip which explain that in order to view the file, you have to 'right-click' and 'save as' like this:
<a href='myfile.txt' 
 title='Right-click and select "Save as..." in the menu to download the file.'
 onclick='return false;'>Download my text file</a>
HTH :)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform