how to open a pop up from a link without using a function


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <a href="http://google.com/" onclick="window.open(this.href, 'popupwindow',
  2. 'width=400,height=300,scrollbars,resizable');
  3. return false;"
  4. >

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.