Jump to content
Killersites Forums

How to set accordion to be completely collapsed when page loads


Recommended Posts

Thanks, Eric. :)


Yes, I saw that and here's what I have in the



$(function() {


collapsible: true




The result is the first item is open by default. I want them all closed by default.


For reference, here's what I'm working on (will style the accordion once I get it working properly): http://tinyurl.com/ylefxty

Link to comment
Share on other sites

I've always used Themeroller in conjunction with jQuery UI - you can tweak the look in your browser, then download the specific package you need. There are pre-rolled themes there too. Once you've done this, it's a simple case of including the stylesheet in your page and making sure the paths are correct.


Even if you use themeroller as a starting point, then tweak once it's in place, it's the quickest way to work with jQuery UI, for my money.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...