- This topic is empty.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Any link clicked collapses accordion [jQuery]
Hey guys,
I am building an accordion for my blog and everything works fine except for one little thing. Whenever I put a link into one of the boxes, the accordion slides back up instead of following through with the link. The only time I want this accordion to work is when .heading is clicked. Here is the jQuery code:
If it matters at all, I followed the [ulr=]http://net.tutsplus.com/tutorials/javascript-ajax/exactly-how-to-create-a-custom-jquery-accordion/]tutorial here at Nettuts[/URL], but they do not account for this issue!
If it helps at all, here is the HTML to go along with it:
Really appreciate any help! You guys were quick to help me with my last problem and I can’t tell you enough how much I appreciate it. :D