Changing class on specific module
I've got a list of modules, and when I click on one of them it expands displaying the content. When you expand them, a little image on the right changes from a down arrow (v) to an up arrow (^), but it's changing on all of the modules rather than just the one.
Here is the website: http://lab.albionmedia.biz/clients/james
It's pretty obvious what my question is; how do I get it so the image only changes on the module that you expand?
Here's the code for the moduleToggle function:
- function moduleToggle() {
$('.content').hide();
$('.title').click(function() {
$(this).next().slideToggle('normal');
$('.module .title span').toggleClass('up');
});
}
Thank you for any replies!
C