Jumprit's Knowledge

Jumprit's knowledge and references to share.

Pop Up Window with Fixed Size (Javascript) —

To open up a window with a specified size when you click on a link, you can use this code:

<a href='javascript:window.open("cup.html", "_blank", "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,copyhistory=no,left=10,top=10,width=200,height=200")'>

Important:
* change cup.html to your site or image or whatever
* this code is 1 line (no space)

This will open a demo if you click on this link.

Cheers!! 😎


Categorised as: Javascript | Web



Leave a Reply