nandroid / MagentoFoundation

Foundation 3 Framework for Magento 1.7. Foundation styles and libraries. Magento Responsive theme. Off-canvas Left-Right sidebar columns for mobile.
http://magendation.internetized.net/
62 stars 32 forks source link

Accordion in sidebar modules #9

Open nandroid opened 11 years ago

nandroid commented 11 years ago

Accordion in sidebar modules to collapse content.

versedi commented 9 years ago

I was trying to include categories sidebar as accordion menu. As far on default JS no luck, but when I use this fiddle:

http://jsfiddle.net/Sbt75/514/

Everything works just fine. I've already tried to exclude some of the included JS files but no luck either – they're all required. I've tried to change into jquery 2.x.x no luck either.

Any guesses what could cause that? I'm thinking of three things:

  1. Prototype - JQuery Conflict
  2. Other JQuery library versions, uncompatible with each other.
  3. Some custom changes in foundation JS files?

Hoping to solve it together and include that accordion as sidebar categories menu in this great framework for Magento.

P.S. I've managed to get Orbit working, for now it's just a hack but hoping to make it overall better solved and then I'll pull request.