equal
deleted
inserted
replaced
6 } |
6 } |
7 var $dynano = $; |
7 var $dynano = $; |
8 function DNobj(id) |
8 function DNobj(id) |
9 { |
9 { |
10 this.object = ( typeof(id) == 'object' ) ? id : document.getElementById(id); |
10 this.object = ( typeof(id) == 'object' ) ? id : document.getElementById(id); |
|
11 if ( !this.object ) |
|
12 { |
|
13 this.object = false; |
|
14 return this; |
|
15 } |
11 this.height = __DNObjGetHeight(this.object); |
16 this.height = __DNObjGetHeight(this.object); |
12 this.width = __DNObjGetWidth(this.object); |
17 this.width = __DNObjGetWidth(this.object); |
13 |
18 |
14 if ( this.object.tagName == 'TEXTAREA' && typeof(tinyMCE) == 'object' ) |
19 if ( this.object.tagName == 'TEXTAREA' && typeof(tinyMCE) == 'object' ) |
15 { |
20 { |