<?php
include_once("fckeditor/fckeditor.php") ;
?>
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<form action="sampleposteddata.php" method="post" target="_blank">
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = 'fckeditor/';
$oFCKConfig->CustomConfigurationsPath = 'fckconfig.js' ;
$oFCKeditor->Value = '' ;
$oFCKeditor->Create() ;
?>
<br>
<input type="submit" value="Submit">
</form>
</body>
</html>
To mi je kod. Kako cu odrediti height i width. Width je 100%, gdje mogu editovat. Vidim u fckeditor.js ima:
this.Width = width || '100%' ;
this.Height = height || '300' ;
Ali nigdje mi to nije included ili tako nesto. Tnx.
edit: Nemanja: Kod u [code] tagove!
[Ovu poruku je menjao Nemanja Avramović dana 10.02.2008. u 00:23 GMT+1]