You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
272 B

Block.Navigation = new Class({
Extends: BlockBase,
create: function(){
var self = this;
self.el = new Element('ul.navigation');
},
addTab: function(tab){
var self = this
return new Element('li').adopt(
new Element('a', tab)
).inject(self.el)
}
});