Does anyone know how I can animate and then hide based on a condition? As an example I want a link on my index page to show the sub-headings (i.e. click about us and then see a group of links showing contact us, our service, etc.).
Usually when I do this I have a condition to show the group only if I hover over the text and the group. Then if the user is not doing this they do not see the subgroup. I now have added animate first but if I click the link and do not hover then leave over the subheadings the group stays there.
Any clue on how I can solve this?