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

19 lines
608 B
HTML
Raw 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 href="/tests/site/redirect.html" target="form">new window</a>
<a href="#" class="close", onclick="w && w.close();return false">close</a>
<script>
var w;
setTimeout(function() {
w = window.open("index.html",
"popup", "menubar=no, status=no, scrollbars=no, menubar=no, width=400, height=300");
}, 500);
</script>
</body>
</html>