View Single Post
Old 05-10-2004, 11:04 PM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,713
redhead is on a distinguished road
Re: Help with launching an exy within HTML.

Quote:
Originally posted by Nicotine
I’ve made a bunch of self-extracting zips and then linked them to a graphic within an HTML page… But, when I go to click on the graphic, it won’t unpack its self to my hardisk.
When you click a link within a webpage, you start to download the object which the link is pointing at. depending on how the internet-server is setup to deal with the file type, it might send it streaming or as an executable.

Since this link is an executable file, it's most likely to be send as one. The viewers browser will have the option to handle this stream any way it can, that be to ask if they want to save the file or open/run it once it's finished downloading. You have no way from the server side (or html part) to inflict this final action from the user, it is entirely upto them, how they configured their browser or how they decide to recieve the transfer.
Quote:
How do I fool the system, into thinking that I’m doing double-clicking action from the graphic, when I’m really doing a single-click?
There is no way of doing this in html. The viewers system will deal with the link source any way they configured their system.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote