estesflyer
Programmer
what i wanna do, is have the window go to lycos.com if the user clicks cancel in the confirm box... but all the page does, is refresh.. (the original page, not the new window)
</script>
<script language="javascript">
<!--
function NewWindow()
{
var confirmalert=window.confirm("Warning - By entering this site, you agree to our dislcaimer, do you wish to continue?"
if (confirmalert)
{
window.open("top.self.close();
}
else
{
window.location.href='}
}
//-->
</script>
</script>
<script language="javascript">
<!--
function NewWindow()
{
var confirmalert=window.confirm("Warning - By entering this site, you agree to our dislcaimer, do you wish to continue?"
if (confirmalert)
{
window.open("top.self.close();
}
else
{
window.location.href='}
}
//-->
</script>