ako si mislio na ovo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Prozor</title>
<script type="text/javascript">
function prozor( page, width, height, top, left ) {
var yes = 1;
var no = 0;
var menubar = no;
var scrollbars = yes;
var locationbar = no;
var directories = no;
var resizable = no;
var statusbar = no;
var toolbar = no;
features = "" +
"width=" + width + "," +
"height=" + height + "," +
"top=" + top + "," +
"left=" + left + "";
features += "" +
(menubar ? ",menubars" : "") +
(scrollbars ? ",scrollbars" : "") +
(locationbar ? ",location" : "") +
(directories ? ",directories" : "") +
(resizable ? ",resizable" : "") +
(statusbar ? ",status" : "") +
(toolbar ? ",toolbar" : "");
window.open( page, 'fullPopup', features );
}
</script>
</head>
<body>
Otvori novi <a href="javascript:prozor('http://www.google.com',800,750,0,0)"> prozor.</a>
</body>
</html>
|