This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
jQuery.fn.lightTabs = function(options){ | |
var createTabs = function(){ | |
tabs = this; | |
i = 0; | |
showPage = function(i){ | |
$(tabs).children("div").children("div").hide(); | |
$(tabs).children("div").children("div").eq(i).show(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('li').on('click', function() { | |
$('li').removeClass('active'); | |
$(this).addClass('active'); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (max-width:1281px) { | |
/* hi-res laptops and desktops */ | |
} | |
@media only screen and (max-width:1025px) { | |
/* big landscape tablets, laptops, and desktops */ | |
} | |
@media only screen and (max-width:961px) { | |
/* tablet, landscape iPad, lo-res laptops ands desktops */ |