DevHow: Code Snippets from all around

How to create a javascript Pop-up

URL: http://pinoytech.org/blog/post/how-to-create-a-javascript-pop-up

Tag(s): jQuery Javascript

A very simple way to create a javascript pop-up.

$(function(){
 $('a').click(function(){
  window.open('http://www.google.com/', 'newwindow', 'height = 200, width = 300');
 }); 
});

Comments

You must be logged in to comment