老规矩,先贴代码
<script> $(function(){ window.onload = function() { var $li = $('.taocan-title li'); var $ul = $('.taocan-content .con110'); $li.mouSEOver(function(){ var $this = $(this); var $t = $this.index(); $li.removeClass(); $this.addClass('active'); $ul.CSS('display','none'); $ul.eq($t).css('display','block'); }) } });</script>
新闻热点
疑难解答