One of the requirement I had for an accordion implementation was that
it toggle an image in the title tag when it's content was shown or
hidden. So I put this into the function for showing an item.

jQuery('img',thisDT).each(function(){
        this.src = this.src.replace(/_hide/,'_show');
});

thisDT is the title element. Then you're only required to use image
names like "nav_show.png" and "nav_hide.png" for them to toggle along
with the menu. It could be more configurable, but I was in a situation
where I was able to easily force a convention, so I did :)

Paul

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to