Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > General Discussion > General Conversation Archives (11/2000 - 01/2005)
FAQ Calendar Arcade Today's Posts Search

 
 
Thread Tools Search this Thread
Old 10-21-2003, 08:07 AM   #1
Dundee Slaytern
Ironworks Moderator
 

Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 41
Posts: 11,063
Currently, when a .doc file or a .ppt file is placed as a hyperlink, clicking on the hyperlink will automatically open the file. Is there a way to force it to prompt the question of whether the user wants to open it or to save it to disk.

The method can be via HTML or JavaScript.

Note that I am doing this as a server administrator, so posts telling me to set my personal settings is akin to expecting me to demand all my users to set their OS the way I want them to. I need a more concrete solution.

Cheers for any solutions. [img]smile.gif[/img]
__________________
Click On The Image For BG2 Information

Land of the Psycho-moe
Dundee Slaytern is offline  
Old 10-21-2003, 08:10 AM   #2
Jorath Calar
Harper
 

Join Date: October 6, 2001
Location: Iceland
Posts: 4,706
Right click and choose >Save target as...<.

[ 10-21-2003, 08:11 AM: Message edited by: Jorath Calar ]
Jorath Calar is offline  
Old 10-21-2003, 08:36 AM   #3
Deejax
Manshoon
 

Join Date: November 15, 2002
Location: Amsterdam
Age: 47
Posts: 248
I think Dundee is looking for a way to activate the "save as.." function with a left-click on a hyperlink. Else there wouldn't be a problem.

Dundee, why do you need this? Not that I can help in any way, I'm sorry to say. I know next to nothing about HTML or Javascript
__________________
<img border=\"0\" alt=\"[firedevil]\" title=\"\" src=\"graemlins/firedevil.gif\" /> Fire...
Deejax is offline  
Old 10-21-2003, 08:43 AM   #4
andrewas
Harper
 

Join Date: October 2, 2001
Location: Aberdeen, Scotland
Age: 42
Posts: 4,774
Unfortunately, how the browser interprets the file is up to the browser itself.

Workaround - provide the documents in .zip format. Its standard enough that nobody should have much trouble with it and it'll save you bandwidth.
__________________
[img]\"http://www.sighost.us/members/Zvijer/andrewas.gif\" alt=\" - \" />
andrewas is offline  
Old 10-21-2003, 08:52 AM   #5
Dundee Slaytern
Ironworks Moderator
 

Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 41
Posts: 11,063
Quote:
Originally posted by andrewas:
Unfortunately, how the browser interprets the file is up to the browser itself.

Workaround - provide the documents in .zip format. Its standard enough that nobody should have much trouble with it and it'll save you bandwidth.
Ironically, this is the current way I am doing it, but my Major wants me to somehow magically armtwist all browsers into prompting the question. It's like telling a dog to not chase its' tail I tell ya. [img]tongue.gif[/img]

Zipping them also presents a new set of problems. It takes up a loooot of space. I am essentially almost doubling my space usage.

So is it confirmed then? It's impossible?
Dundee Slaytern is offline  
Old 10-21-2003, 09:07 AM   #6
Jorath Calar
Harper
 

Join Date: October 6, 2001
Location: Iceland
Posts: 4,706
Tell you major he is asking the wrong guy... he should talk to Bill Gates... [img]smile.gif[/img]
Jorath Calar is offline  
Old 10-21-2003, 09:38 AM   #7
Vaskez
Takhisis Follower
 

Join Date: April 30, 2001
Location: szép Magyarország (well not right now)
Posts: 5,089
The problem is that browsers are configured to open particular data types with particular applications. That's why changing the name to an unknown type is a good idea as the browser won't know what to do with it so will always offer the save as option. I don't know of any way of forcing the file to be able to be to saved since javascript is only for client-side scripting and servers don't usually have permission to write to clients anyway, so there'd be no point in having such a method.
__________________
Too set in his ways to ever relate
If he could set that aside, there'd be heaven to pay
But weathered and aged, time swept him to grave
Love conquers all? Damn, I'd say that area's gray
Vaskez is offline  
Old 10-21-2003, 09:43 AM   #8
Rokenn
Galvatron
 

Join Date: January 22, 2002
Location: california wine country
Age: 60
Posts: 2,193
Quote:
Originally posted by Vaskez:
The problem is that browsers are configured to open particular data types with particular applications. That's why changing the name to an unknown type is a good idea as the browser won't know what to do with it so will always offer the save as option. I don't know of any way of forcing the file to be able to be to saved since javascript is only for client-side scripting and servers don't usually have permission to write to clients anyway, so there'd be no point in having such a method.
There is no way of doing. I just got done doing a month's worth of research for a client trying to find a way. Finally was able to weasel an admission from an MS tech that it is controlled client-side and there is nothing you can do server-side to force it.
__________________
“This is an impressive crowd, the haves and the have mores. <br />Some people call you the elite. <br />I call you my base.”<br />~ George W. Bush (2000)
Rokenn is offline  
Old 10-21-2003, 10:07 AM   #9
Vaskez
Takhisis Follower
 

Join Date: April 30, 2001
Location: szép Magyarország (well not right now)
Posts: 5,089
Quote:
Originally posted by Rokenn:
There is no way of doing. I just got done doing a month's worth of research for a client trying to find a way. Finally was able to weasel an admission from an MS tech that it is controlled client-side and there is nothing you can do server-side to force it.
As I thought! Makes sense as I said in my previous post...
__________________
Too set in his ways to ever relate
If he could set that aside, there'd be heaven to pay
But weathered and aged, time swept him to grave
Love conquers all? Damn, I'd say that area's gray
Vaskez is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:09 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved