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 / sample10.html

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

159 lines 2.8 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 </head>
62
63 <body>
64
65 <h1>
66
67 FCKeditor - JavaScript - Sample 10</h1>
68
69 <div>
70
71 This sample shows a form with two FCKeditor instance. Both instances share the same
72
73 toolbar, available in the top.
74
75 </div>
76
77 <hr />
78
79 <div id="xToolbar"></div>
80
81 <hr />
82
83 <form action="../php/sampleposteddata.php" method="post" target="_blank">
84
85 Normal text field:<br />
86
87 <input name="NormaText" value="Plain Text" />
88
89 <br />
90
91 <br />
92
93 FCKeditor 1:
94
95 <script type="text/javascript">
96
97 <!--
98
99 // Automatically calculates the editor base path based on the _samples directory.
100
101 // This is usefull only for these samples. A real application should use something like this:
102
103 // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
104
105 var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
106
107
108
109 var oFCKeditor = new FCKeditor( 'FCKeditor_1' ) ;
110
111 oFCKeditor.BasePath = sBasePath ;
112
113 oFCKeditor.Height = 100 ;
114
115 oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:xToolbar' ;
116
117 oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
118
119 oFCKeditor.Create() ;
120
121 //-->
122
123 </script>
124
125 <br />
126
127 FCKeditor 2:
128
129 <script type="text/javascript">
130
131 <!--
132
133 oFCKeditor = new FCKeditor( 'FCKeditor_2' ) ;
134
135 oFCKeditor.BasePath = sBasePath ;
136
137 oFCKeditor.Height = 100 ;
138
139 oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:xToolbar' ;
140
141 oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
142
143 oFCKeditor.Create() ;
144
145 //-->
146
147 </script>
148
149 <br />
150
151 <input type="submit" value="Submit" />
152
153 </form>
154
155 </body>
156
157 </html>
158
159