Need help with an effect ^^ (beginner)

Need help with an effect ^^ (beginner)

 Hello there!

I've been trying to learn some jQuery over the past few days, I'm kinda new to this :)

==============================================================

Here's the thingie..

If you click a link (let's say this is linkA) a div appears by an effect (fadeIn)

(the div was first hidden > display: none;)

Now if you click a different link (let's call it linkB) the div from linkA disappears with the same effect (fadeOut) and the div from linkB opens (fadeIn)..

==============================================================

I can't figure out how to make this work..

It would be cool if someone could teach me how to do this :)


Thanks!