Ticket #8226: ajax_main.html
| File ajax_main.html, 1.5 KB (added by , 14 years ago) |
|---|
| Line | |
|---|---|
| 1 | |
| 2 | <html> |
| 3 | <head> |
| 4 | <script type="text/javascript" src="prototype.js"></script> |
| 5 | <script type="text/javascript" src="ckeditor/ckeditor_source.js"></script> |
| 6 | </head> |
| 7 | <body> |
| 8 | |
| 9 | <div id='mydiv'> |
| 10 | |
| 11 | <input type='hidden' class='cms_ck_name_hidden_input' value='myfield'> <textarea name="myfield" rows="8" cols="60"><p>Test Text</p></textarea> |
| 12 | <script type="text/javascript">//<![CDATA[ |
| 13 | window.CKEDITOR_BASEPATH='ckeditor/'; |
| 14 | //]]></script> |
| 15 | <script type="text/javascript" src="ckeditor/ckeditor_source.js?t=B5GJ5GG"></script> |
| 16 | <script type="text/javascript">//<![CDATA[ |
| 17 | CKEDITOR.replace('myfield', {"toolbar":[["Source","DocProps","-","Save","NewPage","Preview","-","Templates"],["Cut","Copy","Paste","PasteText","PasteWord","-","Print","SpellCheck"],["Undo","Redo","-","Find","Replace","-","SelectAll","RemoveFormat"],["Bold","Italic","Underline","Strike","-","Subscript","Superscript"],["NumberedList","BulletedList","-","Outdent","Indent"],["JustifyLeft","JustifyCenter","JustifyRight","JustifyFull"],["Link","Unlink","Anchor"],["Image","Flash","Table","HorizontalRule","Smiley","SpecialChar","PageBreak"],["Form","Checkbox","Radio","TextField","Textarea","Select","Button","ImageButton","HiddenField"],"\/",["Style","Font","FontName","FontSize"],["TextColor","BGColor"],["About"]],"width":"99%","height":"250%"}); |
| 18 | //]]></script> |
| 19 | |
| 20 | </div> |
| 21 | |
| 22 | |
| 23 | <h2> |
| 24 | <a href='#' onclick="new Ajax.Updater('mydiv', 'ajax_div.html', {'method':'get', 'evalScripts':true}); return false;">Do Ajax Update</a> |
| 25 | </h2> |
| 26 | |
| 27 | |
| 28 | </body> |
| 29 | </html> |
| 30 |
