
joejac
Posts: 242
|
| Posted: 02/24/2008, 1:59 PM |
|
Hello, and nice day for all.
I have FCKeditor in 2 text area of a CCS3.2 maintenance.php file with a record form to change the content of the site. Those instances of the editor where working fine. Now I have decided to have a simple javascript image gallery, a few lines of code with an onload in the body tag. It works very nice at site level.
I copy paste the gallery code to the text area via HTML code, not using the editor WYGIWYS mode. When I go to this mode the gallery in the FCKeditor form looks ugly because the maintenance.php file with the FCKeditor do not have the javascript, but in the generated site looks fine.
1.- So I decided to place a call to the imggallery.js and gallerystyle.css files in the header of the maintenance.php file where the record form with the KCKeditor is and with the onload="gallery()" in the body tag.
Unfortunately the FCKeditor do not load. If I take out the onload="gallery()" it works.
Any Idea of how can this be resolved please?
2.- I am also beginning to use jQuery plugins, what precautions do I have to take in order not to have problems with FCKeditor instances, jQuery and custom javascript functions in my maintenance.php file?
Please bear in mind that I am not a javascript guy I only use ready made functions and libraries inside CCS3 to easy my work.
Thanks a lot for your help
Regards
joejac
|
 |
 |
|

|
|
|
|