2
rated 0 times
[
3]
[
1]
/ answers: 1 / hits: 41814
/ 12 Years ago, tue, july 10, 2012, 12:00:00
I want to open a window on click, but I want to open it behind the current window, or when the new window opens it should minimize itself. I have made a function but it actually did not work.
<head>
<meta http-equiv=Content-Type content=text/html; charset=utf-8 />
<title>Untitled Document</title>
<script type=text/javascript>
function wn(){
var mm=window.open('http://www.google.com','newwindow','width=200, height=200', _blank);
}
</script>
</head>
<body>
<a href=# onclick=wn()>click</a>
</body>
More From » jquery