[jQuery] Slide

[jQuery] Slide


Hi, I know very little about javascript and I hope someone can help me. I'm
trying to make image.gif button that toggles the Hide and Show script pasted
below. I read through the jQuery site and I think you are suppose to add
$("img").toggle(); to it, but I'm not sure exactly where. Thanks in advance.
$(document).ready(function(){
$("a.switch_show").click(function(){
$("div#hidden_shelf:hidden").slideDown("normal");
return false;
});
$("a.switch_hide").click(function(){
$("div#hidden_shelf:visible").slideUp("normal");
return false;
});
});
--
View this message in context: http://www.nabble.com/Slide-tf2184174.html#a6041079
Sent from the JQuery forum at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/