for example if you want to edit from db you need to use select query and get the data into a variable.
if you called the var text for example you need to do something like this[example is in php]-
$oFCKeditor->Value = $text ;
I want to use FCK to allow my client to edit her web pages. There's about 10 different pages that get edited (in HTML). Do I have to create a separate variable for each editable page?
Well if its by html I belive that you must do it 10 times,although php is much better for those stuff.
make a php file witch contains js ,select box and fckeditor. and when there is a change on select box you save the file was before,close it and load the selected one.
this way you dont need any page refreshes,its easy to work with.
Re: Confused
in the Value part insert the text you want.
for example if you want to edit from db you need to use select query and get the data into a variable.
if you called the var text for example you need to do something like this[example is in php]-
Re: Confused
I want to use FCK to allow my client to edit her web pages. There's about 10 different pages that get edited (in HTML). Do I have to create a separate variable for each editable page?
Re: Confused
make a php file witch contains js ,select box and fckeditor.
and when there is a change on select box you save the file was before,close it and load the selected one.
this way you dont need any page refreshes,its easy to work with.