网上有些网站用揭露来形容,个人认为只能用公示较为贴切,虽然资产达数百万美元,一个总统有这么多钱也正常,最起码还让人知道。



赖昌星这B就该死

|

赖昌星在2011年7月23日回国,经过将近一年的审理,有结果了。


中国广播网讯:

在厦门市中级人民法院依法公开宣判。法院认定,赖昌星犯走私普通货物罪,判处无期徒刑,剥夺政治权利终身,并处没收个人全部财产;犯行贿罪,判处有期徒刑十五年,并处没收个人财产人民币二千万元,两罪并罚,决定执行无期徒刑,剥夺政治权利终身,并处没收个人全部财产;赖昌星的违法犯罪所得依法予以追缴。

当我使用别人的模板发现评论回复总会显示好几个,模板一样,怎么出现这样的情况,想了半天只好网上查查看,还研究了半天代码,原来这个就是wordpress 评论深度设置。



将以下代码放到function.php中,

//根据标签ID获取文章数

function get_tag_post_count_by_id( $tag_id ) {

$tag = get_term_by( 'id', $tag_id, 'post_tag' );
_make_cat_compat( $tag );
return $tag->count;
}

//根据标签别名获取文章数

function get_tag_post_count_by_slug( $tag_slug ) {

$tag = get_term_by( 'slug', $tag_slug, 'post_tag' );

_make_cat_compat( $tag );

return $tag->count;

}

淘宝客api搜索服务有利于一些返利网站搜索比价网站,淘宝限制不提供这个服务总归有他的理由,其实说白了就应该在淘宝搜索,这样子每个购物网站都能搜索,可能有很大部分的流量流失了,因此淘宝可能需要挽回这些用户,而不是用户直接去淘宝购买下走人,这样对淘宝人气也不是很好,起码一些广告少人看了。

今天找了这个,测试了,可用,又需要的用用看看,style自己修改下
兼容性很好的TAB选项卡,兼容目前常用的IE,FF,Opera,Safari,Chrome等各种浏览器,它的扩展也非常好,可以无限制在同一页面上添加任意个选项卡,而并不需要增加过多的代码。

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>兼容性好的TAB选项卡(IE,FF,Opera,Safari,Chrome)</title>
<style type="text/css">
#tab_container1{width:600px;text-align:left;}
.cls_tab_nav{height:26px;overflow:hidden;font-size:12px;text-align:left;background:url(http://www.codefans.net/jscss/demoimg/tabs/line_bg.jpg) repeat-x bottom;}
.cls_tab_nav ul{font-size:9pt;margin:0;padding:0;}
.cls_tab_nav_li{background:url(http://www.codefans.net/jscss/demoimg/tabs/tab_bg.jpg) no-repeat -157px 0;width:157px;height:26px;line-height:26px;float:left;display:inline;overflow:hidden;text-align:center;cursor:pointer;}
.cls_tab_nav_li_first{background-position:0px 0px;}
.cls_tab_nav_li a{text-decoration:none;color:#555;font-size:12px;}
.cls_tab_body{border:1px solid #FFAE1E;border-top:none;min-height:260px;padding:20px;}
.cls_div{display:none;font-size:14px;}
</style>


<div id="tab_container1">
 <div class="cls_tab_nav">
  <ul>
   <li class="cls_tab_nav_li cls_tab_nav_li_first"><a href="/">最新更新</a></li>
   <li class="cls_tab_nav_li"><a href="/sort/list_1_1.shtml">ASP类更新</a></li>
   <li class="cls_tab_nav_li"><a href="#">C#类更新</a></li>
  </ul>
 </div>
 <div class="cls_tab_body">
  <div class="cls_div" style="display:block;">这里是最新更新的显示内容</div>
  <div class="cls_div">ASP的内容</div>
  <div class="cls_div">C#的内容/</div>
 </div>
</div>
<script type="text/javascript">
try{
 document.execCommand("BackgroundImageCache", false, true);
}catch(e){}
function $(element){
 if(arguments.length>1){
  for(var i=0,elements=[],length=arguments.length;i<length;i++)
   elements.push($(arguments[i]));
  return elements;
 }
 if(typeof element=="string")
  return document.getElementById(element);
 else
  return element;
}
var Class={
 create:function(){
  return function(){
   this.initialize.apply(this,arguments);
  }
 }
}
Object.extend=function(destination,source){
 for(var property in source){
  destination[property]=source[property];
 }
 return destination;
}
var tabMenu=Class.create();
tabMenu.prototype={
 initialize:function(container,selfOpt,otherOpt){
  this.container=$(container);
    var selfOptions=Object.extend({fontWeight:"bold",fontSize:"12px",color:"#FFBC44"},selfOpt||{});
  var otherOptions=Object.extend({fontWeight:"normal",fontSize:"12px",color:"#666"},otherOpt||{});
  //用for循环得到objs数组,主要是为了兼容非IE浏览器把空白也当作子对象
  for(var i=0,length=this.container.childNodes.length,objs=[];i<length;i++){
   if(this.container.childNodes[i].nodeType==1)
    objs.push(this.container.childNodes[i]);
  }
  var tabArray=objs[0].getElementsByTagName("li");
  //用for循环得到divArray数组,主要是为了兼容非IE浏览器把空白也当作子对象
  var divArray=new Array();
  for(i=0,length=objs[1].childNodes.length;i<length;i++){
   if(objs[1].childNodes[i].nodeType==1)
    divArray.push(objs[1].childNodes[i]);
  }
  for(i=0,length=tabArray.length;i<length;i++){
   tabArray[i].length=length;
   tabArray[i].index=i;
   tabArray[i].onmouseover=function(){
    //其它选项卡样式设置
    for(var j=0;j<this.length;j++){
     tabArray[j].style.backgroundPosition="-"+tabArray[j].offsetWidth+"px 0";
     for(var property in selfOptions){
      tabArray[j].firstChild.style[property]=otherOptions[property];
     }
    }
    //当前选项卡样式
    this.style.backgroundPosition="0 0";
    for(var property in selfOptions){
     this.firstChild.style[property]=selfOptions[property];
     /*
      注意this.style.property和selfOptions.property的用法错误
      style.fontWeight正确
      style["fontWeight"]正确
      style["font-weight"]错误
     */
    }
    //隐藏其它选项卡
    for(j=0;j<this.length;j++){
     divArray[j].style.display="none";
    }
    //显示当前选项卡
    divArray[this.index].style["display"]="block";
   }
  }
 }
}
var tab1=new tabMenu("tab_container1",{fontSize:"14px",color:"#FFBC44",fontWeight:"bold"},{fontWeight:"normal",color:"#666"});
</script>



预览如下:
http://www.google.com.hk/logos/2012/mothersday12-hp-s.png 发这种文章确实没有意义,但我愿意跟随谷哥了解过去、了解知识、并且能给人祝福,让我都能健康快乐的过完此生。


Archives

Ads by google

Pages

Powered by Movable Type 4.24-en

Find recent content on the main index or look in the archives to find all content.