Files
Lehrlingsparcours/Version 1406/LPWeb20_Backup_2014.04.28_07.35.16/RichtextEditor/aspnet/insertchars.xml
2019-12-21 10:58:30 +01:00

47 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<jsml xmlns="http://cutesoft.net/jsml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://cutesoft.net/jsml ../core/jsml.xsd">
<execute>
dialog.set_title(editor.GetLangText("insertchars"));
</execute>
<panel jsml-class="insertchars_dialog" dock="fill" overflow="visible">
<htmlcontrol dock="fill" jsml-local="hc">
</htmlcontrol>
<attach name="attach_dom">
<![CDATA[
setTimeout(function()
{
if(self.iframe)return;
window.rteinsertcharseditor=editor;
window.rteinsertcharsdialog=dialog;
dialog.attach_event("closing",function()
{
window.rteinsertcharseditor=null;
window.rteinsertcharsdialog=null;
});
var iframe=document.createElement("IFRAME");
iframe.setAttribute("src","{folder}aspnet/insertchars.htm?{timems}");
iframe.setAttribute("frameBorder","0");
hc._content.appendChild(iframe);
self.iframe=iframe;
self.invoke_event("resize");
},10);
]]>
</attach>
<attach name="resize">
if(!self.iframe)return;
self.iframe.style.width=hc.get_client_width()+"px";
self.iframe.style.height=hc.get_client_height()+"px";
</attach>
</panel>
<panel jsml-base="insertchars_dialog" />
</jsml>