|
|
@ -289,14 +289,14 @@ |
|
|
|
_initElementWidth: function () { |
|
|
|
_initElementWidth: function () { |
|
|
|
var o = this.options; |
|
|
|
var o = this.options; |
|
|
|
if (BI.isWidthOrHeight(o.width)) { |
|
|
|
if (BI.isWidthOrHeight(o.width)) { |
|
|
|
this.element.css("width", BI.isNumber(o.width) ? BI.pixFormat(o.width) : o.width); |
|
|
|
this.element.css("width", BI.toPix(o.width)); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_initElementHeight: function () { |
|
|
|
_initElementHeight: function () { |
|
|
|
var o = this.options; |
|
|
|
var o = this.options; |
|
|
|
if (BI.isWidthOrHeight(o.height)) { |
|
|
|
if (BI.isWidthOrHeight(o.height)) { |
|
|
|
this.element.css("height", BI.isNumber(o.height) ? BI.pixFormat(o.height) : o.height); |
|
|
|
this.element.css("height", BI.toPix(o.height)); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|