http://techansh.com/git-projects/jqMenuClick/index.html
-
Include jQuery:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
-
Include plugin's code:
<script src="js/jqMenuClick.js"></script>
-
Keep the news data div and list of news in html
<h3 id="aboutMenuMobile"> About <span class="glyphicon glyphicon-chevron-down" ></span></h5>
-
Call the plugin:
$(function () { $('#aboutMenuMobile').menuClick({ // set values and custom functions menuExpandedClass:"glyphicon glyphicon-chevron-up", menuCollapseClass:"glyphicon glyphicon-chevron-down", }); });
Please file issues on Github : https://github.com/jayeshmagare/jqMenuClick/issues
MIT License http://opensource.org/licenses/MIT
Copyright 2014 Jayesh Magare