Ver Mensaje Individual
  #6 (permalink)  
Antiguo 04/02/2002, 13:38
bet
 
Fecha de Ingreso: febrero-2001
Mensajes: 292
Antigüedad: 23 años, 2 meses
Puntos: 0
Re: el codigo de un menu de navegacion Drop-Down

<pre>
&lt;html&gt;
&lt;head&gt;
&lt;script language=&quot;JavaScript&quot;&gt;
&lt;!--
function irA(s) {
if (s.selectedIndex != 0)
window.location.href = s.options[s.selectedIndex].value;
return true;
}
// --&gt;
&lt;/script&gt;

&lt;/head&gt;

&lt;body&gt;
&lt;form name=&quot;f1&quot;&gt;
&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;
&lt;B&gt;Ir a:&lt;/B&gt;
&lt;select name=&quot;selectMenu&quot; size=1 onchange=&quot;irA(document.f1.selectMenu)&quot;&g t;
&lt;option&gt;Seleccione un destino&lt;/option&gt;
&lt;option value='http://ar.search.yahoo.com/'&gt;Yahoo&lt;/option&gt;
&lt;option value='http://www.altavista.com/'&gt;Altavista&lt;/option&gt;
&lt;option value='http://www.hotmail.com/'&gt;Hotmail&lt;/option&gt;
&lt;option value='http://www.clarin.com/'&gt;Clarin&lt;/option&gt;
&lt;/select&gt;&lt;/font&gt;&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>

<hr noshade size=1 color="#000000"><img src="http://www.gograph.com/Images-8712/ClipArt/cat03.gif" height="50" border=0 align="absmiddle"> <font size="2" face="verdana" color="#000000">bet[/CODE]