<form action="../php/sampleposteddata.php" method="post" target="_blank"> <script type="text/javascript"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = '/fckeditor/' ;// '/fckeditor/' is the default value. var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath= sBasePath ; oFCKeditor.Height= 300 ; oFCKeditor.Value= '<p>This is some <strong>sample text<\/strong>. You are using <a