source: trunk/popups/custom2.html @ 505

Last change on this file since 505 was 20, checked in by gogo, 15 years ago

Setting eol-style subversion property.

  • Property svn:eol-style set to native
  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 822 bytes
Line 
1<html style="width:300px; Height: 60px;">
2 <head>
3  <title>Select Phrase</title>
4<script language="javascript">
5
6var myTitle = window.dialogArguments;
7document.title = myTitle;
8
9
10function returnSelected() {
11  var idx  = document.all.textPulldown.selectedIndex;
12  var text = document.all.textPulldown[idx].text;
13
14  window.returnValue = text;          // set return value
15  window.close();                     // close dialog
16}
17
18</script>
19</head>
20<body bgcolor="#FFFFFF" topmargin=15 leftmargin=0>
21
22<form method=get onSubmit="Set(document.all.ColorHex.value); return false;">
23<div align=center>
24
25<select name="textPulldown">
26<option>The quick brown</option>
27<option>fox jumps over</option>
28<option>the lazy dog.</option>
29</select>
30
31<input type="button" value=" Go " onClick="returnSelected()">
32
33</div>
34</form>
35</body></html>
Note: See TracBrowser for help on using the repository browser.