mit script ser sådan ud, og siden åbnes i et hoved vindue med menu ovenover og menu til højre. men svaret clearer hele browseren og ikke kun hovedvinduet.
------------------------------------------------------------------------------------
<%
Server.ScriptTimeout=2000
if Request.querystring("mode") = "upload" then
Set Upload = Server.CreateObject("Persits.Upload")
Upload.Savevirtual ("/upload")
felt1 = Upload.form("felt1")
felt2 = Upload.form("felt2")
felt3 = Upload.form("felt3")
felt4 = Upload.form("felt4")
felt5 = Upload.form("felt5")
felt6 = Upload.form("felt6")
felt7 = Upload.form("felt7")
felt8 = Upload.form("felt8")
Set File = Upload.Files("FILE1")
If File Is Nothing Then
Response.write "Ingen fil valgt"
response.end
else
filename = File.Filename
body = "Filnavn: "& filename &vbcrlf
body = body & "-----------------------------------"& vbcrlf
body = body & "Genre: "& felt3 &vbcrlf
body = body & "Navn: "& felt1 &vbcrlf
body = body & "-----------------------------------"& vbcrlf
body = body & "Titel: " &vbcrlf
body = body & "("& felt2 &") af " & felt1 &vbcrlf
body = body & "-----------------------------------"& vbcrlf
body = body & "Beskrivelse: " &vbcrlf
body = body & felt7 &vbcrlf
body = body & ""& vbcrlf
body = body & "Dimensioner: "& felt4 &vbcrlf
body = body & ""& vbcrlf
body = body & "Pris: "& felt5 &vbcrlf
body = body & ""& vbcrlf
body = body & "Kontaktinformation: "& vbcrlf
body = body & felt6 &vbcrlf
body = body & "-----------------------------------"& vbcrlf
body = body & "Søgeord: "& vbcrlf
body = body & felt8 &vbcrlf
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "Nyt upload"
Mailer.FromAddress= "tilmelding@kunstzonen.dk"
Mailer.RemoteHost = "mail.kunstzonen.dk"
Mailer.AddRecipient "Nyt upload", "tilmelding@kunstzonen.dk"
Mailer.Subject = "Der er uploaded en fil"
Mailer.BodyText = body
if not Mailer.SendMail then
Response.Write "Mail send failure. Error was " & Mailer.Response
response.end
end if
end if %>
<center>
<img src="/images/newlogo4.jpg"><br>
<br>
Filen er uploaded og dit værk vil blive synligt på Kunstzonen.dk så snart det er valideret.<br>
<br>
<FORM METHOD="LINK" ACTION="
http://www.kunstzonen.dk/shop/external/itemupload.asp"><INPUT TYPE="submit" VALUE="Upload nyt værk">
</FORM>
</center>
<% response.end
end if
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<style type="text/css">
<!--
.style2 {font-family: Arial, Helvetica, sans-serif; font-size: x-small; }
.style4 {
font-family: Arial, Helvetica, sans-serif;
font-size: xx-small;
}
.style5 {
font-size: small;
font-weight: bold;
}
.style6 {
color: #FF0000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: xx-small;
font-weight: bold;
}
.style7 {color: #000000}
.style8 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small; color: #FF0000;}
.style10 {color: #000000; font-style: italic; }
.style11 {
color: #FF0000;
font-weight: bold;
}
-->
</style>
</head>
<body>
<table width="511" border="0" align="center" cellpadding="0" cellspacing="4">
<tr><td width="503"><div align="center"><img src="/images/newlogo4.jpg" align="center"></div>
<div align="center"><em><br>
<span class="style8"><span class="style7">(Felter markeret med</span></span></em><span class="style6"> * </span><span class="style8"><span class="style10">SKAL udfyldes</span></span> ) </div></td>
</tr>
<tr>
<td>
<form method="post" ENCTYPE="multipart/form-data" ACTION="<%= Request.ServerVariables("SCRIPT_NAME") %>?mode=upload">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="30%"><div align="left" class="style2"><span class="style5">1:</span> Fil</div></td>
<td width="70%"><INPUT TYPE="FILE" SIZE="31" NAME="FILE1"></td>
</tr>
<tr>
<td><div align="left" class="style2"><span class="style5">2:</span> Deres navn <span class="style11">*</span></div></td>
<td><input name="felt1" type="Text" size="31"></td>
</tr>
<tr>
<td><div align="left" class="style2"><span class="style5">3:</span> Værkets navn</div></td>
<td><p>
<input name="felt2" type="Text" value="" size="31">
</p> </td>
</tr>
<tr>
<td><div align="left" class="style2"><span class="style5">4:</span> Kategori <span class="style11">*</span></div></td>
<td><p>
<input name="felt3" type="Text" size="31">
</p> </td>
</tr>
<tr>
<td><div align="left" class="style2"><span class="style5">5:</span> Dimensioner <span class="style11">*</span></div></td>
<td><p>
<input name="felt4" type="Text" size="31">
</p> </td>
</tr>
<tr>
<td><div align="left" class="style2">
<div align="left"><span class="style5">6:</span> Pris <span class="style11">*</span></div>
</div></td>
<td><p>
<input name="felt5" type="Text" size="31">
</p> </td>
</tr>
<tr>
<td><div align="left" class="style2"><span class="style5">7:</span> Kontaktinformation<span class="style11"> *</span></div></td>
<td><p>
<textarea name="felt6" cols="24" rows="3"></textarea>
</p> </td>
</tr>
<tr>
<td><div align="left" class="style2"><span class="style5">8:</span> Beskrivelse</div></td>
<td><p>
<textarea name="felt7" cols="24" rows="3" id="felt7"></textarea>
</p></td>
</tr>
<tr>
<td><div align="left" class="style2"><span class="style5">9:</span> Søgeord</div></td>
<td><p>
<textarea name="felt8" cols="24" rows="3" id="felt8"></textarea>
</p> </td>
</tr>
<tr>
<td> </td>
<td><INPUT TYPE=SUBMIT VALUE="Upload"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table width="503" border="0" align="center">
<tr>
<td width="539"><p class="style4"><strong>1:</strong> Her vælger du det billede du ønsker uploadet til Kunstzonen.dk. <em>(Vi ser gerne at dimensionen på billedet holder sig inden for 600*600 pixels)</em></p> </td>
</tr>
<tr>
<td><span class="style4"><strong>2:</strong> Udfyld dette felt med deres navn. </span></td>
</tr>
<tr>
<td><span class="style4"><strong>3:</strong> Udfyld dette felt med navnet på det værk du ønsker udstillet. </span></td>
</tr>
<tr>
<td><p class="style4"><strong>4:</strong> Udfyld dette felt med den kategori du ønsker værket udstillet i. </p> </td>
</tr>
<tr>
<td><span class="style4"><strong>5:</strong> Udfyld dette felt med dimensionerne på det udstillede værk. <em>(eks. 80*60cm, Ø30cm H20cm)</em> </span></td>
</tr>
<tr>
<td><span class="style4"><strong>6:</strong> Udfyld dette felt med den pris du forlanger for det udstillede værk.</span></td>
</tr>
<tr>
<td><span class="style4"><strong>7:</strong> Dette felt udfyldes med den kontaktinformation du ønsker at få vist sammen med dit værk.</span></td>
</tr>
<tr>
<td><p class="style4"><strong>8:</strong> I dette felt kan du lave en kort beskrivelse/tekst som vil blive vist sammen med værket. </p>
</td>
</tr>
<tr>
<td><span class="style4"><strong>9:</strong> Dette felt udfylder du med såkaldte søgeord som knytter sig til værket. <em>(blomster, huse, osv.)</em></span></td>
</tr>
</table>
</body>
</html>