<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb18030"/>
<title> MyCollectionEditor </title>
<link rel="stylesheet" type="text/css" href="../css/editor.css" />
<link rel="stylesheet" type="text/css" href="css/comm.css" />
<script>
document.write('<script type="text/javascript" src="../release/editor.js"></', 'script>');
</script>
<script type="text/javascript" src="../release/editor_menu.js"></script>
<style>
html, body { overflow:hidden; }
object{width:40;height:40;}
</style>
<script type="text/javascript">
window.onload = function()
{
QMEditorAdapter.gbIsFF && (document.domain = "qq.com");
function _parseArgs(_asUrl) {
var _oParams = {}, _nIndex = _asUrl.indexOf('?');
if ( _nIndex > -1 ) {
var _asParams = _asUrl.substr(_nIndex+1),
_aParamsList= _asParams ? _asParams.split('&') : null;
if ( _aParamsList != null ) {
for (var i in _aParamsList) {
var _asParamsTuple = _aParamsList[i].split('=');
_oParams[_asParamsTuple[0]] = _asParamsTuple[1];
}
}
}
return _oParams;
}
var _oArgs = _parseArgs(location.href), _bEmbed = Number(_oArgs["embed"]), _bGrp = Number(_oArgs["grp"]);
window.Editor = QMEditor.createEditor({
editorId : "editor",
tbExternId : _bEmbed?"QMEditorToolBarPlusAreaEmbed":"QMEditorToolBarPlusAreaStandalone",
editorAreaId : "QMEditorArea",
editorAreaWin : window,
isOpenEditBar : false,
nAutoRisizeMinHeight : 200,
funclist : QMEditor.CONST.FUNCLIST.ORIGINAL,
isNoEditScroll: false
});
if ( _bEmbed ) {
Editor.initialize( {
frameClass: _bGrp?"qmEditorIfrmEditAreaEmbedNoTitle":"qmEditorIfrmEditAreaEmbed",
frameEditorBaseClass: "qmEditorBase",
frameEditClass: "qmEditorContentEmbed",
frameTitleClass: _bGrp?"qmEditorTitleBoxEmbedNoTitle":"qmEditorTitleBoxEmbed_rd",
frameTitleStyle: "-webkit-user-select:none;",
frameToolbarClass: "qmEditorToolbarDivBase qmEditorToolbarDivEmbed",
frameBodyPadding: "padding:2px 8px 0px 5px;",
asAccessKey: "",
anTabIndex: 0,
abBkgIframe: 1
});
} else {
window.Editor.initialize({
frameClass: "qmEditorIfrmEditAreaStandalone",
frameEditorBaseClass: "qmEditorBase qmEditorBaseStandalone",
frameEditClass: "qmEditorContentStandalone",
frameTitleClass: "qmEditorToolbarDivBase qmEditorTitleBoxStandalone",
frameTitleStyle: "",
frameToolbarClass: "qmEditorToolbarDivBase qmEditorToolBarDivStandalone",
frameBodyPadding: "padding:2px 3px 0 8px;",
asAccessKey: "",
anTabIndex: 0
});
}
};
QReplaceBkgHTMLImgTag = function(jsonArray) {
window.Editor.replaceBkgHTMLImgTag(jsonArray);
};
QGetBkgHTMLData = function() {
return window.Editor.getBkgHTMLData();
};
QLoadBkgHTMLData = function(_asContent) {
window.Editor.loadBkgHTMLData(_asContent);
};
QLoadBkgHTMLDataByURL = function(_asURL) {
window.Editor.loadBkgHTMLDataByURL(_asURL);
};
QUpdateHTMLImgTag = function(jsonArray) {
window.Editor.updateHTMLImgTag(jsonArray);
};
QGetHTMLTitle = function() {
return window.Editor.getEditTitle();
};
QGetHTMLContent = function() {
return window.Editor.getHTMLContent();
};
QGetHTMLData = function() {
return window.Editor.getHTMLData();
};
QLoadHTMLData = function(_asTitle, _asContent) {
window.Editor.loadHTMLData(_asTitle, _asContent);
};
QLoadHTMLDataByURL = function(_asTitle, _asContentURL) {
window.Editor.loadHTMLDataByURL(_asTitle, _asContentURL);
};
QResetEditedHTML = function() {
window.Editor.resetEditedHTML();
};
QSetAutoScaleImage = function(_asAutoScaleImage) {
window.Editor.setAutoScaleImage(_asAutoScaleImage);
};
QSetContentEditable = function(_bContentEditable) {
window.Editor.setContentEditable(_bContentEditable);
};
QWebCtrlSizeChange = function() {
window.Editor.doWebCtrlSizeChange();
};
QExecCmdOnMenu = function(_sCmd) {
_sCmd = _sCmd.toLowerCase();
window.Editor._oMenuAdaptor.execCmd(_sCmd);
};
QInsertDropImgs = function(_jsonImageList) {
window.Editor.insertDropImgs(_jsonImageList);
};
QActiveTopWnd = function() {
window.Editor.resetEditedHTML();
};
QTopWndNcActivate = function() {
window.Editor.notifyEventObserver("TopWndNcActivate");
};
QSetFocus = function() {
window.Editor.setFocus();
};
QHasEditData = function() {
return window.Editor.hasEditData();
};
QSetClientSize = function(_nWidth, _nHeight) {
window.Editor.setClientSize(_nWidth, _nHeight);
};
QGetCacheImageByUrl = function(_asUrl) {
window.Editor.getCacheImageByUrl(_asUrl);
};
QMarkKeyWordOnHTML = function(_asKeyWord, _asErase) {
var _bErase = parseInt(_asErase);
window.Editor.markKeyWordOnHtml(_asKeyWord, _bErase);
};
</script>
</head>
<body style="height:100%;overflow:hidden;">
<div class="editor_body">
<div style="height:30px;margin:0 15px 0 15px;padding-top:5px;display: none;">
<span id="QMEditorToolBarPlusAreaEmbed" style="display:block;"></span>
</div>
<div style="height:30px;background:#edeeee;padding:5px 0 0 5px;border-bottom:1px solid #d7d7d7;display: none;">
<span id="QMEditorToolBarPlusAreaStandalone" style="display:block;"></span>
</div>
<div class="editor_area" id="QMEditorArea">
</div>
</div>
</body>
</html>
QQ截图,独立运行,无需安装
需积分: 0 171 浏览量
2023-04-15
15:19:10
上传
评论
收藏 46.21MB ZIP 举报
Mr.30s
- 粉丝: 1
- 资源: 2
最新资源
- 数电实验三:74LS151逻辑功能测试、74LS153逻辑功能测试、74LS153全加器、三输入多数表决电路
- jsp基于WEB的考务管理系统的设计与实现(源代码+lw).zip
- jsp基于WEB操作系统课程教学网站的设计与实现(源代码+lw).zip
- 数据库课程实践在IDEA上使用java语言采用JDBC技术连接Mysql数据库,实现购物系统.zip
- JSP基于SSH2的网络在线问答系统.zip
- JSP基于Iptables图形管理工具的设计与实现(源代码+lw).zip
- 数电实验二:74LS138功能测试、74LS138构成同相脉冲分配器、CC4511功能测试、CC4511与共阴极数码管组成的译码
- JSP基于Caché的实验室资源管理系统的设计(源代码+lw).zip
- JSP基于BS结构下的邮件系统设计开发(源代码+lw).zip
- 知识蒸馏-基于Pytorch实现的知识蒸馏+自监督学习算法训练-附项目源码+优质项目实战.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈