Jump to content


Photo
- - - - -

Accordion functionality


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 elyons3683

elyons3683

    Advanced Member

  • Members
  • PipPipPip
  • 88 posts

Posted 25 February 2010 - 08:28 PM

I'm looking for a plug-in that will provide me with accordion functionality for body content, NOT sidebar content. I found JQuery UI functionality, but am completely confused as to how to install the latest version of JQuery and then the accordion functionality on top of that. Is it easier than it sounds?

#2 elyons3683

elyons3683

    Advanced Member

  • Members
  • PipPipPip
  • 88 posts

Posted 25 February 2010 - 09:08 PM

I've just figured out how to get the js code uploaded, but the code I'm using within my page isn't working. The code is: <div id="accordion">

Please Login or Register to see this Hidden Content

<div>First content</div>

Please Login or Register to see this Hidden Content

<div>Second content</div> </div> I'd like the "First header" to be the text that the user clicks on to "open" that section and the "first content" to be the content the user sees when he does so. At present, the "first header" is just showing up as a link with the "first content" underneath it. The accordion functionality does not exist. Does anyone know what I've missed? Thank you!