programmataal : javascript
ik heb een problem dat als ik mijn venster sluit bij mijn bestelformulier (die ik gedownload heb) dat hij als je dan op kruisje klikt en dan weer op bestel dat hij dat de 2 keer bij elkaar opteld tuurwel hij de eerste keer moet vergeten want toen is er niet voor niks op kruisje geklikt.
nu dacht ik dan zet ik er een function in dat hij de cookies leegd als het java venster sluit maar iemand enige iedee hoe ik dit moet doen ?
ik heb al lang op google zitten zoeken!
als u de oplossing heeft wilt u dan met uitleg geven zo mogenlijk want dan leer ik nog iets
alfast bedankt! voor u tijd en moeite
groetjes tim. ik hoop dat het zo duidenlijk voor u is
hier is het script
voormulier.htm
<script language="JavaScript" type="text/javascript" src="winkelwagentje.js"></script>
<form name="tel" method="get">
<input type=hidden name="prijs" value="15.00">
<input type=hidden name="prijs" value="11.35">
<input type=hidden name="prijs" value="10.00">
<input type=hidden name="prijs" value="10.00">
<input type=hidden name="prijs" value="10.00">
<input type=hidden name="prijs" value="10.209">
<div align="center">
<table border=1 width=400>
<tr>
<th bgcolor="#E9E9E9">Product</th>
<th bgcolor="#E9E9E9">Kies</th>
<th bgcolor="#E9E9E9">Aantal</th>
<th bgcolor="#E9E9E9">Eenheidsprijs</th>
</tr>
<tr>
<td>Product 1</td>
<td><input type="checkbox" name="producten" value="Product 1"></td>
<td><input type="text" name="aantaly" value="1" size=2></td>
<td height="24"><p align="center">€ 10,00</td>
</tr>
<tr>
<td bgcolor="#E9E9E9">Product 2</td>
<td bgcolor="#E9E9E9"><input type="checkbox" name="producten" value="Product 2"></td>
<td bgcolor="#E9E9E9"><input type="text" name="aantaly" value="1" size=2></td>
<td height="24" bgcolor="#E9E9E9"><p align="center">€ 10,00</td>
</tr>
<tr>
<td>Product 3</td>
<td><input type="checkbox" name="producten" value="Product 3"></td>
<td><input type="text" name="aantaly" value="1" size=2></td>
<td height="24"><p align="center">€ 10,00</td>
</tr>
<tr>
<td bgcolor="#E9E9E9">Product 4</td>
<td bgcolor="#E9E9E9"><input type="checkbox" name="producten" value="Product 4"></td>
<td bgcolor="#E9E9E9"><input type="text" name="aantaly" value="1" size=2></td>
<td height="24" bgcolor="#E9E9E9"><p align="center">€ 10,00</td>
</tr>
<tr>
<td>Product 5</td>
<td><input type="checkbox" name="producten" value="Product 5"></td>
<td><input type="text" name="aantaly" value="1" size=2></td>
<td height="24"><p align="center">€ 10,00</td>
</tr>
<tr>
<td>Product 6</td>
<td><input type="checkbox" name="producten" value="Product 6"></td>
<td><input type="text" name="aantaly" value="1" size=2></td>
<td height="24"><p align="center">€ duizend</td>
</tr>
</table>
</div>
<p align="center">
<input type="button" name="buttonName" value="Bestellen" onclick="BestelLijst()">
<input type="reset" value="Alles Wissen"> </p>
</form>
Toon Meer
DIT IS DE JAVA!
// winkelwagentje.js
var aantal=0;
var bedrag=0;
var subtotaal=0;
var totaal=0;
// hier wordt het bestelformulier gemaakt
function BestelLijst() {
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write("")
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0\/\/EN\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','html','>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','head','>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','title>',' ... EVEN GEDULD TOT DE FACTUUR IS OPGEMAAKT ... ','<','/title>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','script language=\"Javascript\">','\n')
// controle op een geldig email-adres
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('function FControle','(formulier)',' {','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('if','(formulier.Emailadres.value.length <= 6 ||')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'@\'\, 0) == -1 ||','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'.\'\, 0) == -1')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('){','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('alert(\" Je hebt geen geldig e-mailadres ingevuld.\")','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('return false;','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('else {','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('alert (\"OK om te versturen? \")','\n')
// hieronder jouw verzendingsadres invullen
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.action=\"mailto:[email protected]\"','\n')
// hieronder de URL van jouw bedankingspagina invullen
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('location.href=\"thanx.htm"','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('return true;','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','/script>','<','/head>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','body')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' bgcolor=\"#FFCC66\" text=\"black\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','div align=\"center\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','table border=0 cellpadding=0 cellspacing=0 width=400>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=25 colspan=5 bgcolor=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><font face=\"Arial\" size=\"3\" color=\"white\"><b>JOUW BESTELLING<\/b>','<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','form name=\"formulier\" method=\"post\" enctype=\"text/plain\" onsubmit=\"JavaScript:return FControle(this);\">','\n')
for (i=0;i<=6;i++){ //6 aanpassen aan het aantal producten !
if (document.tel.producten[i].checked){
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=300 colspan=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"',(i+1),'\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.producten[i].value),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(document.tel.producten[i].value);
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=70>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(document.tel.aantaly[i].value);
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" stuk ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" = ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=35>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" € ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<i','nput type=','\"','hidden','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"','Aantal stuks','\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.aantaly[i].value),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=50>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
aantal= (document.tel.aantaly[i].value);
bedrag= (document.tel.prijs[i].value);
subtotaal= aantal*bedrag;
totaal+=subtotaal ;
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(subtotaal.toFixed(2));
subtotaal=0 ;
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<br>');
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
}
else {}
if (i==5) break ; //hier aanpassen !: 4 =( aantal producten - 1 )
}
subtotaal= aantal*bedrag;
if(subtotaal < 1000){
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td colspan=5>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<br><font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','checkbox','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"','Totaal bedrag','\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(totaal),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' checked>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write("<b>totaal: "+" ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(totaal.toFixed(2));
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" EURO<\/b>");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><br><br>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
}
else{
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td colspan=5>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<br><font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','checkbox','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"','Totaal bedrag','\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(totaal),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' checked>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write("<b>totaal: "+" ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(totaal.toFixed(3));
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" EURO<\/b>");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><br><br>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
}
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=25 colspan=5 bgcolor=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><font face=\"Arial\" size=\"3\" color=\"white\"><b>BESTELFORMULIER<\/b>','<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=170 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=70 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=35 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=1 colspan=5 bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b><\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"> Naam: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Naam besteller\" maxlength=\"20\"> <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"> Telefoon: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=\"2\" color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<i','nput type=\"text\" name=\"Telefoon\" maxlength=20 size=20><\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('</tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b><\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\">E-mail: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Emailadres\" maxlength=\"25\" size=\"25\"><\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 valign=\"top\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b></\font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\">Adres: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 valign=\"middle\" colspan=4 bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','textarea name=\"Besteladres\" rows=4 cols=40><\/textarea> <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=500 height=12" align=\"center\" valign=\"middle\" colspan=\"5\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"submit\" name=\"Submit\" value=\"Versturen\"> <\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/form>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/table><\/div>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/body>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/html>','\n')
}
function delCookie(name){
expires = new Date(1970,1,1);
expires = expires.toGMTString();
deCookie = name
deCookie += "=delete; expires=";
deCookie += expires;
document.cookie = deCookie;
}
Toon Meer
als iemand nog tijd over heeft wilt u dan ook uitleggen hoe if en variabelen maakt in java want volgensmij mnoet er bij java geen $ voor een variabelen toch maar var VERIABEL1? graag een kleine duidenlijke uitleg alleen als u tijd en zin heeft!!!!! en hoe je een variabelen oproepen in een if gewoon alleen als je je variabelen hebt de naam VARIABEL1 of if(var VARIABEL1) ?
doeg