forked from 0x2620/oxjs
some work on Ox.Editable
This commit is contained in:
parent
925aa8d627
commit
a58dc765d9
7 changed files with 58 additions and 33 deletions
|
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue