tikiwiki/packages/tiki-pkg-casperjs/jerome-breton/casperjs/tests/site/multiple-popups.html

19 lines
609 B
HTML
Raw Permalink Normal View History

2023-11-20 21:52:04 +01:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CasperJS test popup</title>
</head>
<body>
<a class="openpopup" href="#" onclick="javascript: window.open('close.html', 'close'); return false;">new popup</a>
<script>
//var onclick=function(){
//alert("1");
//window.open("http://localhost:54321/tests/site/close.html");
//window.open("close.html", 'close');
// return false;
//}
</script>
</body>
</html>