On Oct 10, 2006, at 12:18, Hannah Gray wrote: > This is probably a very simple question, and I may be going about > the problem entirely the wrong way. Corrections and ideas are very > welcome.
Try something like: -cut- $("#toggle_name").toggle(function(e) { $('#container_name:visible').hide('slow'); $('#toggle_name').src('assets/images/expand.gif') }, function(e) { $('#container_name:hidden').show('slow'); $('#toggle_name').src('assets/images/retract.gif'); }); -cut- -- Mika Tuupola http://www.appelsiini.net/~tuupola/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/