这个BUG在IE6/IE7上才会
.sf-menu, .sf-menu * {
margin:0;
padding:0;
list-style:none;
z-index:9999999 !important; /* 加上这一行就能解决叠层问题 */
}
这个BUG在IE6/IE7上才会
.sf-menu, .sf-menu * {
margin:0;
padding:0;
list-style:none;
z-index:9999999 !important; /* 加上这一行就能解决叠层问题 */
}
blog荒废了好长一段时间,这几天更新到Wordpress 3.0版本,之前的主题也用了三年多,是时候换换,在newwpthemes.com下载了这个名为Estetica的三列版式主题,修改了一下后换上,感觉挺不错的。
最近在写一个yupoo应用,基于ajax的,所以需要将xml转换为json,在网上搜索后找到两个不错的类
PHP服务端的XMLtoJSON
<?php
require_once("xml2json.php");
echo Xml2json::transformXmlStringToJson(xml_data);
?>
<!-- HTML --> <head> <script type="text/javascript" src="xml2json.js"></script> ... </head>
// Javascript // A simple call - myXML is a string containing your XML: myJsonObject=xml2json.parser(myXML); // A 2:nd, optional, parameter is "tags not to convert" - for example <b> and <i>: myJsonObject=xml2json.parser(myXML,'b,i'); // A 3:rd, optional, parameter gives us a string showing us the JSON structure // instead of the actual JSON object: myString=xml2json.parser(myXML,'','html'); // - use "compact" for output without linebreaks or tabbing // - use "normal" for output with linebreaks and tabbing // - use "html" for a html representation
近期yupoo进行过一次升级,升级后很多相关的插件程序都有问题,我已经在yupoo官方询问过,待官方回复后,我再进行修正和升级,如果时间允许,可能会重新再写个,有使用我这个Flash相册的朋友可以多关注一下
用wordpress才几个月,还没试过升级,我直接就上传了新版本,打开blog后居然都是错误
,没办法,只能还原到老版本,禁用全部插件,再重新升级,一切OK啦! ![]()
升级后感觉还是不错的,把一些插件也都升级了,下面是我现在2.3.1所使用的插件列表
Advanced-Admin-Menus
aLinks
Category Order
Dean's Permalinks Migration
Download Counter
GeSHi
Google XML Sitemaps
Quotmarks Replacer
Similar Posts
Simple Tags
Spam Karma 2
wp-cache
WP-PageNavi
WP-PostRatings
WP-SWFObject
WP Grins
装了WP没多久,就经常有国外的垃圾评论,后来设置了评论审核,但天天审核评论也不是一件容易的事,索性装个插件,不包括中文字符的直接视为垃圾评论