2006
was so bo liao sitting in the office this afternoon. so took the opportunity to give my blog a new skin for the coming new year ![]()
![]()
this skin is modified a bit based on Qwilm! theme from http://oriol.f2o.org/qwilm/
was so bo liao sitting in the office this afternoon. so took the opportunity to give my blog a new skin for the coming new year ![]()
![]()
this skin is modified a bit based on Qwilm! theme from http://oriol.f2o.org/qwilm/
好--累--啊!!!
没干什么呢,工作又不是很忙,怎么就觉得那么累呢???
由于project的需要,这两天在学CSS和其他一些WEB Standard的东西,还要学AJAX.
闷… 现在Web Developer也要做越来越多web design的东西了… 不过多学了一点东西是没有坏处滴,现在就发现CSS很有用,web design的潮流趋向于Designing Without Tables Using CSS。 用CSS而不是table来做网页的layout,好处就是比较灵活,每次改动page design的时候,只要去改动CSS file就行了。但也不是没有问题,其中一个问题就是标准兼容的问题,CSS的发展:CSS1 (level 1), CSS2.1 (level 2 revision 1) ,CSS3 (level 3) 不同的browsers (比如IE和Mozilla),甚至同样的browser不同的版本,对CSS标准的支持有微小的差别。因此在做design的时候要考虑到browser兼容的问题,有时候会有点头痛…
Chinese New Year快到了,顺便给blog换了个header image,图片是从Citibank的newsletter里偷来的~~
Finally my dear domain name www.xfai.net comes back liaoz~~ By now the 搬家 of my blog is completely finished:
Now http://blog.xfai.net is the main url to my blog while http://blog.xionghui.org is still accessible.
So guys, still keep your bookmark as http://blog.xfai.net ya~~
Juz upgraded my WordPress blog to be 2.0, which was released yesterday, the boxing day.
The upgrading progress is straightforward and fast (less than 5 mins). Here are the step-by-step instructions http://codex.wordpress.org/Upgrading_WordPress
Have no time to explore the new features with version 2.0. Will updated this post later.
Just added in another plugin ![]()
This one is from Priyadi
Now can put in Yahoo! IM-like smileys into the post and comment. Here are some examples:
![]()
Just spend some time to write a plugin to pull out the thumbnails of the latest 30 photos in my gallery and play them in a slideshow using javascript.
Actually there is some “Official” plugin to link Wordpress and Gallery2. However it is just not working for me… Feeling it’s too complicated also, I just wrote one for myself.
![]()
Here is the UTF-8 version:
Note:
If the string is UTF-8 encoded, 1 Chinese Character is with length 3 if using PHP strlen().
If the string is GB encoded, 1 Chinese Character is with length 2 if using PHP strlen().
For example:
$str = “Hello你好么”;
print utf8_strlen2($str); // print 8
utf8_substr2($str, 0, 6); // print “Hello你”
/***********Start of Code ***************/
function utf8_substr2($str,$start) {
Just now encountered a problem while using PHP to send out email with Japanese subject line. The Japanese subject line is not properly encoded although I have set the encoding in the email header:
I searched the Google and found something useful. Continue reading »
Recent Comments