| Current File : //var/wcp4/million/public_html/file/private/templates.old/common/editor_radio.html |
<html>
<head><title>Radio</title>
<style><%include editor_dialog.css%></style>
<script language=JScript>
// Global to store arguments from calling window.
returnValue = "";
function done () {
/* ---------------------------------------------------------
* When the user hits done this fucntion is called to
* produce the html from the div tags. It then inserts
* it into the edit window and closes this window.
*/
var html = '<input type="radio"';
if (document.all.name.value)
html += ' name="' + document.all.name.value + '"';
if (document.all.value.value)
html += ' value="' + document.all.value.value + '"';
if (document.all.tab.value)
html += ' tabindex="' + document.all.tab.value + '"';
if (document.all.initial[0].checked)
html += ' checked';
html += '>';
returnValue = html;
window.close();
}
// -->
</script>
</head>
<body>
<table border=0 cellpadding=3 align=center>
<tr>
<td>Group Name:</td><td><input id=name size=30></input></td>
</tr>
<tr>
<td>Value:</td><td><input id=value size=30></input></td>
</tr>
<tr>
<td>Initial State:</td>
<td>
<table border=0>
<tr>
<td>
<input value=on type=radio name=initial checked> Selected
</td>
<td>
<input value=off type=radio name=initial> Not Selected
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>Tab order:</td><td><input name=tab size=3></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>