9 Einträge, 1 Seite |
<select name="goto" size="3"><option value="home">Startseite</option></select>
1
2
3
4
5
6
7
<form action="http://localhost/goto.pl" method="post">
<select name="goto">
<option="home">Startseite</option>
<option="seite2">Seite 2</option>
</select>
<input type="submit">
</form>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<script language="JavaScript">
<!--
function goto(url){
var seite = url;
var url = 'http://localhost/'+seite+'.html';
alert(seite);
location.href=url;
}
-->
</script>
</head>
<!-- HTML-Seite -->
<body>
<select name="goto" onchange="goto(this.value);">
<option value="home">Startseite</option>
<option value="index">Home</option>
</select>
</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
<title>asasd</title>
<script language="JavaScript">
<!--
function profil(url){
var seite = url;
var url = 'http://localhost/'+seite+'.html';
alert(seite);
location.href=url;
}
-->
</head>
<body>
<select name="profil" size="10" onchange="profil(this.value);"><option value="home">Test</option></select>
</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<title>asasd</title>
<script language="JavaScript">
<!--
function open_url(what)
{
alert('http://localhost/' + what + '.html');
// location.href=url;
}
-->
</script>
</head>
<body>
<form>
<select name="profil" size="10" onchange="open_url(this[this.selectedIndex].value);">
<option value="home">Test</option>
<option value="home2">Test2</option>
</select>
</form>
</body>
</html>
9 Einträge, 1 Seite |