hi im trying to take the first example that comes with fckeditr in folder :
\fckeditor\_samples\html\sample01.html
and put it "alone" next to the fckeditor folder so ill have for example :
c:\fckeditor
and
c:\sample01.html
but.... i have no idea what im supose to write here:
// 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')) ;
where should i point the sBasePath to?
i tried:
/fckeditor/
fckeditor/
fckeditor/_samples
but none worked
please help
thank you
\fckeditor\_samples\html\sample01.html
and put it "alone" next to the fckeditor folder so ill have for example :
c:\fckeditor
and
c:\sample01.html
but.... i have no idea what im supose to write here:
// 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')) ;
where should i point the sBasePath to?
i tried:
/fckeditor/
fckeditor/
fckeditor/_samples
but none worked
please help
thank you
Re: help making a fckeditor object outside fckeditor folder