{
    分享网正式开通,我们为大家提供免费资源,欢迎大家踊跃投稿!

jQuery仿百度新闻标签云关键词代码

jQuery仿百度新闻标签云关键词代码是一款扁平化风格带动画效果的百度新闻热搜新闻词标签云特效。


js代码


<script src="jquery/jquery-2.2.4.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(document).ready(function(){
	$('.divA1').eq($(this).index()).animate({top:'0'},5)
})
			$('li').mouseenter(function(){
		$(this).css('background-color','rgb(24,68,142)')
		$('.divA').eq($(this).index()).animate({top:'0'},300)
		$('.divA').eq($(this).index()).animate({top:'100%'},150)
		$('.divA1').eq($(this).index()).animate({top:'100%'},150)
		$(this).find('.divA2').animate({top:'100%'},300)
	})
	$('li').mouseleave(function(){
		$('.divA1').eq($(this).index()).animate({top:'0'},150)
		$('.divA').eq($(this).index()).animate({top:'-100%'},10)
		$(this).find('.divA2').animate({top:'0'},150)
		$(this).css('background','rgb(40,100,187)')
	})

</script>


在线预览
资源均来自第三方,谨慎下载,前往第三方网站下载


米微资源分享网 , 版权所有丨本站资源仅限于学习研究,严禁从事商业或者非法活动!丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:jQuery仿百度新闻标签云关键词代码
喜欢 ()分享 (0)