1
0
Fork 0
forked from 0x2620/oxjs

some work on Ox.Editable

This commit is contained in:
rlx 2011-10-24 15:58:51 +00:00
commit a58dc765d9
7 changed files with 58 additions and 33 deletions

View file

@ -2,21 +2,6 @@ Ox.load('UI', {debug: true}, function() {
var $box = Ox.Element()
.css({width: '512px', height: '512px', margin: '8px'})
.bind({
click: function(e) {
if ($(e.target).is('a')) {
return false;
}
}
})
.bindEvent({
singleclick: function(e) {
var $target = $(e.target);
if ($target.is('a')) {
Ox.print('href=' + $target.attr('href'));
}
}
})
.appendTo(Ox.UI.$body);
/*