仿qq左侧导航栏,点击可以左右展开,html5+css3+js右侧导航菜单悬浮层,鼠标悬浮展开全部,鼠标离开恢复到初始收缩状态。
悬浮层菜单
<div class="box">
<a href='#'><span>0</span>Flash素材</a>
<a href='#'><span>1</span>菜单导航</a>
<a href='#'><span>2</span>时间日期</a>
<a href='#'><span>3</span>焦点图</a>
<a href='#'><span>4</span>tab标签</a>
<a href='#'><span>5</span>jquery特效</a>
<a href='#'><span>6</span>在线客服</a>
<a href='#'><span>7</span>广告代码</a>
<a href='#'><span>8</span>相册代码</a>
<a href='#'><span>9</span>图片特效</a>
<a href='#'><span>10</span>名站特效</a>
<a href='#'><span>11</span>视频播放</a>
<a href='#'><span>12</span>其他代码</a>
</div>
$(function() {
var timer = null;
$(".box").mouseenter(function() {
clearTimeout(timer);
var that = $(this);
timer = setTimeout(function() {
that.find("a").each(function(index, ele) {
setTimeout(function() {
$(ele).stop().animate({right: 0}, 200);
}, 50 * index);
})
}, 200)
}).mouseleave(function() {
if (timer) {
clearTimeout(timer);
}
$(this).find("a").each(function(index, ele) {
setTimeout(function() {
$(ele).stop().animate({right: -110}, 200);
}, 50 * index);
})
})
})
系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791