Created
April 17, 2013 08:40
-
-
Save sairion/5402777 to your computer and use it in GitHub Desktop.
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
/* | |
* | |
* Plugin Name: Show Submenu Context in Indexhibit Website | |
* Author: Jaeho Lee (http://jayhello.com , http://rowsandcolumns.com) | |
* Version: 0.1 | |
* Description: Find submenu context by hash-sanitized location.href | |
* | |
*/ | |
$("#index a").each(function(){ | |
if($(this).attr("href")==location.href.split("#")[0]){ | |
$(this).parent().show() | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment