Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: padekit su select

Parašė tabux· 2008 Spa. 26 10:10:04
#5

openside("pereiti");
?><script language="JavaScript">
<!--
function einam(form, i) {
var site=form.elements[i].selectedIndex;
if(site>=1){
top.location=form.elements[i].options[ site].value;
}
form.elements[i].selectedIndex=0;
}
//-->
</script></head>
<body>
<form action="">
<select name="nuorodos" onChange="einam(this.form, 0)">
<option>pereiti
<option value="http://localhost/php-fusion/files/index.php">namai
<option value="http://localhost/php-fusion/files/articles.php">straipsniai
<option value="http://localhost/php-fusion/files/downloads.php">siuntiniai
<option value="http://localhost/php-fusion/files/faq.php">DUK
<option value="http://localhost/php-fusion/files/forum/index.php">forumas
<option value="http://localhost/php-fusion/files/news_cats.php">naujienos
</select>
</form>
</body><?
closeside();



Imk, ten kaip noresi pagal save persidarysi