nikki / LiteAccordion

A lightweight horizontal accordion plugin for jQuery.
MIT License
224 stars 130 forks source link

Close all accordion tabs on page load #57

Closed mannuelf closed 12 years ago

mannuelf commented 12 years ago

Hi Nikki dig the plugin works great.

I was wondering please could suggest how would I go about having all the accordion tabs closed on page load, so that that all accordion tabs are aligned to the right hand side of page leaving a nice blank area on the left hand side for me to use for content.

for example:

firstSlide : 1 //opens slide one on page load firstSlide : 0 //closes all slides... they do line up on the right-hand side but it throws visual errors where the slides overlap each other

see http://themwebs.me/images/slideAccordion-tabs.gif

any help would be greatly appreciated.

Manny

nikki commented 12 years ago

Hey Manny,

Is this still required?

Thanks, Nikki.

mannuelf commented 12 years ago

Hi Nikki

I have managed to build something that the client is happy with http://themwebs.me/client_area/mmi/ (in fact don't event know the difference :-)

I have made the first panel open on default and coloured the 1st tab to white, to give the impression of what i was trying to achieve.

I wish i could help you with the scripting but I'm a bit of noob when it comes to JavaScript.

Thanks for getting back to me appreciate it. I will eagerly await your next update on the plugin, it's super cool. Manny