Ticket #2615: 2615.htm

File 2615.htm, 1.0 KB (added by Artur Formella, 12 years ago)

test file

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5        <script type="text/javascript" src="./2.6.3/fckeditor.js"></script>
6</head>
7<body>
8        <h1>
9                FCKeditor - JavaScript - Sample 8
10        </h1>
11        <hr />
12<form method="post" action="#">         
13<div id="div1" style="display:none">
14                <script type="text/javascript">
15<!--
16var sBasePath = "./2.6.3/";
17
18var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
19oFCKeditor.Config['StartupShowBlocks']  = true ;
20oFCKeditor.BasePath     = sBasePath ;
21oFCKeditor.Height = 200 ;
22oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
23oFCKeditor.Create() ;
24//-->
25                </script>
26                </div>
27</form>
28<input type="button" value="toogle visible" onclick="document.getElementById('div1').style.display='block'">
29</body>
30</html>
31
32
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy