1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
3 | <head> |
---|
4 | <title>FCKeditor - Lots of editor instances</title> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
6 | <meta name="robots" content="noindex, nofollow" /> |
---|
7 | <link href="../sample.css" rel="stylesheet" type="text/css" /> |
---|
8 | <script type="text/javascript" src="../../fckeditor.js"></script> |
---|
9 | <script type="text/javascript"> |
---|
10 | var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ; |
---|
11 | </script> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <h1> |
---|
15 | FCKeditor - JavaScript - Sample 9d - Lots of FCK editors</h1> |
---|
16 | <div> |
---|
17 | This sample shows 30 FCK editors on a single page.<br /> |
---|
18 | WARNING: This page is known to crash Firefox 2. |
---|
19 | </div> |
---|
20 | <hr /> |
---|
21 | <br /> |
---|
22 | FCKeditor with Default toolbar: |
---|
23 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor01"><p>01 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
24 | <script type="text/javascript"> |
---|
25 | var oFCKeditor = new FCKeditor("richTextEditor01"); |
---|
26 | oFCKeditor.BasePath = sBasePath; |
---|
27 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
28 | oFCKeditor.ReplaceTextarea(); |
---|
29 | </script> |
---|
30 | <br /> |
---|
31 | FCKeditor with Default toolbar: |
---|
32 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor02"><p>02 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
33 | <script type="text/javascript"> |
---|
34 | var oFCKeditor = new FCKeditor("richTextEditor02"); |
---|
35 | oFCKeditor.BasePath = sBasePath; |
---|
36 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
37 | oFCKeditor.ReplaceTextarea(); |
---|
38 | </script> |
---|
39 | <br /> |
---|
40 | FCKeditor with Default toolbar: |
---|
41 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor03"><p>03 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
42 | <script type="text/javascript"> |
---|
43 | var oFCKeditor = new FCKeditor("richTextEditor03"); |
---|
44 | oFCKeditor.BasePath = sBasePath; |
---|
45 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
46 | oFCKeditor.ReplaceTextarea(); |
---|
47 | </script> |
---|
48 | <br /> |
---|
49 | FCKeditor with Default toolbar: |
---|
50 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor04"><p>04 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
51 | <script type="text/javascript"> |
---|
52 | var oFCKeditor = new FCKeditor("richTextEditor04"); |
---|
53 | oFCKeditor.BasePath = sBasePath; |
---|
54 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
55 | oFCKeditor.ReplaceTextarea(); |
---|
56 | </script> |
---|
57 | <br /> |
---|
58 | FCKeditor with Default toolbar: |
---|
59 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor05"><p>05 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
60 | <script type="text/javascript"> |
---|
61 | var oFCKeditor = new FCKeditor("richTextEditor05"); |
---|
62 | oFCKeditor.BasePath = sBasePath; |
---|
63 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
64 | oFCKeditor.ReplaceTextarea(); |
---|
65 | </script> |
---|
66 | <br /> |
---|
67 | FCKeditor with Default toolbar: |
---|
68 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor06"><p>06 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
69 | <script type="text/javascript"> |
---|
70 | var oFCKeditor = new FCKeditor("richTextEditor06"); |
---|
71 | oFCKeditor.BasePath = sBasePath; |
---|
72 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
73 | oFCKeditor.ReplaceTextarea(); |
---|
74 | </script> |
---|
75 | <br /> |
---|
76 | FCKeditor with Default toolbar: |
---|
77 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor07"><p>07 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
78 | <script type="text/javascript"> |
---|
79 | var oFCKeditor = new FCKeditor("richTextEditor07"); |
---|
80 | oFCKeditor.BasePath = sBasePath; |
---|
81 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
82 | oFCKeditor.ReplaceTextarea(); |
---|
83 | </script> |
---|
84 | <br /> |
---|
85 | FCKeditor with Default toolbar: |
---|
86 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor08"><p>08 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
87 | <script type="text/javascript"> |
---|
88 | var oFCKeditor = new FCKeditor("richTextEditor08"); |
---|
89 | oFCKeditor.BasePath = sBasePath; |
---|
90 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
91 | oFCKeditor.ReplaceTextarea(); |
---|
92 | </script> |
---|
93 | <br /> |
---|
94 | FCKeditor with Default toolbar: |
---|
95 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor09"><p>09 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
96 | <script type="text/javascript"> |
---|
97 | var oFCKeditor = new FCKeditor("richTextEditor09"); |
---|
98 | oFCKeditor.BasePath = sBasePath; |
---|
99 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
100 | oFCKeditor.ReplaceTextarea(); |
---|
101 | </script> |
---|
102 | <br /> |
---|
103 | FCKeditor with Default toolbar: |
---|
104 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor10"><p>10 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
105 | <script type="text/javascript"> |
---|
106 | var oFCKeditor = new FCKeditor("richTextEditor10"); |
---|
107 | oFCKeditor.BasePath = sBasePath; |
---|
108 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
109 | oFCKeditor.ReplaceTextarea(); |
---|
110 | </script> |
---|
111 | <br /> |
---|
112 | FCKeditor with Default toolbar: |
---|
113 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor11"><p>11 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
114 | <script type="text/javascript"> |
---|
115 | var oFCKeditor = new FCKeditor("richTextEditor11"); |
---|
116 | oFCKeditor.BasePath = sBasePath; |
---|
117 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
118 | oFCKeditor.ReplaceTextarea(); |
---|
119 | </script> |
---|
120 | <br /> |
---|
121 | FCKeditor with Default toolbar: |
---|
122 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor12"><p>12 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
123 | <script type="text/javascript"> |
---|
124 | var oFCKeditor = new FCKeditor("richTextEditor12"); |
---|
125 | oFCKeditor.BasePath = sBasePath; |
---|
126 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
127 | oFCKeditor.ReplaceTextarea(); |
---|
128 | </script> |
---|
129 | <br /> |
---|
130 | FCKeditor with Default toolbar: |
---|
131 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor13"><p>13 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
132 | <script type="text/javascript"> |
---|
133 | var oFCKeditor = new FCKeditor("richTextEditor13"); |
---|
134 | oFCKeditor.BasePath = sBasePath; |
---|
135 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
136 | oFCKeditor.ReplaceTextarea(); |
---|
137 | </script> |
---|
138 | <br /> |
---|
139 | FCKeditor with Default toolbar: |
---|
140 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor14"><p>14 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
141 | <script type="text/javascript"> |
---|
142 | var oFCKeditor = new FCKeditor("richTextEditor14"); |
---|
143 | oFCKeditor.BasePath = sBasePath; |
---|
144 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
145 | oFCKeditor.ReplaceTextarea(); |
---|
146 | </script> |
---|
147 | <br /> |
---|
148 | FCKeditor with Default toolbar: |
---|
149 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor15"><p>15 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
150 | <script type="text/javascript"> |
---|
151 | var oFCKeditor = new FCKeditor("richTextEditor15"); |
---|
152 | oFCKeditor.BasePath = sBasePath; |
---|
153 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
154 | oFCKeditor.ReplaceTextarea(); |
---|
155 | </script> |
---|
156 | <br /> |
---|
157 | FCKeditor with Default toolbar: |
---|
158 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor16"><p>16 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
159 | <script type="text/javascript"> |
---|
160 | var oFCKeditor = new FCKeditor("richTextEditor16"); |
---|
161 | oFCKeditor.BasePath = sBasePath; |
---|
162 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
163 | oFCKeditor.ReplaceTextarea(); |
---|
164 | </script> |
---|
165 | <br /> |
---|
166 | FCKeditor with Default toolbar: |
---|
167 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor17"><p>17 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
168 | <script type="text/javascript"> |
---|
169 | var oFCKeditor = new FCKeditor("richTextEditor17"); |
---|
170 | oFCKeditor.BasePath = sBasePath; |
---|
171 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
172 | oFCKeditor.ReplaceTextarea(); |
---|
173 | </script> |
---|
174 | <br /> |
---|
175 | FCKeditor with Default toolbar: |
---|
176 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor18"><p>18 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
177 | <script type="text/javascript"> |
---|
178 | var oFCKeditor = new FCKeditor("richTextEditor18"); |
---|
179 | oFCKeditor.BasePath = sBasePath; |
---|
180 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
181 | oFCKeditor.ReplaceTextarea(); |
---|
182 | </script> |
---|
183 | <br /> |
---|
184 | FCKeditor with Default toolbar: |
---|
185 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor19"><p>19 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
186 | <script type="text/javascript"> |
---|
187 | var oFCKeditor = new FCKeditor("richTextEditor19"); |
---|
188 | oFCKeditor.BasePath = sBasePath; |
---|
189 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
190 | oFCKeditor.ReplaceTextarea(); |
---|
191 | </script> |
---|
192 | <br /> |
---|
193 | FCKeditor with Default toolbar: |
---|
194 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor20"><p>20 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
195 | <script type="text/javascript"> |
---|
196 | var oFCKeditor = new FCKeditor("richTextEditor20"); |
---|
197 | oFCKeditor.BasePath = sBasePath; |
---|
198 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
199 | oFCKeditor.ReplaceTextarea(); |
---|
200 | </script> |
---|
201 | <br /> |
---|
202 | FCKeditor with Default toolbar: |
---|
203 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor21"><p>21 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
204 | <script type="text/javascript"> |
---|
205 | var oFCKeditor = new FCKeditor("richTextEditor21"); |
---|
206 | oFCKeditor.BasePath = sBasePath; |
---|
207 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
208 | oFCKeditor.ReplaceTextarea(); |
---|
209 | </script> |
---|
210 | <br /> |
---|
211 | FCKeditor with Default toolbar: |
---|
212 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor22"><p>22 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
213 | <script type="text/javascript"> |
---|
214 | var oFCKeditor = new FCKeditor("richTextEditor22"); |
---|
215 | oFCKeditor.BasePath = sBasePath; |
---|
216 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
217 | oFCKeditor.ReplaceTextarea(); |
---|
218 | </script> |
---|
219 | <br /> |
---|
220 | FCKeditor with Default toolbar: |
---|
221 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor23"><p>23 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
222 | <script type="text/javascript"> |
---|
223 | var oFCKeditor = new FCKeditor("richTextEditor23"); |
---|
224 | oFCKeditor.BasePath = sBasePath; |
---|
225 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
226 | oFCKeditor.ReplaceTextarea(); |
---|
227 | </script> |
---|
228 | <br /> |
---|
229 | FCKeditor with Default toolbar: |
---|
230 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor24"><p>24 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
231 | <script type="text/javascript"> |
---|
232 | var oFCKeditor = new FCKeditor("richTextEditor24"); |
---|
233 | oFCKeditor.BasePath = sBasePath; |
---|
234 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
235 | oFCKeditor.ReplaceTextarea(); |
---|
236 | </script> |
---|
237 | <br /> |
---|
238 | FCKeditor with Default toolbar: |
---|
239 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor25"><p>25 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
240 | <script type="text/javascript"> |
---|
241 | var oFCKeditor = new FCKeditor("richTextEditor25"); |
---|
242 | oFCKeditor.BasePath = sBasePath; |
---|
243 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
244 | oFCKeditor.ReplaceTextarea(); |
---|
245 | </script> |
---|
246 | <br /> |
---|
247 | FCKeditor with Default toolbar: |
---|
248 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor26"><p>26 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
249 | <script type="text/javascript"> |
---|
250 | var oFCKeditor = new FCKeditor("richTextEditor26"); |
---|
251 | oFCKeditor.BasePath = sBasePath; |
---|
252 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
253 | oFCKeditor.ReplaceTextarea(); |
---|
254 | </script> |
---|
255 | <br /> |
---|
256 | FCKeditor with Default toolbar: |
---|
257 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor27"><p>27 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
258 | <script type="text/javascript"> |
---|
259 | var oFCKeditor = new FCKeditor("richTextEditor27"); |
---|
260 | oFCKeditor.BasePath = sBasePath; |
---|
261 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
262 | oFCKeditor.ReplaceTextarea(); |
---|
263 | </script> |
---|
264 | <br /> |
---|
265 | FCKeditor with Default toolbar: |
---|
266 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor28"><p>28 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
267 | <script type="text/javascript"> |
---|
268 | var oFCKeditor = new FCKeditor("richTextEditor28"); |
---|
269 | oFCKeditor.BasePath = sBasePath; |
---|
270 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
271 | oFCKeditor.ReplaceTextarea(); |
---|
272 | </script> |
---|
273 | <br /> |
---|
274 | FCKeditor with Default toolbar: |
---|
275 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor29"><p>29 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
276 | <script type="text/javascript"> |
---|
277 | var oFCKeditor = new FCKeditor("richTextEditor29"); |
---|
278 | oFCKeditor.BasePath = sBasePath; |
---|
279 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
280 | oFCKeditor.ReplaceTextarea(); |
---|
281 | </script> |
---|
282 | <br /> |
---|
283 | FCKeditor with Default toolbar: |
---|
284 | <textarea cols="80" readonly="readonly" rows="10" id="richTextEditor30"><p>30 The <u>fat cat</u> sat on the mat.</p><p>The <b>lazy dog</b> slept on the log.</p></textarea> |
---|
285 | <script type="text/javascript"> |
---|
286 | var oFCKeditor = new FCKeditor("richTextEditor30"); |
---|
287 | oFCKeditor.BasePath = sBasePath; |
---|
288 | oFCKeditor.Config['ToolbarStartExpanded'] = false ; |
---|
289 | oFCKeditor.ReplaceTextarea(); |
---|
290 | </script> |
---|
291 | </body> |
---|
292 | </html> |
---|