xheditor 간단 한 실례 --- 정상적으로 작 동 할 수 있 는 javascript

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>good work</title>
<script type="text/javascript" src="js/jquery/jquery-1.4.4.min.js" ></script>
<script type="text/javascript" src="js/xheditor-1.2.1.min.js"></script>
<script type="text/javascript" src="js/xheditor_lang/zh-cn.js"></script>
  <script type="text/javascript">
        $(function () {
            $(pageInit);
            var editor;
            function pageInit() {
               
				editor=$('#TopicEdit').xheditor({tools:'full',skin:'o2007blue',width:'1240',height:'500',upImgUrl:'upload.asp'});
            }
        })
        
    </script>



<textarea id="TopicEdit" runat="server" cols="25" rows="20" ></textarea><br/>
<div id="normalInput">           </div>
<input  type="button"  value="  "  />

좋은 웹페이지 즐겨찾기