hi..I 'm new to jquery and i'm making a dockable panel using jquery....the code z
$(
"#links").toggle(function () {
// alert("toggle");
$("#test").show()
$("#test").animate({ left: "2px" }, 200);
// $("#dock li ul").show();
// $(this).find("ul").animate({ left: "2px" }, 200);
},
function () {
// $("#dock li ul").hide();
// });
$("#test").animate({ left: "-180px" }, 200);
});
the problem is that i just want to hide the aniamtion on link click(
"#links"). only...but the animatin diasppears even if I click on region outside it....how to prevent it..
any help is appreciated..