initial commit
[namibia] / public / scripts / ckeditor / _samples / adobeair / sample.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <!--
3 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
4 For licensing, see LICENSE.html or http://ckeditor.com/license
5 -->
6 <html xmlns="http://www.w3.org/1999/xhtml">
7 <head>
8         <title>Replace Textarea by Code - CKEditor Sample</title>
9         <meta content="text/html; charset=utf-8" http-equiv="content-type" />
10         <script type="text/javascript" src="../../ckeditor.js"></script>
11         <link href="../sample.css" rel="stylesheet" type="text/css" />
12         <style type="text/css">
13                 body { margin: 10px ; }
14         </style></head>
15 <body>
16         <h1 class="samples">
17                 CKEditor - Adobe AIR Sample
18         </h1>
19         <p>
20                 This is a sample HTML/JavaScript Adobe AIR application with CKEditor with default features.
21         </p>
22         <p>
23                 <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
24                 <script type="text/javascript">
25                 //<![CDATA[
26
27                         // Replace the <textarea id="editor"> with an CKEditor
28                         // instance, using default configurations.
29                         CKEDITOR.replace( 'editor1' );
30
31                 //]]>
32                 </script>
33         </p>
34         <div id="footer" style="position:absolute;bottom:0;left:0;right:0;width:100%;padding-bottom:10px;">
35                 <hr />
36                 <p>
37                         CKEditor - The text editor for Internet - <a class="samples" href="#" onclick="window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://ckeditor.com/'));return false;">http://ckeditor.com</a>
38                 </p>
39                 <p id="copy">
40                         Copyright &copy; 2003-2011, <a class="samples" href="#" onclick="window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://cksource.com/'));return false;">CKSource</a> - Frederico
41                         Knabben. All rights reserved.
42                 </p>
43         </div>
44 </body>
45 </html>