I’m looking for a jQuery solution for this. When I click, let’s say on a artist name. Theirs another div beside that has the information showing up. (possibly in a animation/fading way)
Can anyone help?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Link and Info Within Physical Proximity
Use this method if your artist link and artist info is within physical proximity (i.e., sibling in the DOM). Let’s say you have:
Then use:
next()is used to avoid wrapping each link-info set in “per-artist” container. Thus, you should be able to have multiple “sets” of link-plus-info in the same page.Link and Info in Different Places
When there is no physical proximity between the link and tha info, you will need some sort of identifiers from the link to the info*. E.g.,
You can now:
*) Note: You could use the DOM index if links and infos are ordered similarly. I.e., the nth
<a>element corresponds to the n info element.