html---jquery

 
<!doctype html>
<html lang="en">
    <head>
        <title>jQuery輕量級網頁編輯器在線演示</title>
        <meta charset='utf-8'>
        <link href="http://www.html5tricks.com/demo/jiaoben2131/font-awesome.css" rel="stylesheet">
        <link rel="stylesheet" type="text/css" href="http://www.html5tricks.com/demo/jiaoben2131/style.css">
        <link rel="stylesheet" type="text/css" href="http://www.html5tricks.com/demo/jiaoben2131/src/js/jquery.notebook.css">
    </head>
    <body>
<a href="http://www.html5tricks.com/demo/jiaoben2131/index.html">http://www.html5tricks.com/demo/jiaoben2131/index.html</a><br>
       <div style="text-align:center;clear:both">
<script src="http://www.html5tricks.com/demo/jiaoben2131/gg_bd_ad_720x90.js" type="text/javascript"></script>
<script src="http://www.html5tricks.com/demo/jiaoben2131/follow.js" type="text/javascript"></script>
</div>
    <div class="editor">
            <h1>JQUERY NOTEBOOK DEMO</h1>
            <p>一個簡單,乾淨,優雅的所見即所得的富文本編輯器.<strong>用鼠標選中文字可看到效果</strong></p>
            <p>This jQuery plugin is released under the MIT license. You can check out the project and see how extremely simple it is to use this editor on your application by clicking on the Github ribbon on the top corner of this page. Feel free to contribute with this project by registering any bug that you may encounter as an issue on Github, and working on the issues that are already there. I'm looking forward to seeing your pull request!</p>
            <p>Now, just take a time to test the editor. Yes, <b>this div is the editor</b>. Try to edit this text, select a part of this text and don't forget to try the basic text editor keyboard shortcuts.</p>
<div style="text-align:center;clear:both">
<script src="http://www.html5tricks.com/demo/jiaoben2131/gg_bd_ad_720x90-2.js" type="text/javascript"></script>
</div>
        </div>
        <script type="text/javascript" src="http://www.html5tricks.com/demo/jiaoben2131/src/js/libs/jquery-1.10.2.min.js"></script>
        <script type="text/javascript" src="http://www.html5tricks.com/demo/jiaoben2131/src/js/jquery.notebook.js"></script>
        <script type="text/javascript">
            $(document).ready(function() {
                $('.editor').notebook({
                    autoFocus: true,
                    placeholder: 'Type something awesome...'
                });
            });
        </script>

</body>
</html>
相關文章
相關標籤/搜索