📄 1.js
字号:
// JScript 文件
function getUrl(s)
{
var m = new Image();
m.src=s;
return m.src;
}
function insertubb()
{
var iWidth=330; //模态窗口宽度
var iHeight=240;//模态窗口高度
var iTop=(window.screen.height-iHeight)/2;
var iLeft=(window.screen.width-iWidth)/2;
window.open("../edit/face.htm","用户登录",
"Scrollbars=no,Toolbar=no,Location=no,Direction=no,Resizeable=no, Width="+iWidth+" ,Height="+iHeight+",top="+iTop+",left="+iLeft) ;
}
function insertStr(sAction)
{
var FacePath = "../edit/face/";
var editor = opener.document.getElementById("editor");
editor.focus();
editor.document.execCommand("InsertImage", false, FacePath + sAction +".gif");
editor.focus();
window.close();
}
function insertStr1(sAction)
{
var FacePath = "../edit/face1/";
var editor = opener.document.getElementById("editor");
editor.focus();
editor.document.execCommand("InsertImage", false, FacePath + sAction +".gif");
editor.focus();
window.close();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -