mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-09-18 04:56:47 +00:00
20 lines
889 B
JavaScript
20 lines
889 B
JavaScript
|
/*! Plugin options and other jQuery stuff */
|
||
|
|
||
|
// Responsive Nav
|
||
|
var navigation = responsiveNav("#site-nav", { // Selector: The ID of the wrapper
|
||
|
animate: true, // Boolean: Use CSS3 transitions, true or false
|
||
|
transition: 400, // Integer: Speed of the transition, in milliseconds
|
||
|
label: "<i class='icon-reorder'></i> Menu", // String: Label for the navigation toggle
|
||
|
insert: "before", // String: Insert the toggle before or after the navigation
|
||
|
customToggle: "", // Selector: Specify the ID of a custom toggle
|
||
|
openPos: "relative", // String: Position of the opened nav, relative or static
|
||
|
jsClass: "js", // String: 'JS enabled' class which is added to <html> el
|
||
|
init: function(){}, // Function: Init callback
|
||
|
open: function(){}, // Function: Open callback
|
||
|
close: function(){} // Function: Close callback
|
||
|
});
|
||
|
|
||
|
// FitVids options
|
||
|
$(function() {
|
||
|
$("article").fitVids();
|
||
|
});
|