nikki / LiteAccordion

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

Close already opened tab by clicking to its header #42

Closed shoorick closed 12 years ago

shoorick commented 12 years ago

When some tab is open and I click to its header nothing happens. Maybe it’s better to close tab which header is clicked? I tried to implement this behavior by adding

if (core.currentSlide == index)
    methods.prev();

into function triggerSlide after variable declaration, but it doesn’t work.

shoorick commented 12 years ago

For example: see http://susu.ac.ru/ and http://test02.susu.ac.ru/ (both sites are in Russian, first site is for production and second one is for development).

I want to remove MooTools-based scripts from our site and make liteAccordion behaviors like this MooTools-based accordion.

nikki commented 12 years ago

Hiya,

I plan to work this into the next update. Thanks :)