1
0
Fork 0
forked from 0x2620/oxjs

add home button to doc page and example page

This commit is contained in:
rolux 2012-06-18 10:57:52 +02:00
commit ba1a3c4b2a
4 changed files with 47 additions and 15 deletions

View file

@ -24,6 +24,19 @@ Ox.DocPage = function(options, self) {
self.$toolbar = Ox.Bar({size: 24});
self.$homeButton = Ox.Button({
title: 'home',
tooltip: 'Home',
type: 'image'
})
.css({float: 'left', margin: '4px 2px 4px 4px'})
.bindEvent({
click: function() {
that.triggerEvent('close');
}
})
.appendTo(self.$toolbar);
self.$title = Ox.Label({
style: 'square',
title: self.options.item.name
@ -34,7 +47,7 @@ Ox.DocPage = function(options, self) {
height: '13px',
paddingTop: '1px',
borderRadius: '4px',
margin: '4px'
margin: '4px 2px 4px 2px'
})
.appendTo(self.$toolbar)