<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<style>
#win_but, #web_but, #and_but { list-style-type: none; display: inline;}
div { display:none; }
#win { display:none; )
{ display:none; }
li { display:inline-block; list-style-type: none;}
textarea { width: 900px; height: 250px; }
</style>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.js"></script>
<script type="text/javascript" src="ckeditor.js"></script>
<!-- /TinyMCE -->
<body>
<ul>
<textarea cols="80" id="editor_kama" name="editor_kama" rows="10" cols="20"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
<script type="text/javascript">
//<![CDATA[
CKEDITOR.replace( 'editor_kama',
{
skin : 'kama'
});
//]]>
</script>
<li id="win_but"><input type="button" value="Windows"></li>
<li id="web_but"><input type="button" value="Web Development"></li>
<li id="and_but"><input type="button" value="Android"></li>
</ul>
<!-- Form --->
<div id="win">
<form action="test.php" method="post">
<select name="windows">
<option value="tut_win7">Windows 7</option>
<option value="tut_vista">Windows Vista</option>
<option value="tut_xp">Windows XP</option>
</select>
<input type="submit">
</form>
</div>
<div id="web">
<form action="test.php" method="post">
Topic: <select name="web_development">
<option value="tut_html">HTML</option>
<option value="tut_php">PHP</option>
<option value="tut_css">CSS</option>
</select>
<br /><br />
Name: <input type="text"><br /><Br />
Icon: <input type="file"><br />
<br />
Post: <Br />
<textarea name="post" cols="100" rows="20"></textarea>
<br />
<input type="submit">
</form>
</div>
<div id="and">
<form action="test.php" method="post">
Topic: <select name="android">
<option value="tut_tab">Tablet</option>
</select>
<br /><br />
Name: <input type="text" name="name"><br /><Br />
Icon: <input type="file" name="icon"><br />
<br />
Post: <Br />
<br />
<br />
<input type="submit">
</form>
</div>
<script>
$("#win_but").click(function () {
$("ul").fadeOut(500, function () {
});
$("#win").fadeIn(3000, function () {
});
});
$("#web_but").click(function () {
$("ul").fadeOut(500, function () {
});
$("#web").fadeIn(3000, function () {
});
});
$("#and_but").click(function () {
$("ul").fadeOut(500, function () {
});
$("#and").fadeIn(3000, function () {
});
});
</script>
</body>
</html>
Thu, 01/19/2012 - 21:49
#1

Re: Buttons on toolbar not appearing
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Buttons on toolbar not appearing
Re: Buttons on toolbar not appearing
<html> <head> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.js"></script> <script type="text/javascript" src="ckeditor.js"></script> </head> <body> <textarea cols="80" id="editor_kama" name="editor_kama" rows="10" cols="20"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> <script type="text/javascript"> //<![CDATA[ CKEDITOR.replace( 'editor_kama', { skin : 'kama' }); //]]> </script> </body> </html>