Skip to content

Instantly share code, notes, and snippets.

@trosage
Created July 5, 2012 18:00
Show Gist options
  • Save trosage/3055253 to your computer and use it in GitHub Desktop.
Save trosage/3055253 to your computer and use it in GitHub Desktop.
$("#topic-tabs a").live("click", function(){
$("#topic-tabs a").removeClass("selected");
$(this).addClass("selected");
});
$(".topic-tab-all").live("click", function(){
$(".topic").show();
});
$(".topic-tab-design").live("click", function(){
$(".topic").hide();
$(".topic-design").show();
});
$(".topic-tab-dev").live("click", function(){
$(".topic").hide();
$(".topic-dev").show();
});
$(".topic-tab-ios").live("click", function(){
$(".topic").hide();
$(".topic-ios").show();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment