click event for add class

click event for add class

i'm try to create navigation like ibm.com.

  1. $(document).ready(function(){
      $(".home").click(function(){
          $("#toggleNav").show("slow");
          $(".home").removeClass('home').addClass("homeactive");
       
      });

    });

then i want to do, After clicked homeactive hide toggleNav

  1. $('.homeactive').live('click', function(){
  2.     alert ("ok");
  3.     });

but this is not working. I also try removing live.but not working. 

Please Any one can help me to do this navigation like IBM web site.

Thank You for your help.