close
♣梅問題‧教學網【Minwt】♣ |
Posted: 16 Oct 2016 03:00 PM PDT ![]() Step1 將下方的語法貼到</body>結尾的上方,而此語法主要的功能在於,當點了navbar的選單後,就會自動撃發navbar-toggle,這時選單就會自動的收合起來啦! $(function(){ $('.navbar a').on('click', function(){ $('.navbar-toggle').click(); }); }); ![]() Step2 儲存好後,當點選單鈕,將選單展開後,再點選單中的選項,就會自動將選單收合,並跳到指定的區塊中啦! ![]() [範例預覽] [範例下載] |
You are subscribed to email updates from 梅問題.教學網. To stop receiving these emails, you may unsubscribe now. |
Email delivery powered by Google |
Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
全站熱搜