/    Sign up×
Community /Pin to ProfileBookmark

HTML & Netscape

Hi All,

I am trying to get Netscape to open up a file from the following html code. When the user clicks on the link in netscape I would like netscape to open up and run the file directly from its location but instead it brings up the dialogue box option to either select ‘Open or Save’

<html xmlns:v=”urn:schemas-microsoft-com:vml”
xmlns:o=”urn:schemas-microsoft-com?office”
xmlns=”http://www.w3.org/TR/REC-html40“>
<head>
<meta http-equiv=”Content-Language” content=”en-au”>
<meta name=”GENERATOR” content=”Microsoft FrontPage 5.0″>
<meta name=”ProgId” content=”FrontPage.Editor.Document”>
<meta http-equiv=”Content-Type”
content=”text/html; charset=windows-1252″>
<script language=”JavaScript” type=”text/javascript”>
</script>
<title>e-Record</title>
</head>
<body style=”color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);”
link=”#003399″ vlink=”#990099″>
<form>
<table style=”border-collapse: collapse;” id=”AutoNumber1″
bgcolor=”#0099cc” border=”1″ bordercolor=”#0099cc” cellpadding=”0″
cellspacing=”0″ width=”100%”>
<tbody>
<tr>
<td align=”left” width=”33%”>
<p><img src=”ATOlogo_bus.gif” border=”0″ height=”54″ width=”214″></p>
</td>
<td width=”33%”> &nbsp;
<p><br>
&nbsp;</p>
</td>
<td bordercolorlight=”#0099CC” bordercolordark=”#0099CC”
align=”right” bgcolor=”#0099cc” valign=”top” width=”34%”><font
color=”#ffffff”> <input value=”Help”
onclick=”window.location=’Help.htm'” name=”b1″
style=”border: 1px solid rgb(0, 153, 204); padding: 1px 4px; font-family: Arial; color: rgb(255, 255, 255); text-decoration: underline; background-color: rgb(0, 153, 204); font-weight: bold;”
type=”button”><input value=”Back” onclick=”history.go(-1)” name=”b2″
style=”border: 1px solid rgb(0, 153, 204); padding: 1px 4px; font-family: Arial; color: rgb(255, 255, 255); text-decoration: underline; background-color: rgb(0, 153, 204); font-weight: bold;”
type=”button”> <input value=”Exit” onclick=”window.close()” name=”b3″
style=”border: 1px solid rgb(0, 153, 204); padding: 1px 4px; font-family: Arial; color: rgb(255, 255, 255); text-decoration: underline; background-color: rgb(0, 153, 204); font-weight: bold;”
type=”button”></font></td>
</tr>
</tbody>
</table>
</form>
<p align=”center”><i><b><font face=”Arial” size=”6″>e-Record
Installation</font></b></i></p>
<p align=”center”>&nbsp;</p>
<p align=”center”><font face=”Arial” size=”2″>Please select the option
that applies to you. When prompted, select “Open” or “Run”.<br>
&nbsp;</font></p>
<font face=”Arial” size=”2″>
</font>
<p align=”center”><font face=”Arial” size=”2″><b><a
href=”javascript?penWidow(‘../e-Record/e-Record_v401_Setup.EXE’)”>Install
<i>e-Record v4.01</i></a></b></font></p>
<p align=”center”>
<font face=”Arial” size=”2″><b>&nbsp;<a
href=”../e-Record/e-Record_v2-4_setup.exe”>Windows 95 users – install <i>e-Record
v2.4</i> </a></b></font></p>
<p align=”center”><font face=”Arial” size=”2″>Windows 95 users cannot
install <i>e-Record 4</i>.</font></p>
<p align=”center”><font face=”Arial” size=”2″>&nbsp;</font></p>
<table align=”center” width=”437″>
<tbody>
<tr>
<td align=”center” valign=”top” width=”37″>
<p><font size=”2″><img src=”erec_install_files/image002.jpg”
alt=”Image of Business tip icon” height=”30″ width=”30″></font></p>
</td>
<td bgcolor=”#ffffff” valign=”top” width=”390″>
<p align=”center”><font size=”2″>Please read these instructions
if you have version 1 data you wish to <a href=”v1_4_2_help.htm”>view
or print after installing version 4</a>.</font></p>
</td>
</tr>
</tbody>
</table>
<p align=”center”><font face=”Arial” size=”2″>&nbsp;</font></p>
</body>
</html>

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@ray326Nov 16.2004 — I don't think it can be done but what MIME type does your server serve that exe up with?
Copy linkTweet thisAlerts:
@fabianauthorNov 16.2004 — I'm not sure what you are getting at with the MIME type question?

The *.EXE is an installer file which has be created using WISE as the application.
×

Success!

Help @fabian spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...