芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/admin/js/jscripts/tiny_mce/plugins/advhr/jscripts/rule.js
function init() { tinyMCEPopup.resizeToInnerSize(); var formObj = document.forms[0]; formObj.width.value = tinyMCE.getWindowArg('width'); formObj.size.value = tinyMCE.getWindowArg('size'); formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('mceDo'),'Insert',true); if (tinyMCE.getWindowArg('noshade')) { formObj.noshade.checked = true; } if (tinyMCE.getWindowArg('width').lastIndexOf('%')!=-1) { formObj.width2.value = "%"; formObj.width.value = formObj.width.value.substring(0,formObj.width.value.length-1); } } function insertHR() { var formObj = document.forms[0]; var width = formObj.width.value; var size = formObj.size.value; var html = '
'; tinyMCEPopup.execCommand("mceInsertContent", true, html); tinyMCEPopup.close(); } function cancelAction() { tinyMCEPopup.close(); }