(Bewerkt door iJoost om 21:20, 21-04-2006)
<script type="text/javascript">function nothingMuch() {}function preloadImages(){ var d=document; if(d.images) { if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];} }}function openScript(url, width, height){var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=yes,status=yes' );}var amountOfClicks = 0;function clckcntr (){ amountOfClicks++; if ( amountOfClicks == 2 ) { document.REPLIER.Submit.disabled = true; return false; } else if ( amountOfClicks > 2 ) { document.REPLIER.Submit.disabled = true; return false; } else { return true; }}</script>
function nothingMuch() {}
function preloadImages(){ var d=document; if(d.images) { if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];} }}function openScript(url, width, height){var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=yes,status=yes' );}
var amountOfClicks = 0;function clckcntr (){ amountOfClicks++; if ( amountOfClicks == 2 ) { document.REPLIER.Submit.disabled = true; return false; } else if ( amountOfClicks > 2 ) { document.REPLIER.Submit.disabled = true; return false; } else { return true; }}
</script>
Een stukje HTML:
<html><head><META Http-Equiv="Cache-Control" Content="no-cache"> <META Http-Equiv="Pragma" Content="no-cache"> <META Http-Equiv="Expires" Content="0"><META Http-Equiv="content-type" Content="text/html;charset=iso-8859-1"><Title>Topframe</Title><Link Href="files/type.css" Rel="styleSheet" Type="text/css"></head><Body Bgcolor="#F5F5F5" Background="pictures/achtergrond.gif"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr height="76"><td valign="middle" align="center" width="109" height="76"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="middle" align="center"><a href="/home.shtml" target="mainframe"><img src="pictures/logo.gif" alt="" width="109" height="76" border="0"></a></td></tr></table></td><td class="menu" valign="middle" align="center" height="76" background="pictures/logo-back.gif"><div align="center"><a title="Ga terug naar de startpagina" href="home.shtml" target="mainframe"><b>Home</b></a> <font color="gray">|</font> <a title="Klik hier om de laatste nieuwtjes te bekijken" href="/cgi-bin/forums/readnews.cgi?action=newspage&newscount=29" target="mainframe"><b>Nieuws</b></a> <font color="gray">|</font> <a title="Klik hier om mee te discussiëren in ons forum" href="/cgi-bin/forums/forum.cgi" target="forum"><b>Forum</b></a> <font color="gray">|</font> <a title="Klik hier om de laatste column te lezen" href="/1-nieuws/1-column.html" target="mainframe"><b>Column</b></a> <font color="gray">|</font> <a title="Klik hier voor de laatste productbeschouwingen" href="/3-tips/3-testen.html" target="mainframe"><b>Testen</b></a> <font color="gray">|</font> <a title="Klik hier om je stem uit te brengen op..." href="/cgi-bin/poll/poll.cgi" target="mainframe"><b>Stembus</b></a> <font color="gray">|</font> <a title="Klik hier voor onze verzameling Mac gerelateerde links" href="/5-apple/5-links.html" target="mainframe"><b>Links</b></a> <font color="gray">|</font> <a title="Klik hier voor een totaaloverzicht van Apple dealers in Nederland en Belgie" href="/5-apple/5-dealers.html" target="mainframe"><b>Dealers</b></a> <font color="gray">|</font> <a title="Klik hier voor vele extra's" href="/2-speciaal/2-extras.html" target="mainframe"><b>Extra's</b></a><a title="Ga terug naar de startpagina" href="home.shtml" target="mainframe"></a> <font color="gray">|</font> <a title="Klik hier om meer over ons te weten te komen" href="/4-freak/4-aboutus.html" target="mainframe"><b>Over Ons</b></a></div></td><td valign="middle" align="center" width="109" height="76" background="pictures/logo-back.gif"><a href="http://www.sitevanhetjaar.nl/index.php?p=bekijk&id=367" target="_blank"><img src="pictures/svhj-2003.gif" alt="" width="170" height="60" border="0"></a></td></tr></table></body></html>
<head><META Http-Equiv="Cache-Control" Content="no-cache"> <META Http-Equiv="Pragma" Content="no-cache"> <META Http-Equiv="Expires" Content="0"><META Http-Equiv="content-type" Content="text/html;charset=iso-8859-1">
<Title>Topframe</Title><Link Href="files/type.css" Rel="styleSheet" Type="text/css"></head>
<Body Bgcolor="#F5F5F5" Background="pictures/achtergrond.gif"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr height="76"><td valign="middle" align="center" width="109" height="76"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="middle" align="center"><a href="/home.shtml" target="mainframe"><img src="pictures/logo.gif" alt="" width="109" height="76" border="0"></a></td></tr></table></td><td class="menu" valign="middle" align="center" height="76" background="pictures/logo-back.gif"><div align="center"><a title="Ga terug naar de startpagina" href="home.shtml" target="mainframe"><b>Home</b></a> <font color="gray">|</font> <a title="Klik hier om de laatste nieuwtjes te bekijken" href="/cgi-bin/forums/readnews.cgi?action=newspage&newscount=29" target="mainframe"><b>Nieuws</b></a> <font color="gray">|</font> <a title="Klik hier om mee te discussiëren in ons forum" href="/cgi-bin/forums/forum.cgi" target="forum"><b>Forum</b></a> <font color="gray">|</font> <a title="Klik hier om de laatste column te lezen" href="/1-nieuws/1-column.html" target="mainframe"><b>Column</b></a> <font color="gray">|</font> <a title="Klik hier voor de laatste productbeschouwingen" href="/3-tips/3-testen.html" target="mainframe"><b>Testen</b></a> <font color="gray">|</font> <a title="Klik hier om je stem uit te brengen op..." href="/cgi-bin/poll/poll.cgi" target="mainframe"><b>Stembus</b></a> <font color="gray">|</font> <a title="Klik hier voor onze verzameling Mac gerelateerde links" href="/5-apple/5-links.html" target="mainframe"><b>Links</b></a> <font color="gray">|</font> <a title="Klik hier voor een totaaloverzicht van Apple dealers in Nederland en Belgie" href="/5-apple/5-dealers.html" target="mainframe"><b>Dealers</b></a> <font color="gray">|</font> <a title="Klik hier voor vele extra's" href="/2-speciaal/2-extras.html" target="mainframe"><b>Extra's</b></a><a title="Ga terug naar de startpagina" href="home.shtml" target="mainframe"></a> <font color="gray">|</font> <a title="Klik hier om meer over ons te weten te komen" href="/4-freak/4-aboutus.html" target="mainframe"><b>Over Ons</b></a></div></td><td valign="middle" align="center" width="109" height="76" background="pictures/logo-back.gif"><a href="http://www.sitevanhetjaar.nl/index.php?p=bekijk&id=367" target="_blank"><img src="pictures/svhj-2003.gif" alt="" width="170" height="60" border="0"></a></td></tr></table></body>
</html>
Lijkt te werken...
<!-- test -->
Probleem opgelost.