Newsgroup: it.comp.www.html
Titolo: Bottoni orizzontali

Salve, come da esempio allegato... ho una serie di bottoni a scelta
multipla che ora sono allineati verticalmente. E` possibile allinearli
in orizzontale ?? Se sì, come ?
 Grazie in anticipo. 
<HTML>
<HEAD>
<TITLE>Bottoni</TITLE>
<SCRIPT LANGUAGE="JavaScript">
function leapto(form)
{
var myindex=form.dest.selectedIndex
parent.principale.location.href=(form.dest.options[myindex].value);
}
</SCRIPT>
</HEAD>
<BODY TEXT="#FF0000" BGCOLOR="#FF0000" LINK="#00CC00" VLINK="#00CC00"
ALINK="#FF0000">
<BR><BR>
<CENTER>
<FORM METHOD="POST" NAME="myform">
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="p1.html">Prodotti
<OPTION VALUE="p2.html">Cosa 1
<OPTION VALUE="lapaginachevuoi.html">Cosa 2
<OPTION VALUE="lapaginachevuoi.html">Cosa 3
<OPTION VALUE="lapaginachevuoi.html">Cosa 4
<OPTION VALUE="lapaginachevuoi.html">Cosa 5
</SELECT>
</FORM>
<BR><BR><FORM METHOD="POST" NAME="myform">
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="p1.html">Usato
<OPTION VALUE="p3.html">Parte 1
<OPTION VALUE="lapaginachevuoi.html">Parte 2
<OPTION VALUE="lapaginachevuoi.html">Parte 3
</SELECT>
</FORM>
<BR><FORM METHOD="POST" NAME="myform">
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="dummy">Chi siamo
<OPTION VALUE="lapaginachevuoi.html">Parte 1
<OPTION VALUE="lapaginachevuoi.html">Parte 2
<OPTION VALUE="lapaginachevuoi.html">Parte 3
</SELECT>
</FORM>
<BR><FORM METHOD="POST" NAME="myform">
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="dummy">Novità
<OPTION VALUE="lapaginachevuoi.html">Parte 1
<OPTION VALUE="lapaginachevuoi.html">Parte 2
<OPTION VALUE="lapaginachevuoi.html">Parte 3
</SELECT>
</FORM>
<BR><FORM METHOD="POST" NAME="myform">
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="dummy">Bacheca
<OPTION VALUE="lapaginachevuoi.html">Parte 1
<OPTION VALUE="lapaginachevuoi.html">Parte 2
<OPTION VALUE="lapaginachevuoi.html">Parte 3
</SELECT>
</FORM>
</CENTER>
</BODY>
</HTML>
--
    _
 Fa/_)io
  /__)enedetti

Ovviamente si.
Basta inserire tutto in una tabella in questo modo:
-----------------------
<HTML>
<HEAD>
<TITLE>Bottoni</TITLE>
<SCRIPT LANGUAGE="JavaScript">
function leapto(form)
{
var myindex=form.dest.selectedIndex
parent.principale.location.href=(form.dest.options[myindex].value);
}
</SCRIPT>
</HEAD>
<BODY TEXT="#FF0000" BGCOLOR="#FF0000" LINK="#00CC00" VLINK="#00CC00"
ALINK="#FF0000">
<BR><BR>
<CENTER>
<TABLE BORDER="0">
<FORM METHOD="POST" NAME="myform">
<TD>
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="p1.html">Prodotti
<OPTION VALUE="p2.html">Cosa 1
<OPTION VALUE="lapaginachevuoi.html">Cosa 2
<OPTION VALUE="lapaginachevuoi.html">Cosa 3
<OPTION VALUE="lapaginachevuoi.html">Cosa 4
<OPTION VALUE="lapaginachevuoi.html">Cosa 5
</SELECT>
</TD>
</FORM>
<FORM METHOD="POST" NAME="myform">
<TD>
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="p1.html">Usato
<OPTION VALUE="p3.html">Parte 1
<OPTION VALUE="lapaginachevuoi.html">Parte 2
<OPTION VALUE="lapaginachevuoi.html">Parte 3
</SELECT>
</TD>
</FORM>
<FORM METHOD="POST" NAME="myform">
<TD>
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="dummy">Chi siamo
<OPTION VALUE="lapaginachevuoi.html">Parte 1
<OPTION VALUE="lapaginachevuoi.html">Parte 2
<OPTION VALUE="lapaginachevuoi.html">Parte 3
</SELECT>
</TD></FORM>
<FORM METHOD="POST" NAME="myform">
<TD>
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="dummy">Novità
<OPTION VALUE="lapaginachevuoi.html">Parte 1
<OPTION VALUE="lapaginachevuoi.html">Parte 2
<OPTION VALUE="lapaginachevuoi.html">Parte 3
</SELECT>
</TD></FORM>
<FORM METHOD="POST" NAME="myform">
<TD>
<SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
<OPTION SELECTED VALUE="dummy">Bacheca
<OPTION VALUE="lapaginachevuoi.html">Parte 1
<OPTION VALUE="lapaginachevuoi.html">Parte 2
<OPTION VALUE="lapaginachevuoi.html">Parte 3
</SELECT>
</TD>
</FORM>
</TABLE></CENTER>
</BODY>
</HTML>
-----------------------
Ciao
-----------------------
http://www.wmplanet.com
-----------------------
-- 
Posted from 
adsl-250-27.38-151.net24.it
 [151.38.27.250] 
via Mailgate.ORG Server - 
http://www.Mailgate.ORG