JTB_MD includes several js plugins and options to make your design much more powerful and stable.
Even the JTB_MD does not need any 3rd party plugins; it is important to include jQuery files while initializing the jtb_md.js. Since we wrote some of our scripts in jQuery; this part is crucial for evading minimal or fatal problems. To include it, you can use the following code or go to jQuery website and include your desired one.
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
The library itself has several plugins which allow their users to create more interactive designs. The following table shows the plugins that we have actively included to JTB_MD.
|Plugin for||File name||Usage manual|
It is possible to disallow the plugins (specific or all) via jtb_md.js file. There is a specific variable which called plugins includes all active plugins (which will be included on page loading). If you remove the desired plugin from this array; JTB_MD won't initialize the specific plugin...
/*----- Comment out or delete the unwanted plugins in this variable in jtb_md.js -----*/ var plugins = [ 'alert.js', //jtbAlert Plugin 'card.js', //jtbCard Plugin 'collapse.js', //jtbCollapse Plugin . . ]
For each plugin, you can reach the plugin version you are currently inluding via following:
$.fn.pluginName.defaults._vers // -> '0.0.1'