<?php
// Determine the overall height and width - messy, but works
w = oldTextarea.getDimensions().width+"px";
if(!w || parseInt(w) < 400)
{
w = "400px";
}
if(this.options && this.options.height)
{
h = this.options.height;
}
else if(oldTextarea.offsetHeight)
{
h = oldTextarea.offsetHeight+"px";
}
else if(oldTextarea.clientHeight)
{
h = oldTextarea.clientHeight+"px";
}
else if(oldTextarea.style.height)
{
h = oldTextarea.style.height;
}
else
{
h = "400px";
}
this.editor.style.width = w;
this.editor.style.height = h;
<?php
// Determine the overall height and width - messy, but works
w = "550px";
h = "300px";
this.editor.style.width = w;
this.editor.style.height = h;
<?php
textInput.style.height = parseInt(areaContainer.style.height)+"px";
textInput.style.width = parseInt(areaContainer.style.width)+"px";
<?php
textInput.style.height = "229px";
textInput.style.width = "544px";