Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

kedar

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Customize JavaScript Popup Window Code in sigle one line

Oneline JavaScript Popup Window Code

   1  
   2  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   3      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   4  
   5  <html xmlns="http://www.w3.org/1999/xhtml">
   6  
   7  <head>
   8    <title></title>
   9  </head>
  10  
  11  <body>
  12          <a href="#"
  13          onClick="MyWindow=window.open('http://www.yahoo.com','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=300,left=0,top=0'); return false;">
  14          Popup Window Code in single one line without any function</a>
  15  
  16  </body>
  17  
  18  </html>
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS