Topic: Why does mdb.js have to be in the body tag
Robert McIntosh pro asked 7 years ago
Robert McIntosh pro answered 6 years ago
chrisvv pro answered 6 years ago
Robert McIntosh pro answered 7 years ago
$(document).ready(function() {});
it appears to work just fine in the header tag.
//Initialization
$(document).ready(function () {
Waves.attach('.btn, .btn-floating', ['waves-light']);
Waves.attach('.view .mask', ['waves-light']);
Waves.attach('.waves-light', ['waves-light']);
Waves.attach('.navbar-nav a, .nav-icons li a, .navbar form, .nav-tabs .nav-item', ['waves-light']);
Waves.attach('.navbar-brand', ['waves-light']);
Waves.attach('.pager li a', ['waves-light']);
Waves.attach('.pagination .page-item .page-link', ['waves-effect']);
Waves.init();//Preloading script
});
Robert McIntosh pro answered 7 years ago
Bartłomiej Malanowski staff answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No