Ticket #3463: replacebyclass.html

File replacebyclass.html, 1.1 KB (added by Josh Nisly, 16 years ago)
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<!--
3Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
4For licensing, see LICENSE.html or http://ckeditor.com/license
5-->
6<html xmlns="http://www.w3.org/1999/xhtml">
7<head>
8        <title>Replace Textareas by Class Name - CKEditor Sample</title>
9        <script type="text/javascript" src="../ckeditor_source.js"></script>
10</head>
11<body style="height: 750px; margin: 0">
12        <div style="height: 100%; left: 0; overflow: hidden; position: relative; top: 0; width: 100%"  id="html">
13                <div style="overflow: auto; position: relative; height: 100%" class="ckeditor">
14                        <div>
15                                Scroll to the bottom of the page and open the font color and background color panels to see if the panels appear at the right place.
16                        </div>
17                        <hr />
18                        <div style="position: absolute; top: 1500px;">
19                                <div style="width: 500px; height: 400px;" id="editor1">
20                                </div>
21                        </div>
22        </div>
23        </div>
24        <script type="text/javascript">
25                CKEDITOR.replace(document.getElementById('editor1'));
26        </script>
27</body>
28</html>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy