【发布时间】:2014-10-06 13:12:56
【问题描述】:
目前我正在这个网站上工作:goo.gl/NUD31R
问题是点击链接后子菜单一直没有展开。
这当然是放在 header.php 中的代码
<script>
$(document).ready(function(){
$('.menu .dropdown a').click(function(e){
if ($(this).parent().children('.sub-menu').is(':visible')) {
$(this).parent().children('.sub-menu').toggle();
} else {
$(this).parent().children('.sub-menu').toggle();
}
});
});
</script>
我想这只是一件小事,非常感谢您的帮助!谢谢!
【问题讨论】: