if (this.heightUnit == '%') {
                    this.containerDiv.style.height =
                        parentNode.offsetHeight * (this.height / 100) + 'px';
                }