Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
index.jsp
Package: 0102010.rar [view]
Upload User: nbluoke
Upload Date: 2013-08-09
Package Size: 4851k
Code Size: 3k
Category:
Education soft system
Development Platform:
WORD
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>文件在线编辑器</title>
- <script language="JavaScript" type="text/JavaScript">
- function MM_popupMsg(msg) { //v1.0
- alert(msg);
- }
- function check()
- {
- var strFileName=form1.FileName.value;
- var FileType;
- var ImgWH;
- if (strFileName=="")
- {
- alert("请选择要上传的文件");
- return false;
- }
- return true;
- }
- function loadForm()
- {
- editor.HtmlEdit.document.body.innerHTML=document.myform.Content.value;
- return true
- }
- function subchk()
- {
- document.form1.content.value= window.editor.getHTML();
- }
- function insertHtml(HtmlCode)
- {
- var win=window.editor.Composition.document;//其中编辑区域是gledit.jsp中的一个iframe,id是idEditbox
- window.editor.Composition.focus();//是编辑器获得焦点,防止代码插入在编辑器外地方
- win.selection.createRange().pasteHTML(HtmlCode)//在光标的位置插入html代码
- }
- function tempfun(msg)
- {
- insertHtml("<img src='/test/editor/pic/20030915170559718.gif' border=0>");
- }
- </SCRIPT>
- </head>
- <body>
- <p><a href="http://www.cnmaya.org" target="_blank"><img src="images/mayalogo.gif" width="88" height="31" border="0"></a></p>
- <p> </p>
- <form name="form1" method="post" action="" onsubmit=" subchk()">
- <table width="760" border="0" align="center" cellpadding="2" cellspacing="2">
- <tr>
- <td>主题:</td>
- <td><input name="title" type="text" id="title" size="68">
- </td>
- </tr>
- <tr>
- <td>内容:</td>
- <td colspan="2">
- <!--object id=doc_html style="LEFT: 0px; TOP: 0px" data=edit.jsp width=544 height=320 type=text/x-scriptlet viewastext>
- </object-->
- <IFRAME SRC="edit.jsp" id='editor' frameborder=0 scrolling=0 width=544 height=321>
- </IFRAME>
- <textarea name="Content" style="display:none"></textarea>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div align="center">
- <input name="Submit" type="submit" value="提交">
-
- <input type="reset" name="Submit2" value="重置">
- <input name="temp" type="button" id="temp" onClick="tempfun('asdd')" value="temp" >
- <input name="btn" type="button" id="btn" onClick="MM_popupMsg('tef')" value="按钮">
- </div>
- </td>
- </tr>
- </table>
- <p> </p>
- <p> </p>
- <p> </p>
- </form>
- <div align="center">
- <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td><div align="center"><font size="-1">Copyright (C) 2003 <a href="http://www.itmaya.com/bbs" target="_blank">www.cnmaya.org</a> </font></div></td>
- </tr>
- </table>
- </div>
- </body>
- </html>