Revision: 5471
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 11, 2008 06:29 by hellion
Initial Code
<!-- category: HTML name: Onclick Popup toolTip: Onclick Popup prompt(href): Enter the HREF URL prompt(width): Enter the popup Width prompt(height): Enter the poup Height --> onclick="window.open('${href}', '_blank', 'width=${width},height=${height},scrollbars=yes,status=yes,resizable=yes,screenx=0,screeny=0');"
Initial URL
Initial Description
Use this snippet to quickly insert onclick="window.open();" into your HTML... --- Snippets can save you time and hassle of typing out bits of code that you frequently use by adding them into your files by simply double-clicking the name of the Snippet. http://www.aptana.com/docs/index.php/About_Aptana_Snippets Sometimes it's useful to add a popup to your pages. When the user clicks on a link, a new window opens and displays a page. http://www.quirksmode.org/js/popup.html
Initial Title
Aptana Snippet: Javascript popup window
Initial Tags
javascript, window
Initial Language
Other