Ticket #2276: 2276_TC.html

File 2276_TC.html, 2.9 KB (added by Frederico Caldeira Knabben, 16 years ago)

TC (see comments for instructions)

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<!--
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
5 *
6 * == BEGIN LICENSE ==
7 *
8 * Licensed under the terms of any of the following licenses at your
9 * choice:
10 *
11 *  - GNU General Public License Version 2 or later (the "GPL")
12 *    http://www.gnu.org/licenses/gpl.html
13 *
14 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15 *    http://www.gnu.org/licenses/lgpl.html
16 *
17 *  - Mozilla Public License Version 1.1 or later (the "MPL")
18 *    http://www.mozilla.org/MPL/MPL-1.1.html
19 *
20 * == END LICENSE ==
21 *
22 * Sample page.
23-->
24<html xmlns="http://www.w3.org/1999/xhtml">
25<head>
26        <title>FCKeditor - Sample</title>
27        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
28        <meta name="robots" content="noindex, nofollow" />
29        <link href="../sample.css" rel="stylesheet" type="text/css" />
30        <script type="text/javascript" src="../../fckeditor.js"></script>
31</head>
32<body>
33        <h1>
34                FCKeditor - JavaScript - Sample 1
35        </h1>
36        <div>
37                This sample displays a normal HTML form with an FCKeditor with full features enabled.
38        </div>
39        <hr />
40        <p>Text</p>
41        <p>Text</p>
42        <p>Text</p>
43        <p>Text</p>
44        <p>Text</p>
45        <p>Text</p>
46        <p>Text</p>
47        <p>Text</p>
48        <p>Text</p>
49        <p>Text</p>
50        <p>Text</p>
51        <p>Text</p>
52        <p>Text</p>
53        <p>Text</p>
54        <p>Text</p>
55        <p>Text</p>
56        <p>Text</p>
57        <p>Text</p>
58        <p>Text</p>
59        <p>Text</p>
60        <p>Text</p>
61        <p>Text</p>
62        <p>Text</p>
63        <p>Text</p>
64        <p>Text</p>
65        <p>Text</p>
66        <p>Text</p>
67        <form action="../php/sampleposteddata.php" method="post" target="_blank">
68                <script type="text/javascript">
69<!--
70// Automatically calculates the editor base path based on the _samples directory.
71// This is usefull only for these samples. A real application should use something like this:
72// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value.
73var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
74
75var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
76oFCKeditor.BasePath     = sBasePath ;
77oFCKeditor.Height       = 300 ;
78oFCKeditor.Value        = '<p>Hit enter here.<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p><p>Text<\/p>' ;
79oFCKeditor.Create() ;
80//-->
81                </script>
82                <br />
83                <input type="submit" value="Submit" />
84        </form>
85        <p>Text</p>
86        <p>Text</p>
87        <p>Text</p>
88        <p>Text</p>
89        <p>Text</p>
90        <p>Text</p>
91        <p>Text</p>
92        <p>Text</p>
93        <p>Text</p>
94        <p>Text</p>
95        <p>Text</p>
96        <p>Text</p>
97        <p>Text</p>
98        <p>Text</p>
99        <p>Text</p>
100        <p>Text</p>
101        <p>Text</p>
102        <p>Text</p>
103        <p>Text</p>
104        <p>Text</p>
105        <p>Text</p>
106        <p>Text</p>
107        <p>Text</p>
108        <p>Text</p>
109        <p>Text</p>
110        <p>Text</p>
111        <p>Text</p>
112</body>
113</html>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy