Created
December 16, 2011 00:23
-
-
Save dhg/1483706 to your computer and use it in GitHub Desktop.
Test for Skeleton
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
$(document).ready(function() { | |
/* Tabs Activiation | |
================================================== */ | |
var tabs = $('ul.tabs'); | |
tabs.each(function(i) { | |
//Get all tabs | |
var tab = $(this).find('> li > a'); | |
tab.click(function(e) { | |
//Get Location of tab's content | |
var contentLocation = $(this).attr('href'); | |
//Let go if not a hashed one | |
if(contentLocation.charAt(0)=="#") { | |
} | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment