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,12 +24,25 @@ Ox.ExamplePage = 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.title
})
.css({float: 'left', borderRadius: '4px', margin: '4px'})
.appendTo(self.$toolbar)
.css({float: 'left', borderRadius: '4px', margin: '4px 2px 4px 2px'})
.appendTo(self.$toolbar);
self.$openButton = Ox.Button({
disabled: self.options.selected == 'source',