Hi, I am trying to create a simple menu. Here is what I am trying to accomplish. When you click a link from a <li> list a div fades in on top of the list. When you click another link from the list I want previously faded in div to be replaced by new div. What I have now is all the links fades in randomly. Here is the code I have.
$(".rs-salads").click(function(){ $("#salad-panel").fadeIn("slow"); }); $(".rs-soups").click(function(){ $("#soup-panel").fadeIn("slow"); }); How should I change the code that does what I want. I have nine links on my list. Thank you very much in advance for the help. Jan