public/javascripts/WireIt/plugins/editor/lib/accordionview/accordionview.js
function(el, oAttr) {
        
        el = YUD.get(el);
        
        // some sensible defaults
        
        oAttr = oAttr || {};
        if(!el) {
            el = document.createElement(this.CONFIG.TAG_NAME);
        }
        if (el.id) {oAttr.id = el.id; }
        YAHOO.widget.AccordionView.superclass.constructor.call(this, el, oAttr); 

        this.initList(el, oAttr);
                
        // This refresh forces all defaults to be set
         
        this.refresh(['id', 'width','hoverActivated'],true);  
        
    }
function(el, oAttr) {
        
        el = YUD.get(el);
        
        // some sensible defaults
        
        oAttr = oAttr || {};
        if(!el) {
            el = document.createElement(this.CONFIG.TAG_NAME);
        }
        if (el.id) {oAttr.id = el.id; }
        YAHOO.widget.AccordionView.superclass.constructor.call(this, el, oAttr); 

        this.initList(el, oAttr);
                
        // This refresh forces all defaults to be set
         
        this.refresh(['id', 'width','hoverActivated'],true);  
        
    }
function ( el , oAttr ) { el = YUD . get ( el ) ; // some sensible defaults oAttr = oAttr || { } ; if ( ! el ) { el = document . createElement ( this . CONFIG . TAG_NAME ) ; } if ( el . id ) { oAttr . id = el . id ; } YAHOO . widget . AccordionView . superclass . constructor . call ( this , el , oAttr ) ; this . initList ( el , oAttr ) ; // This refresh forces all defaults to be set this . refresh ( [ 'id' , 'width' , 'hoverActivated' ] , true ) ; }
A widget to control accordion views.
@namespace YAHOO.widget
@class AccordionView
@extends YAHOO.util.Element
@constructor
@param {HTMLElement | String} el The id of the html element that represents the AccordionView.
@param {Object} oAttr (optional) A key map of the AccordionView's
initial oAttributes.
A widget to control accordion views .