| Current File : //var/wcp4/mycath2o/public_html/file/private/templates.old/common/editor_textarea.html |
<html>
<head><title>Insert textarea</title>
<style><%include editor_dialog.css%></style>
<script language=JScript>
// Global to store arguments from calling window.
returnValue = [];
function done () {
var html = '<textarea';
var value;
if (document.all.name.value)
html += ' name="' + document.all.name.value + '"';
if (document.all.cols.value)
html += ' cols=' + document.all.cols.value;
if (document.all.rows.value)
html += ' rows=' + document.all.rows.value;
if (document.all.tab.value)
html += ' tabindex="' + document.all.tab.value + '"';
html += '></textarea>';
if (document.all.value.value)
value = document.all.value.value;
returnValue = [html,value];
window.close();
}
</script>
</head>
<body>
<table border=0 cellpadding=3 align=center>
<tr>
<td valign=top>Name:</td>
<td valign=top><input size="30" id=name></input></td>
</tr>
<tr>
<td valign=top>Initial Value:</td>
<td valign=top><textarea id=value cols=22 rows=2></textarea></td>
</tr>
<tr>
</table>
<table width="100%" border=0 cellpadding=5>
<tr>
<td valign=top>Width in characters:</td>
<td valign=top><input id=cols size=2></input></td>
<td valign=top>Tab Order:</td>
<td valign=top><input id=tab size=2></input></td>
</tr>
<tr>
<td valign=top>Number of lines:</td>
<td valign=top><input id=rows size=2></input></td>
<td valign=top> </td>
<td valign=top> </td>
</tr>
</table>
<hr>
<div align=right>
<button class=button onclick="done();">OK</button>
<button class=button onclick="window.close();">Cancel</button>
</div>
</body>
</html>