ImageVerifierCode 换一换
格式:DOCX , 页数:14 ,大小:19.50KB ,
资源ID:11846315      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/11846315.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(红栌温泉山庄在线编辑器.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

红栌温泉山庄在线编辑器.docx

1、红栌温泉山庄在线编辑器红栌温泉山庄在线编辑器var sPath = document.location.pathname;sPath = sPath.substr(0, sPath.length-14);var sLinkFieldName = ;var sLinkOriginalFileName = ;var sLinkSaveFileName = ;var sLinkSavePathFileName = ;/ 全局设置对象var config = new Object() ;config.Version = ;config.ReleaseDate = ;config.License = ;

2、config.StyleName = ;config.StyleMenuHeader = link href=+sPath+css/MenuArea.css type=text/css rel=stylesheet;config.StyleDir = ;config.StyleUploadDir = ;config.InitMode = ;config.AutoDetectPasteFromWord = ;config.BaseUrl = ;config.BaseHref = ;config.AutoRemote = ;config.ShowBorder = ;config.ModId = ;

3、 /提交过来的模板号config.oBoardId = ; /提交过来的栏目号var sBaseHref = ;if(config.BaseHref!=) sBaseHref = ;config.StyleEditorHeader = link href= + sPath + css/EditorArea.css type=text/css rel=stylesheet + sBaseHref + ;Script Language=Javascript src=Script Language=Javascript src=www.bj-return true ; / 隐藏错误 /*辅助线 va

4、r borderShown = 0 function sBorders() allTables = eWebEditor.document.body.getElementsByTagName(TABLE); for(i=0; i allTables.length; i+) if(!borderShown) allTablesi.runtimeStyle.borderTop = allTablesi.runtimeStyle.borderLeft = 1px dotted #BFBFBF; else allTablesi.runtimeStyle.cssText = ; allRows = al

5、lTablesi.rows; for(y=0; y allRows.length; y+) allCells = allRowsy.cells; for(x=0; x allCells.length; x+) if(!borderShown) allCellsx.runtimeStyle.borderRight = allCellsx.runtimeStyle.borderBottom = 1px dotted #BFBFBF; else allCellsx.runtimeStyle.cssText = ; borderShown = borderShown ? 0 : 1; if(!bord

6、erShown) eWebEditor.document.body.innerHTML = eWebEditor.document.body.innerHTML; function copyContent() eWebEditor.document.body.createTextRange().select(); / 选中编辑器内所有内容 eWebEditor.document.execCommand(copy,null); / 复制 setTimeout(sBorders();,1000); !-编辑器内核由eWebEditor提供,特此感谢!- td %If Session(IsDesig

7、n) yes Then% style=display:none class=StatusBarBtnOff id=eWebEditor_CODE onClick=setMode(CODE)img border=0 src=buttonimage/modecode.gif width=50 height=15 align=absmiddle td %If Session(IsDesign) yes Then% style=display:none width=5 img border=0 src=buttonimage/modeedit.gif width=50 height=15 align=

8、absmiddle img border=0 src=buttonimage/modetext.gif width=50 height=15 align=absmiddle img border=0 src=buttonimage/modepreview.gif width=50 height=15 align=absmiddle 复制 远程自动上传 img border=0 SRC=buttonimage/sizeplus.gif width=20 height=20 alt=增高编辑区 img border=0 SRC=buttonimage/sizeminus.gif width=20

9、height=20 alt=减小编辑区 form id=eWebEditor_UploadForm action=upload.asp?action=remote&type=remote&style=&ModId= method=post target=eWebEditor_UploadTarget style=margin:0.远程文件收集中.请等待.% 显示调用错误提示Sub ShowErr(str) Call DBConnEnd() Response.Write 调用错误: & str Response.EndEnd Sub 初始化Sub Init() 取全屏标志 sFullScreen

10、 = Trim(Request.QueryString(fullscreen) 取对应的内容ID sContentID = Trim(Request.QueryString(id) If sContentID = Then ShowErr 请传入调用参数ID,即隐藏的内容表单项ID! 取样式初始值 sStyleName = Get_SafeStr(Trim(Request.QueryString(style) If sStyleName = Then sStyleName = standard Dim s_SelfUrl, s_ApplicationName, n_Application, i

11、 s_SelfUrl = UCase(Request.ServerVariables(SERVER_NAME) & : & Request.ServerVariables(SERVER_PORT) & Request.ServerVariables(SCRIPT_NAME) & ?style= & sStyleName) n_Application = 0 Dim aApplicationName, aApplicationUrl, aApplicationValue aApplicationName = Application(eWebEditor_ApplicationName) aApp

12、licationUrl = Application(eWebEditor_ApplicationUrl) If IsArray(aApplicationName) = True Then n_Application = UBound(aApplicationName) 是否在内存中 For i = 1 To n_Application If aApplicationUrl(i) = s_SelfUrl Then s_ApplicationName = aApplicationName(i) aApplicationValue = Application(s_ApplicationName) s

13、StyleID = aApplicationValue(0) sStyleName = aApplicationValue(1) sStyleDir = aApplicationValue(2) sStyleCSS = aApplicationValue(3) sStyleUploadDir = aApplicationValue(4) nStateFlag = aApplicationValue(5) sDetectFromWord = aApplicationValue(6) sInitMode = aApplicationValue(7) sBaseUrl = aApplicationV

14、alue(8) sVersion = aApplicationValue(9) sReleaseDate = aApplicationValue(10) sLicense = aApplicationValue(11) sToolBarNormal = aApplicationValue(12) sToolBarFullScreen = aApplicationValue(13) sBaseHref = aApplicationValue(14) sAutoRemote = aApplicationValue(15) sShowBorder = aApplicationValue(16) If

15、 sFullScreen = 1 Then sToolBar = sToolBarFullScreen Else sToolBar = sToolBarNormal End If Exit Sub End If Next End If 初始化数据库连接 Call DBConnBegin() sSql = select * from ewebeditor_style where s_name= & sStyleName & oRs.Open sSql, oConn, 0, 1 If Not oRs.Eof Then sStyleID = oRs(lingbiqishi.org/S_ID) sStyleName = oRs(S_Name) sStyleDir = oRs(S_Dir) sStyleCSS = oRs(S_CSS) sStyleUploadDir = oRs(S_UploadDir) nStateFlag = oRs(S_StateFlag)

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1