1
0
Fork 0
forked from 0x2620/oxjs

update video elements

This commit is contained in:
rlx 2011-12-19 21:13:11 +00:00
commit 0a79291c58
4 changed files with 47 additions and 24 deletions

View file

@ -6,6 +6,7 @@ Ox.SmallVideoTimeline = function(options, self) {
var that = Ox.Element({}, self)
.defaults({
_offset: 0, // hack for cases where all these position: absolute elements have to go into a float: left
disabled: false,
duration: 0,
editing: false,
find: '',
@ -148,7 +149,7 @@ Ox.SmallVideoTimeline = function(options, self) {
}
function mousedown(e) {
if ($(e.target).is('.OxInterface')) {
if (!self.options.disabled && $(e.target).is('.OxInterface')) {
self.options.position = getPosition(e);
setPositionMarker();
if (!self.triggered) {