jQuery accordion link issue

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2010-04-03T18:41:52Z Indexed on 2010/04/03 18:43 UTC
Read the original article Hit count: 270

Filed under:
|
|
|
|

Slight problem, I've been working with a multi-accordion for a News panel. Everything is working fine, but there is an issue that has just recently come up. Underneath the headline I have information on when said headline+article was posted and when, and also if there are any comments.

I intended to make the author and the number of comments as a link. The author link would most likely bring them to their contact page or maybe an email, the number of comments link would just expand it directly to the "View comments" which the user could also access by just expanding the article and then expanding the comments. A shortcut basically.

Now, the issue is that I'm having to put this "Posted by..." information inside the a class which allows the user to expand the headline into the article. If I do this however, it breaks the entire accordion field for that headline because there are multiple A HREF links inside the original A link. I really don't know how to get around this, if anyone has a tip or a solution I would most appreciate it, thanks.

You can view the demo here: http://www.notedls.com/demo

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about accordion