javascript :: popups

<html>
<head>
<title>teste do agni</title>
<script>
 function popup() {
  window.open("http://www.google.com",
   target="_blank",
   config="width=300,height=300,toolbar=0,menubar=0");
 }
</script>

<input type="button" value="Abrir popup" onclick="popup()"/>
</head>
</html>

Comments