| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
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-2010, 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>Shared toolbars - 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 <script src="sample.js" type="text/javascript"></script> 12 <link href="sample.css" rel="stylesheet" type="text/css" /> 13 <style id="styles" type="text/css"> 14 15 #editorsForm 16 { 17 height: 400px; 18 overflow: auto; 19 border: solid 1px #555; 20 margin: 10px 0; 21 padding: 0 10px; 22 } 23 24 </style> 25 </head> 26 <body> 27 <h1> 28 CKEditor Sample 29 </h1> 30 <!-- This <div> holds alert messages to be display in the sample page. --> 31 <div id="alerts"> 32 <noscript> 33 <p> 34 <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript 35 support, like yours, you should still see the contents (HTML data) and you should 36 be able to edit it normally, without a rich editor interface. 37 </p> 38 </noscript> 39 </div> 40 <div id="topSpace"> 41 </div> 42 <form action="sample_posteddata.php" id="editorsForm" method="post"> 43 <p> 44 <label for="editor1"> 45 Editor 1 (uses the shared toolbar and element path):</label><br /> 46 <textarea cols="80" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> 47 </p> 48 <p> 49 <label for="editor2"> 50 Editor 2 (uses the shared toolbar and element path):</label><br /> 51 <textarea cols="80" id="editor2" name="editor2" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> 52 </p> 53 <p> 54 <label for="editor3"> 55 Editor 3 (uses the shared toolbar only):</label><br /> 56 <textarea cols="80" id="editor3" name="editor3" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> 57 </p> 58 <p> 59 <label for="editor4"> 60 Editor 4 (no shared spaces):</label><br /> 61 <textarea cols="80" id="editor4" name="editor4" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> 62 </p> 63 <p> 64 <input type="submit" value="Submit" /> 65 </p> 66 </form> 67 <div id="bottomSpace"> 68 </div> 69 <div id="footer"> 70 <hr /> 71 <p> 72 CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a> 73 </p> 74 <p id="copy"> 75 Copyright © 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico 76 Knabben. All rights reserved. 77 </p> 78 </div> 79 <script type="text/javascript"> 80 //<![CDATA[ 81 82 // Create all editor instances at the end of the page, so we are sure 83 // that the "bottomSpace" div is available in the DOM (IE issue). 84 85 CKEDITOR.replace( 'editor1', 86 { 87 sharedSpaces : 88 { 89 top : 'topSpace', 90 bottom : 'bottomSpace' 91 }, 92 93 // Removes the maximize plugin as it's not usable 94 // in a shared toolbar. 95 // Removes the resizer as it's not usable in a 96 // shared elements path. 97 removePlugins : 'maximize,resize' 98 } ); 99 100 CKEDITOR.replace( 'editor2', 101 { 102 sharedSpaces : 103 { 104 top : 'topSpace', 105 bottom : 'bottomSpace' 106 }, 107 108 // Removes the maximize plugin as it's not usable 109 // in a shared toolbar. 110 // Removes the resizer as it's not usable in a 111 // shared elements path. 112 removePlugins : 'maximize,resize' 113 } ); 114 115 CKEDITOR.replace( 'editor3', 116 { 117 sharedSpaces : 118 { 119 top : 'topSpace' 120 }, 121 122 // Removes the maximize plugin as it's not usable 123 // in a shared toolbar. 124 removePlugins : 'maximize' 125 } ); 126 127 CKEDITOR.replace( 'editor4' ); 128 //]]> 129 </script> 130 </body> 131 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |