Created
May 1, 2012 11:47
-
-
Save airpwn/2567544 to your computer and use it in GitHub Desktop.
general
This file contains hidden or 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
jQuery(document).ready(function(){ | |
jQuery(".tab:not(:first)").hide(); | |
//to fix u know who | |
jQuery(".tab:first").show(); | |
jQuery(".htabs a").click(function(){ | |
stringref = jQuery(this).attr("href").split('#')[1]; | |
jQuery('.tab:not(#'+stringref+')').hide(); | |
if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") { | |
jQuery('.tab#' + stringref).show(); | |
} | |
else | |
jQuery('.tab#' + stringref).fadeIn(); | |
return false; | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment