egroupware_official/phpgwapi/js/htmlarea/popups/custom2.html
Ralf Becker a3a85a862d import htmlarea 3.0beta
eGW code to use it, is in phpgwapi/inc/class.html.inc.php the translations (via eGW standard translation system) are in phpgwapi/inc/htmlarea-lang.php
2004-01-08 09:03:17 +00:00

35 lines
822 B
HTML

<html style="width:300px; Height: 60px;">
<head>
<title>Select Phrase</title>
<script language="javascript">
var myTitle = window.dialogArguments;
document.title = myTitle;
function returnSelected() {
var idx = document.all.textPulldown.selectedIndex;
var text = document.all.textPulldown[idx].text;
window.returnValue = text; // set return value
window.close(); // close dialog
}
</script>
</head>
<body bgcolor="#FFFFFF" topmargin=15 leftmargin=0>
<form method=get onSubmit="Set(document.all.ColorHex.value); return false;">
<div align=center>
<select name="textPulldown">
<option>The quick brown</option>
<option>fox jumps over</option>
<option>the lazy dog.</option>
</select>
<input type="button" value=" Go " onClick="returnSelected()">
</div>
</form>
</body></html>