mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-04 13:55:02 +01:00
a3a85a862d
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
35 lines
822 B
HTML
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> |