jQuery下拉菜单插件Tendina
jQuery下拉菜单插件Tendina是一款超级易用的jQuery插件,能够快速构建下拉菜单。jQuery下拉菜单二级菜单
jQuery插件
<script src="js/jquery-1.11.0.min.js"></script>
<script src="js/tendina.js"></script>
<script>
$('.dropdown').tendina({
animate: true,
speed: 500,
openCallback: function($clickedEl) {
console.log($clickedEl);
},
closeCallback: function($clickedEl) {
console.log($clickedEl);
}
})
</script>