日期:2014-05-16 浏览次数:20367 次
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<title>无标题文档</title>
<style type="text/css">
.il{display:inline-block;}
.h25{;height:25px;line-height:25px;overflow:hidden}
.newbox{width:600px;overflow:hidden;}
.newbox ul{margin:0;padding:0;width:inherit;background-color:#ddd}
.newbox li{width:100%;}
.newbox li a{width:80%}
.newbox li span{width:20%;text-align:center;}
#moreanchor{display:none}
</style>
</head>
<body>
<div class="newbox">
<ul>
<li><a class="il h25" href="javascript:;">新疆巴楚"4 23"暴力恐怖案件一审宣判 2人获死刑</a><span class="il h25">2013年08月12日</span></li>
</ul>
<a id="moreanchor" href="javascript:;">更多</a>
</div>
<script type="text/javascript">
jQuery(function($){
$('.newbox ul').hover(
function () {
$('#moreanchor').show();
},
function () {
$('#moreanchor').hide();
}
);
});
</script>
</body>
</html>