Академический Документы
Профессиональный Документы
Культура Документы
function expandTextAreas(){
var
var
var
var
var
var
var
var
var
ta;
cnt;
x_size;
l_tadiv;
parentNode;
old_node;
ta_width;
ndiv;
re_nlchar;
}
/* Please uncomment the following line in case */
/* you want to have the width always set to 80% of the page size */
/* ta_width = "80%"; */
l_tadiv = this.document.createElement('div');
/* CSS Formatting of the textarea replacements */
l_tadiv.style.display
= "block";
l_tadiv.style.zIndex="9000";
l_tadiv.style.background = "white";
l_tadiv.style.padding = "1em";
l_tadiv.style.margin = "1em";
l_tadiv.style.border = "solid 1px Scrollbar";
l_tadiv.style.width = ta_width;
l_tadiv.id = "ta_replacement_"+j;
l_tadiv.innerHTML = cnt;
ta.parentNode.replaceChild(l_tadiv,ta);
}
ta = null;
cnt = null;
x_size = 0;
l_tadiv = null;
parentNode = null;
old_node = null;
ta_width = 0;
ndiv = null;
re_nlchar = null;
}
</script>
<%
* Start all scripts in the order needed
%>
<script type="text/javascript" language="JavaScript">
thtmlbRegisterOnLoad(ppStartScripts);
function ppStartScripts(){
/*Add in this block the call of the new function defined above:*/
expandTextAreas();
}
</script>