Navigation Menu

Skip to content

Commit

Permalink
Re: Issue #153 ThemeSniffer: WP-Docs cleanup
Browse files Browse the repository at this point in the history
Re: Issue #153 ThemeSniffer: WP-Docs cleanup
  • Loading branch information
chipbennett committed Dec 29, 2018
1 parent 315ec27 commit 4191133
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
10 changes: 10 additions & 0 deletions js/oenology.fitvids.js
@@ -1,3 +1,13 @@
/**
* Oenology fitvids JS implementation
*
* This file includes fitvids.js integration for the Theme.
*
* @package Oenology
* @copyright Copyright (c) 2010, Chip Bennett
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
*/

jQuery(document).ready(function($){ jQuery(document).ready(function($){
// Target your .container, .wrapper, .post, etc. // Target your .container, .wrapper, .post, etc.
$(".post-entry").fitVids(); $(".post-entry").fitVids();
Expand Down
16 changes: 13 additions & 3 deletions js/oenology.tinynav.js
@@ -1,5 +1,15 @@
/**
* Oenology tinynav JS implementation
*
* This file includes tinynav.js integration for the Theme.
*
* @package Oenology
* @copyright Copyright (c) 2010, Chip Bennett
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
*/

jQuery(".nav-header").tinyNav({ jQuery(".nav-header").tinyNav({
active: 'current_page_item', // Set the "active" class for default menu active: 'current_page_item', // Set the "active" class for default menu.
label: '', // String: Sets the <label> text for the <select> (if not set, no label will be added) label: '', // String: Sets the <label> text for the <select> (if not set, no label will be added).
header: '' // String: Specify text for "header" and show header instead of the active item header: '' // String: Specify text for "header" and show header instead of the active item.
}); });

0 comments on commit 4191133

Please sign in to comment.