Open popup window - Javascript Browser Object Model

Javascript examples for Browser Object Model:Window open

Description

Open popup window

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"> 
      <title>WhatsApp</title> 
   </head> 
   <body> 
      <script type="text/javascript">
javascript:(function(){open('http://java2s.com/','myWindow','toolbar=yes, menubar=yes, resizable=yes, width=650,height=900,top=0,left=1270');})()

      </script>  
   </body>/*from w  ww . java2s.c o  m*/
</html>

Related Tutorials