source: companies/celepar/news_admin/templates/celepar/fckeditor/to_delete/_testcases/007.html @ 763

Revision 763, 2.0 KB checked in by niltonneto, 15 years ago (diff)

Importação inicial do Expresso da Celepar

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!--
3 * FCKeditor - The text editor for internet
4 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
5 *
6 * Licensed under the terms of the GNU Lesser General Public License:
7 *              http://www.opensource.org/licenses/lgpl-license.php
8 *
9 * For further information visit:
10 *              http://www.fckeditor.net/
11 *
12 * "Support Open Source software. What about a donation today?"
13 *
14 * File Name: 007.html
15 *      Test Page.
16 *
17 * File Authors:
18 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
19-->
20<html>
21        <head>
22                <title>FCKeditor - Sample</title>
23                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
24                <meta name="robots" content="noindex, nofollow">
25                <link href="testcases.css" rel="stylesheet" type="text/css">
26                        <script type="text/javascript" src="../fckeditor.js"></script>
27        </head>
28        <body>
29                <h1>FCKeditor - Test 007</h1>
30                <P>
31                        <STRONG>Expected results</STRONG>: The editor content must be loaded and the
32                        submit button must post the editor's html.<BR>
33                        <STRONG>Configurations</STRONG>: Default<BR>
34                        <STRONG>Steps to&nbsp;Reproduce</STRONG>:
35                </P>
36                <OL>
37                        <LI>
38                        Wait the editor to load.
39                        <LI>
40                        Enter some text.
41                        <LI>
42                                Hit submit button and check the posted data.</LI></OL>
43                <P>
44                        <hr>
45                <P></P>
46                <form action="sampleposteddata.asp" method="post" target="_blank">
47                        <script type="text/javascript">
48<!--
49// Automatically calculates the editor base path based on the _samples directory.
50// This is usefull only for these samples. A real application should use something like this:
51// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value.
52var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
53
54var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
55oFCKeditor.BasePath     = sBasePath ;
56oFCKeditor.Value        = '<div></div>' ;
57oFCKeditor.Create() ;
58//-->
59                        </script>
60                        <br>
61                        <input type="submit" value="Submit">
62                </form>
63        </body>
64</html>
Note: See TracBrowser for help on using the repository browser.