Skip to content

Instantly share code, notes, and snippets.

@gamanox
Created May 16, 2013 17:20
Show Gist options
  • Save gamanox/5593425 to your computer and use it in GitHub Desktop.
Save gamanox/5593425 to your computer and use it in GitHub Desktop.
case
case '/believes/opencase?id=' + $.address.parameter('id'):
$("#subMenu ul:not(.subMenuBelieve)").fadeOut(function(){
$(".subMenuBelieve").fadeIn(800);
});
$('#mainMenu li:eq(1)').addClass("link_active").siblings().removeClass("link_active");
$('.actived').removeClass('actived');
$('.sm_generalmarket').addClass('actived');
$.ajax({
url: event.path,
data: "id=" + $.address.parameter('id')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment