Aptana代码段:Javascript弹出窗口
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Aptana代码段:Javascript弹出窗口相关的知识,希望对你有一定的参考价值。
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
<!-- 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');"
以上是关于Aptana代码段:Javascript弹出窗口的主要内容,如果未能解决你的问题,请参考以下文章
无法使用内联代码删除 Aptana 中的 Javascript JsLint 错误
我想使用 JavaScript 为 JSON 数据创建一个搜索框,并在内容存在与否时弹出一个窗口