<script language="JavaScript">
function WinOpen(MatchId)
{
page = "match.php?matchid=" + MatchId + "<? echo "&apass=$apass"; ?>";
win = window.open(page, ,'Match Details', 'scrollbars=no,status=no,menubar=no,toolbar=no,location=yes,width=500,height=200,screenX=300,screenY=200,top=200,left=300','resizable=no');
}
</script>
En dan heb ik 2 soorten links op me pagina die de popup opend.
deze:
<TD CLASS=vs_table onmouseover="this.style.backgroundColor='#598DB8';" onmouseout="this.style.backgroundColor='#A8CAE6';"><a href="javascript:void()" onclick="javascript:WinOpen('2')">2 vs</a></TD>
en deze:
<TD CLASS=vs_table onmouseover="this.style.backgroundColor='#598DB8';" onmouseout="this.style.backgroundColor='#A8CAE6';" onclick="javascript:WinOpen('5')">5 vs</TD>
Elke keer als ik klik geeft de pagina een foutmelding met object word verwacht.
Ik weet absoluut niet wat ik fout doe??
Iemand een idee?
function WinOpen(MatchId)
{
page = "match.php?matchid=" + MatchId + "<? echo "&apass=$apass"; ?>";
win = window.open(page, ,'Match Details', 'scrollbars=no,status=no,menubar=no,toolbar=no,location=yes,width=500,height=200,screenX=300,screenY=200,top=200,left=300','resizable=no');
}
</script>
En dan heb ik 2 soorten links op me pagina die de popup opend.
deze:
<TD CLASS=vs_table onmouseover="this.style.backgroundColor='#598DB8';" onmouseout="this.style.backgroundColor='#A8CAE6';"><a href="javascript:void()" onclick="javascript:WinOpen('2')">2 vs</a></TD>
en deze:
<TD CLASS=vs_table onmouseover="this.style.backgroundColor='#598DB8';" onmouseout="this.style.backgroundColor='#A8CAE6';" onclick="javascript:WinOpen('5')">5 vs</TD>
Elke keer als ik klik geeft de pagina een foutmelding met object word verwacht.
Ik weet absoluut niet wat ik fout doe??
Iemand een idee?
www.dannyhiemstra.nl