function user_login(){
var l
createDlg("dlgLogin","용户登录",260,170)
l="
"
insHtm("dlgLogin",l)
oFocu(document.fmLogin.FUid)
$('dlgLogin').clickOk=function(){
document.fmLogin.btSubmit.click()
}
document.fmLogin.onload=function(xml){
location.reload(true)
}
}
function user_reg(){
var l
createDlg("dlgReg","사용户注册",320,260)
l="
"
insHtm("dlgReg",l)
oFocu(document.fmReg.FUid)
$('dlgReg').clickOk=function(){
document.fmReg.btSubmit.click()
}
document.fmReg.onload=function(xml){
oDel('dlgReg')
location.reload(true)
}
}
함수 user_logout( ){
loadXml("handle_user.asp?cmd=logout",function(xml){
location.reload(true)
})
}
function editor_setLink(win){
var v
win.focus()
if(document.all)
v=window.showModalDialog("lib/input.htm","请输入超链接路径|http://","dialogwidth:354px;dialogheight:152px;status:no;help:no")
else
v=prompt("请输入超链接路径","http://")
if(v==null)
return
if(v!=""&&v!="http://")
win.document.execCommand("createlink",false,v)
else
win.document.execCommand("unlink",false,null)
}
function editor_insImg(win){
var v
win.focus()
if(document.all)
v=window.showModalDialog("lib/input.htm","请输入图片路径|http://","dialogwidth:354px;dialogheight:152px;status:no;help:no")
else
v=prompt("请输入图片路径","http://")
if(v==null)
return
if(!/\.(gif|jpg)/i.test(v))
return
win.document.execCommand("insertimage",false,v)
}
function editor_insJs(win){
win.focus()
l="
"
l+="◇ 测试程序 - >> 运行下面的js |
"
l+="
<script><br><br></script> |
"
l+="
"
editor_paste(win,l)
}
function jsCode_run(ee){
var data,w
data=ee.parentNode.parentNode.nextSibling.innerText
w=window.open("", "_blank","")
w.document.write(data)
w.document.close()
if(/
저자별 최신 기사
-
2024-10-22 09:46:29
-
2024-10-13 13:53:41
-
2024-10-12 12:15:51
-
2024-10-11 22:47:31
-
2024-10-11 19:36:51
-
2024-10-11 15:50:41
-
2024-10-11 15:07:41
-
2024-10-11 14:21:21
-
2024-10-11 12:59:11
-
2024-10-11 12:17:31