Moin,
ich möchte, daß die zu öffnende URL durch zwei Dropdown-Menüs zusammengesetzt wird. Einen Ansatz hab ich schon, aber es klappt irgendwie nicht - warum? Und wie mach ich’s richtig?
– see below –
Danke,
Malte.
_ **Links WEB-to-Host** _
\<!--
function dropdown(mySel)
{
var myWin, myVal;
myVal = mySel.options[mySel.selectedIndex].value;
if(myVal)
{
document.close();
document.open("text/html");
document.writeln('\<tr\>\<td\>' + myVal + hostn + '\<\/td\>');
}
return false;
}
function change(myhost)
{
var myWin, myVal;
hostn = myhost.options[myhost.selectedIndex].value;
if(hostn)
{
document.close();
document.open("text/html");
document.writeln('\<tr\>\<td\>' + myVal + hostn + '\<\/td\>');
}
return false;
}
//--\>
Bitte Host und Bildformat auswählen:
Host A
Host B
Host C
24 Zeilen à 80 Zeichen
32 Zeilen à 80 Zeichen
43 Zeilen à 80 Zeichen
27 Zeilen à 132 Zeichen