PluginProbe
Wp-Insert / 1.2
Wp-Insert v1.2
trunk 1.0 1.1 1.2 1.2.1 1.2.2 1.3.0 1.3.1 1.3.3 1.4 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.6.1 1.6.2 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 2.0 All 63 releases
wp-insert / fckeditor / _samples / html / sample02.html

sample02.html in Wp-Insert 1.2, at fckeditor/_samples/html/sample02.html

127 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3 <!--
4
5 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
6
7 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
8
9 *
10
11 * == BEGIN LICENSE ==
12
13 *
14
15 * Licensed under the terms of any of the following licenses at your
16
17 * choice:
18
19 *
20
21 * - GNU General Public License Version 2 or later (the "GPL")
22
23 * http://www.gnu.org/licenses/gpl.html
24
25 *
26
27 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
28
29 * http://www.gnu.org/licenses/lgpl.html
30
31 *
32
33 * - Mozilla Public License Version 1.1 or later (the "MPL")
34
35 * http://www.mozilla.org/MPL/MPL-1.1.html
36
37 *
38
39 * == END LICENSE ==
40
41 *
42
43 * Sample page.
44
45 -->
46
47 <html xmlns="http://www.w3.org/1999/xhtml">
48
49 <head>
50
51 <title>FCKeditor - Sample</title>
52
53 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
54
55 <meta name="robots" content="noindex, nofollow" />
56
57 <link href="../sample.css" rel="stylesheet" type="text/css" />
58
59 <script type="text/javascript" src="../../fckeditor.js"></script>
60
61 <script type="text/javascript">
62
63
64
65 window.onload = function()
66
67 {
68
69 // Automatically calculates the editor base path based on the _samples directory.
70
71 // This is usefull only for these samples. A real application should use something like this:
72
73 // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
74
75 var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
76
77
78
79 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
80
81 oFCKeditor.BasePath = sBasePath ;
82
83 oFCKeditor.ReplaceTextarea() ;
84
85 }
86
87
88
89 </script>
90
91 </head>
92
93 <body>
94
95 <h1>
96
97 FCKeditor - JavaScript - Sample 2</h1>
98
99 <div>
100
101 This sample displays a normal HTML form with an FCKeditor with full features enabled.
102
103 It uses the "ReplaceTextarea" command to create the editor.
104
105 </div>
106
107 <hr />
108
109 <form action="../php/sampleposteddata.php" method="post" target="_blank">
110
111 <div>
112
113 <textarea name="FCKeditor1" rows="10" cols="80" style="width: 100%; height: 200px">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;FCKeditor&lt;/a&gt;.&lt;/p&gt;</textarea>
114
115 </div>
116
117 <br />
118
119 <input type="submit" value="Submit" />
120
121 </form>
122
123 </body>
124
125 </html>
126
127