Files
growstuff/app/assets/javascripts/foundation/app.js
2012-09-15 11:12:05 +01:00

23 lines
845 B
JavaScript

(function ($) {
$(function(){
$(document).foundationAlerts();
$(document).foundationButtons();
$(document).foundationAccordion();
$(document).foundationNavigation();
$(document).foundationCustomForms();
$(document).foundationMediaQueryViewer();
$(document).foundationTabs({callback:$.foundation.customForms.appendCustomMarkup});
$(document).tooltips();
$('input, textarea').placeholder();
// UNCOMMENT THE LINE YOU WANT BELOW IF YOU WANT IE8 SUPPORT AND ARE USING .block-grids
// $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'both'});
// $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'both'});
// $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'both'});
// $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'both'});
});
})(jQuery);