0
當用戶在<li>
中點擊<a>
時,我想讓腳本隱藏navbars
。怎麼做?jquery mmenu如何動態地隱藏navbars
navbars: [
{
position: 'top',
content: ['<div>.........</div>']
},
{
position: 'bottom',
content: ['<div>.........</div>']
}
]
.on('click', 'a[href^="#"]', function (e) {
//do some thing here
});
那是解決問題了嗎? – SKG