Ticket #1514: 011.html

File 011.html, 2.7 KB (added by Alfonso Martínez de Lizarrondo, 16 years ago)

testcase that I used, it should be added with the patch.

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!--
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2007 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 * Test page.
23-->
24<html>
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="testcases.css" rel="stylesheet" type="text/css" />
30        <script type="text/javascript" src="../fckeditor.js"></script>
31        <script type="text/javascript">
32
33var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
34        </script>
35</head>
36<body>
37        <h1>FCKeditor - Test 011. Positioning the editor</h1>
38       
39 <div id="mainContent">
40        <div id="toolbarWrapper; position:relative;">
41        <div id="yToolbar"></div>
42    </div>
43    <div id="editWrapper" style="overflow:auto;border:1px solid black; height:500px;position:relative;margin-top:10px;">
44      <div id="fckWrapper2" style="height:400px;position:absolute;top:100px; left:100px; float:none;width:400px;height:400px;">
45                <script type="text/javascript">
46<!--
47var oFCKeditor = new FCKeditor( 'test2' ) ;
48oFCKeditor.BasePath     = sBasePath ;
49oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:yToolbar' ;
50oFCKeditor.Value        = 'edit me' ;
51oFCKeditor.Create() ;
52//-->
53                </script>
54               
55    </div>
56   
57     
58      <div id="fckWrapper" style="height:200px;position:absolute;top:300px; left:800px; float:none;width:200px;height:400px;">
59                <script type="text/javascript">
60<!--
61var oFCKeditor = new FCKeditor( 'test1' ) ;
62oFCKeditor.BasePath     = sBasePath ;
63oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:yToolbar' ;
64oFCKeditor.Value        = 'edit me' ;
65oFCKeditor.Create() ;
66//-->
67                </script>
68
69    </div>
70               
71                <div id="fckWrapper3" style="height:200px;position:absolute;top:800px; left:800px; float:none;width:200px;height:400px;">
72                <script type="text/javascript">
73<!--
74var oFCKeditor = new FCKeditor( 'test3' ) ;
75oFCKeditor.BasePath     = sBasePath ;
76oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:yToolbar' ;
77oFCKeditor.Value        = 'edit me' ;
78oFCKeditor.Create() ;
79//-->
80                </script>
81    </div>
82               
83               
84  </div>
85  </div>
86 
87</body>
88</html>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy