cn : [
{
tag : 'div',
- cls : 'roo-navigation-top-bar'
+ cls : 'roo-navigation-bar-top'
},
{
tag : 'ul',
},
{
tag : 'div',
- cls : 'roo-navigation-bottom-bar'
+ cls : 'roo-navigation-bar-bottom'
}
]
initEvents: function()
{
- this.topEl = this.el.select('.roo-navigation-top-bar', true).first();
+ this.topEl = this.el.select('.roo-navigation-bar-top', true).first();
this.iconEl = this.el.select('.roo-navigation-bar', true).first();
- this.bottomEl = this.el.select('.roo-navigation-bottom-bar', true).first();
+ this.bottomEl = this.el.select('.roo-navigation-bar-bottom', true).first();
},
item.parentId = this.id;
item.render(this.el.select('.roo-navigation-bar', true).first(), null);
+ if(cfg.html){
+ var html = {
+ tag : 'div',
+ cls : 'roo-navigation-bar-text',
+ html : cfg.html
+ }
+
+ }
+
this.barItems.push(item);
this.formatBullets();