I have two sliding panels. I need ONLY ONE panel open at a time. Right now they can both open. My project link is: link text
Here is my code:
$(document).ready(function(){
$(".btn-slide").click(function(){
$("#panel_quote").slideToggle("slow");
$(this).toggleClass("closeQ"); return false;
});
});
$(document).ready(function(){
$(".btn-slide2").click(function(){
$("#panel_login").slideToggle("slow");
$(this).toggleClass("closeL"); return false;
});
});