how to exlude id if it is a part of a class in a selection?

how to exlude id if it is a part of a class in a selection?

Hello,

i'm trying to exclude one identifier from a part of a class that i do a selection on, i cannot find how this is possible and if it is possible.

my code:

  1. <ul id="nav_menu_top" class="horizontaal_menu">
  2.       <li id="nav_home"><a href="#">Home</a></li>
  3.       <li id="nav_consult"><a href="#">Consulantancy</a></li>
  4.       <li id="nav_services" ><a href="#">services</a></li>
  5.       <li id="nav_foto" ><a href="#">fotografie</a></li>
  6.       <li id="nav_overons" ><a href="#">Over ons</a></li>
  7.     </ul>
jquery code: with the solution i thought was correct (bot its not working).
  1. $(".horizontaal_menu:not('#nav_home'), .menu_vert").click (function() {
  2.                                                            $(".menu_vert").fadeOut("normal");
  3.                                                            $("#tempcenter").css ("display", "none");
  4.                                                            $("#center, #left").css ("display", "inline");
  5.                                                            /*$.post('body.php', {}, function(data) {alert(data)});*/
  6.                                                            $("#center").load('body.php');
  7.                                                            });
Thank you