Ticket #2742: index.htm

File index.htm, 1.2 KB (added by ahjort, 15 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<html>
3
4<head>
5        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
6        <meta name="author" content="Anders Straarup" />
7
8        <title>Untitled 2</title>
9        <script type="text/javascript" src="fckeditor/fckeditor.js"></script>   
10       
11        <style type="text/css">
12                #container {
13                        /*display:none;*/
14                }
15        </style>
16</head>
17
18<body>
19        <div id="buttons">
20                <input type="button" id="showEditor" onclick="document.getElementById('container').style.display = 'block';" value="Show editor" /> 
21                &nbsp;&nbsp;&nbsp;&nbsp; 
22                <input type="button" id="hideEditor" onclick="document.getElementById('container').style.display = 'none';" value="Hide editor" />
23        </div>
24        <div id="container">
25                <div id="toolbarDIV"></div>
26                <script type="text/javascript">
27                        var tekstfeltEditor = new FCKeditor('editor');
28                        tekstfeltEditor.Width = 400;
29                        tekstfeltEditor.Height = 200;                   
30                        tekstfeltEditor.Config['ToolbarLocation'] = 'Out:toolbarDIV';
31                        tekstfeltEditor.BasePath = '/test/fckeditor/fckeditor/';
32                        tekstfeltEditor.Create();
33                        </script>
34        </div> 
35</body>
36</html>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy