📄 dynamic-popup.js
字号:
// a function to create a dynamic popup window
function popup()
{
// create the popup window
var popwindow = window.open("","","top=40,left=30,width=250,height=120");
// open the popup window HTML document
popwindow.document.open();
// write content in the popup window
popwindow.document.write("<title>Pop-up</title>");
popwindow.document.write("Dynamic Pop-up Page<br/>");
popwindow.document.write("<img src='dex.gif' alt=''>");
// remember to finally close the HTML document
popwindow.document.close();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -