Select con varias URLS
Publicado por naxo (1 intervención) el 09/10/2007 08:32:08
Buenas tengo este codigo en una hoja xsl:
<table border="1" width="300" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#000000" height="85">
<form action="http://www.marca.com" target="_blank1">
<form action="http://www.elmundo.com" target="_blank2">
<form action="http://www.intereconomia.com" target="_blank3">
<form action="http://www.infoempleo.com" target="_blank4">
<input type="hidden" name="page" value="search"></input>
<input type="hidden" name="s_res" value="OR"></input>
<tr>
<td width="100%" bgcolor="#EDECE0" height="64">
<table border="0" width="300" cellpadding="0" cellspacing="1">
<tr>
<td colspan="2">
<p align="center" style="margin-bottom: 0"><font size="2">Informacion</font></p>
</td>
</tr><tr>
<td><font size="2"> Categoria:</font></td>
<td>
<select style="FONT-SIZE: 10px; FONT-FAMILY: Verdana,Geneva,Arial" size="provin" name="cid">
<option value="1" name="depor">Deportes</option>
<option value="2" name="infor">Informacion general</option>
<option value="3" name="economi"> Economia </option>
<option value="4" name="empleo">Empleo </option>
</select></td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td colspan="2">
<p align="center">
<input style="font-family: Verdana, Geneva, Arial; font-size: 10 px" type="submit" value="Buscar"></input>
<if test="cid = 3">
<form action="http://www.intereconomia.com" target="_blank3">
</form>
</if>
</p>
</td>
</tr>
</table>
</td>
</tr>
</form>
</form>
</form>
</form>
</table>
Me gustaria ke aldesplegar el list y salga Deportes, Informacion General,....., al seleccionarlos y dar all boton Buscar me vaya a su direccion correspodiente:
Deportes----> www.marca.com
Informacion General---->www.elmundo.com
.....
Muchas gracias
<table border="1" width="300" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#000000" height="85">
<form action="http://www.marca.com" target="_blank1">
<form action="http://www.elmundo.com" target="_blank2">
<form action="http://www.intereconomia.com" target="_blank3">
<form action="http://www.infoempleo.com" target="_blank4">
<input type="hidden" name="page" value="search"></input>
<input type="hidden" name="s_res" value="OR"></input>
<tr>
<td width="100%" bgcolor="#EDECE0" height="64">
<table border="0" width="300" cellpadding="0" cellspacing="1">
<tr>
<td colspan="2">
<p align="center" style="margin-bottom: 0"><font size="2">Informacion</font></p>
</td>
</tr><tr>
<td><font size="2"> Categoria:</font></td>
<td>
<select style="FONT-SIZE: 10px; FONT-FAMILY: Verdana,Geneva,Arial" size="provin" name="cid">
<option value="1" name="depor">Deportes</option>
<option value="2" name="infor">Informacion general</option>
<option value="3" name="economi"> Economia </option>
<option value="4" name="empleo">Empleo </option>
</select></td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td colspan="2">
<p align="center">
<input style="font-family: Verdana, Geneva, Arial; font-size: 10 px" type="submit" value="Buscar"></input>
<if test="cid = 3">
<form action="http://www.intereconomia.com" target="_blank3">
</form>
</if>
</p>
</td>
</tr>
</table>
</td>
</tr>
</form>
</form>
</form>
</form>
</table>
Me gustaria ke aldesplegar el list y salga Deportes, Informacion General,....., al seleccionarlos y dar all boton Buscar me vaya a su direccion correspodiente:
Deportes----> www.marca.com
Informacion General---->www.elmundo.com
.....
Muchas gracias
Valora esta pregunta


0