tikiwiki/packages/tiki-pkg-casperjs/jerome-breton/casperjs/tests/site/close.html
2023-11-20 20:52:04 +00:00

18 lines
546 B
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CasperJS test close-popup</title>
</head>
<body>
<a class="closepopup" href="#" onclick="return window.close();">close popup</a>
<script>
var w;
setTimeout(function() {
w = window.open("index.html",
"index", "menubar=no, status=no, scrollbars=no, menubar=no, width=400, height=300");
}, 200);
</script>
</body>
</html>