1.下載附加檔案。
2.上傳onion資料夾到 FCKeditor/editor/images/smiley/ 底下
3.修改fckconfig.js
xxx會因為版本不同而有所不同,所以不列出來。
找
FCKConfig.SmileyPath = xxx
FCKConfig.SmileyImages = xxx
FCKConfig.SmileyColumns = xxx
FCKConfig.SmileyWindowWidth = xxx
FCKConfig.SmileyWindowHeight = xxx
改成
//-----------洋蔥頭---------------//
FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/onion/' ;
FCKConfig.SmileyImages = ['onion001.gif','onion002.gif','onion003.gif','onion004.gif','onion005.gif','onion006.gif','onion007.gif','onion008.gif','onion009.gif','onion010.gif','onion011.gif','onion012.gif','onion013.gif','onion014.gif','onion015.gif','onion016.gif','onion017.gif','onion018.gif','onion019.gif','onion020.gif','onion021.gif','onion022.gif','onion023.gif','onion024.gif','onion025.gif','onion026.gif','onion027.gif','onion028.gif','onion029.gif','onion030.gif','onion031.gif','onion032.gif','onion033.gif','onion034.gif','onion035.gif','onion036.gif','onion037.gif','onion038.gif','onion039.gif','onion040.gif','onion041.gif','onion042.gif','onion043.gif','onion044.gif','onion045.gif','onion046.gif','onion047.gif','onion048.gif','onion049.gif','onion050.gif','onion051.gif','onion052.gif','onion053.gif','onion054.gif','onion055.gif','onion056.gif','onion057.gif','onion058.gif','onion059.gif','onion060.gif','onion061.gif','onion062.gif','onion063.gif','onion064.gif','onion065.gif','onion066.gif','onion067.gif','onion068.gif','onion069.gif','onion070.gif','onion071.gif' ] ;
FCKConfig.SmileyColumns = 12 ;
FCKConfig.SmileyWindowWidth = 750 ;
FCKConfig.SmileyWindowHeight = 550 ;
//-----------/洋蔥頭---------------//