YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub
  • Home
  • Gallery
  • Forums
  • YUI 2
  • YUI 3
  • YUICompressor
  • YUIDoc
  • More
  • Gallery Forums
  • Gallery Stats
  • Gallery Calendar
  • Register
  • Login

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Context Navigation

    YUI Library is not responsible for bugs or support with this module. It is available as a free service. For support please contact the module owner with the provided links.

    Node Accordion (gallery-node-accordion)

    Last Updated: 11/16/09
    + 2 -

    Caridy Patino

    YUI Contributor

    See 3 more by this user.

    Featured Item

    Created: 10/27/09
    Last CDN Push: 02/17/10
    Build Tag: gallery-2010.02.17-20
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.0.0
    Free for use.
    Module Image

    The Accordion Node Plugin makes it easy to transform existing
    markup into an accordion element with expandable and collapsable elements,
    elements are easy to customize, and only require a small set of dependencies.

    To use the Accordion Node Plugin, simply pass a reference to the plugin to a
    Node instance's plug method.

    It also has several configuration properties that can be
    set via an object literal that is passed as a second argument to a Node
    instance's plug method.

    • Tags:
    • caridy
    • accordion
    • plugin
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Injecting node accordion plugin into a YUI 3 Node element.

    Code Sample

    YUI({
        modules: {
            'gallery-node-accordion': {
                fullpath: 'http://yui.yahooapis.com/gallery-2010.02.17-20/build/gallery-node-accordion/gallery-node-accordion-min.js',
                requires: ['node-base','node-style','plugin','node-event-delegate','classnamemanager'],
                optional: ['anim'],
                supersedes: []
          }
     
        }
    }).use('gallery-node-accordion', function(Y) {
     
        Y.one("#myaccordion").plug(Y.Plugin.NodeAccordion);
     
    });

    Forum Posts

    No forum posts for this module.

    YUI Projects
    • All YUI Downloads
    • YUI 2
    • YUI 3
    • YUIDoc
    • YUICompressor
    • YUILibrary.com
    • YUI Build Tool
    • YUI PHP Loader
    Pages & Links
    • All YUI Downloads
    • Git FAQ
    • Graded Browser Support
    • Contribute to YUI
    • Forum Stats
    • Gallery Stats
    • YUI Calendar
    Contribute
    • Submit a Bug
    • Request a Feature
    • Write Code
    • Meet the Team
    Follow YUI
    • on GitHub
    • on Twitter
    • on FriendFeed
    • on Facebook
    • on IRC
    • YUI Blog
    • YUI Theater
    • YUI Forums

    © 2010 YUI Library - Site Credits