I'm trying to integrate this into my existing system using the simple JavaScript way. Here is the source from the compiled page but all I see is my textarea moved down and nothing else.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Animal Shelter</title> <link href="htstyles/main.css" rel="stylesheet" type="text/css" /> <!--[if IE]> <style type="text/css"> /* place css fixes for all versions of IE in this conditional comment */ .kerr #sidebar1 { padding-top: 30px; } .kerr #mainContent { zoom: 1; padding-top: 15px; } /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */ </style> <![endif]--> <script type="text/javascript" src="scripts/fckeditor/fckeditor.js"></script> </head> <body class="aas" > <div id="container"> <div id="header"><h1></h1> <div id="menu"> <ul> <li><a href="?p=main" title="" >Home</a></li> <li><a href="?p=info" title="" >Information</a></li> <li><a href="#">Available Pets</a></li> <li><a href="?p=donate" title="" >Donate</a></li> <li><a href="?p=about" title="" >About Us</a></li> </ul> </div></div> <div id="mainContent"> <div> <form action="?p=admin/stat&task=add&send=y" method="post" name="add" id="mainForms" class="mainForms" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> <h1>Add Statistic Item</h1> <p><label for="item">Item</label><script type="text/javascript"> var oFCKeditor = new FCKeditor('item'); oFCKeditor.BasePath = "scripts/fckeditor/"; oFCKeditor.Create(); </script><textarea name="item" id="pageItem"></textarea></p> <input name="show" type="hidden" value="1" /> <input name="type" type="hidden" value="stat" /> <p><a href="#" id="savefile" onClick="javascript:document.add.submit()"></a></form></p> </div> </div><!--End Container DIV-->
Re: Not doing it right?