Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Joomla Bootstrap Mootools carousel conflict fix
- if (typeof jQuery != 'undefined' && typeof MooTools != 'undefined' ) {
- // both present , kill jquery slide for carousel class
- (function($) {
- $(document).ready(function(){
- $('.carousel').each(function(index, element) {
- $(this)[index].slide = null;
- });
- });
- })(jQuery);
- }
- jQuery('.carousel').carousel({
- interval: 3000
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement