2008年11月22日星期六

成功地把表情换成洋葱头系列【附下载】

参照http://blog.nnickk.com/index.php?load=read&id=470,把表情都换成了洋葱头!看起来舒服多了!



1.下載附件。(去http://blog.nnickk.com/index.php?load=read&id=470下载,或者在本站下载,下面有)
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 ;

大功告成。

舒服多了!



以防万一,把表情包传上来。

onion.rar