YUI – Accordion Menu


 

This post is outdated, please check out the new one at:
Advnaced AJAX YUI Accordion Navigation
 

The foundation of YUI is based on YUI Core(YAHOO Global Object, the Dom Collection, and the Event Utility) and implemented by Utilities and Controls(Widgets). These are almost always used in concert and are a shared requirement for most YUI implementations.

YUI is distributed with four aggregate files that package components commonly deployed together. One of the four is yahoo-dom-event.js. Combines the three files the comprise the YUI Core (YAHOO, DOM, Event). I used the YUI Core and Animation Utility built an accordion menu. You can see the demo page at:
http://www.lab.highub.com/yui/accordion-menu/adv/.

If you think it’s too hard to understand, you can see a simple demo I created for the idea behind it at:
http://www.lab.highub.com/yui/accordion-menu/.

Yahoo! opened up free YUI hosting from the Yahoo! network to all YUI implementers. So on the demo page, both yahoo-dom-event.js and animation-min.js are linked from Yahoo! website.

A developer from Yahoo! named Hedger Wong have coded a more advanced accordion menu using YUI. It can be found at : http://www.hedgerwow.com/360/mwd/accordion/demo.php

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Technorati
  • Twitter
  • Yahoo! Bookmarks

, , , , , , , ,

  1. #1 by de musicas on December 9, 2008 - 12:20 pm

    Accordion Menu, is very…
    I’m from brasil..

(will not be published)