-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathjumpmenu.php
executable file
·27 lines (27 loc) · 1.14 KB
/
jumpmenu.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original: Vladimir Geshanov -->
<!-- Web Site: http://hotarea.com/ -->
<script language="JavaScript">
<!--
function openDir( jumpmenu ) {
var newIndex = jumpmenu.dropmenu.selectedIndex;
if ( newIndex == 0 ) {
alert( "Please select a location! :-(" );
} else if ( jumpmenu.dropmenu.options[ newIndex ].value == "SEP_ITEM" ) {
alert( "Selecting a menu seperator won't get you anywhere! ;-)" );
} else {
cururl = jumpmenu.dropmenu.options[ newIndex ].value;
window.location.assign( cururl );
}
}
-->
</script>
<form name=jumpmenu>
<select name="dropmenu" size="1">
<option>Go To View / Feature (select one)</option>
<option value="soap_req.php">Main Page (with Media List)</option>
<option value="SEP_ITEM">--------------------</option>
<option value="soap_req.php?vue=php">PHP Software Information</option>
</select> <input type="button" name="Let's Go" value="Let's Go" onClick="openDir( this.form )">
</form>