第92天:首页缩略图动态化,引用js时出现中文乱码的解决方法

2008-8-20 星期三

友吧首页“读吧”“玩吧”缩略图动态化

Ryan 今天完成了这一优化:鼠标经过“读吧”“玩吧”标题,缩略图随之变化。
JS 在 IE, FF, Opera 下测试通过。


引用js时出现中文乱码的解决方法

今天在新版 blog 内引用“友吧文荐”的 js 时出现乱码(新版 blog 使用 utf-8 编码)。网上查到在引用时加入如下参数,问题解决。

charset="gb2312"

不过用 google 在线翻译时,这样引用进来的内容却翻译不了。问了 Ryan,说暂时没有别的方法。


English log

A Tale from India

When Tiger jumped on Fox, Fox cried out, "How dare you attack the King of the Jungle!"

Tiger looked at him in amazement, "Nonsense! You are not King!"

"Certainly I am," replied Fox, "All the animals run from me in terror! If you want proof, come with me." Fox went into the forest with Tiger at his heels. When they came to a herd of deer, the deer saw Tiger behind Fox and ran in all directions.

They came to a group of monkeys. The monkeys saw Tiger behind Fox and they fled. Fox turned to Tiger and said, "Do you need more proof than that? See how the animals flee at the very sight me?!"

"I’m surprised, but I’ve seen it with my own eyes. Forgive me for attacking you, Great King." Tiger bowed low and with great ceremony he let Fox go.

RSS

上一篇:

下一篇:

发表评论

电子邮件地址不会被公开。 必填项已用*标注