All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.docs.assets.js.app.js Maven / Gradle / Ivy

Go to download

Touch enabled jQuery plugin that lets you create beautiful responsive carousel slider.

The newest version!
$(document).ready(function(){

	// responsive nav
	var responsiveNav = $('#toggle-nav');
	var navBar = $('.nav-bar');

	responsiveNav.on('click',function(e){
		e.preventDefault();
		console.log(navBar);
		navBar.toggleClass('active')
	});

	// pseudo active
	if($('#docs').length){
		var sidenav = $('ul.side-nav').find('a');
		var url = window.location.pathname.split( '/' );
		var url = url[url.length-1];
		
		sidenav.each(function(i,e){
			var active = $(e).attr('href');

			if(active === url){
				$(e).parent('li').addClass('active');
				return false;
			}
		});
	}

});

hljs.configure({tabReplace: '  '});
hljs.initHighlightingOnLoad();




© 2015 - 2024 Weber Informatics LLC | Privacy Policy