Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/08/2007, 12:15
celeron
 
Fecha de Ingreso: agosto-2007
Ubicación: Mexico
Mensajes: 2
Antigüedad: 16 años, 9 meses
Puntos: 0
Crear Lista/Menú

Buenas a todos

les expongo, quiero hacer una lista menu que al seleccionar una opcion y presionar el botor de "ver" me abra la pagina relacionada a la opcion seleccionada

la pregunta es como la relaciono?

tengo este codigo para la lista/menu

Código HTML:
<option value="0" selected="selected">Selecciona una Marca</option>
	        <option value="Acura">Acura</option>
			<option value="Audi">Audi</option>
			<option value="BMW">BMW</option>
			<option value="Buick">Buick</option>
			<option value="Cadillac">Cadillac</option>
			<option value="Chevrolet">Chevrolet</option>
			<option value="Chrysler">Chrysler</option>
			<option value="Daewoo">Daewoo</option>
			<option value="Datsun">Datsun</option>
			<option value="Dodge">Dodge</option>
			<option value="Eagle">Eagle</option>
			<option value="Fiat">Fiat</option>
			<option value="Ford">Ford</option>
			<option value="Geo">Geo</option>
			<option value="Gmc">Gmc</option>
			<option value="Honda">Honda</option>
			<option value="Hyundai">Hyundai</option>
			<option value="Infiniti">Inifiniti</option>
			<option value="Jaguar">Jaguar</option>
			<option value="Kia">Kia</option>
			<option value="Lexus">Lexus</option>
			<option value="Lincoln">Lincoln</option>
			<option value="Mazda">Mazda</option>
			<option value="Mercedes Benz">Mercedes Benz</option>
			<option value="Mercury">Mercury</option>
			<option value="Mini">Mini</option>
			<option value="Mitsubishi">Mitsubishi</option>
			<option value="Nissan">Nissan</option>
			<option value="Oldsmobile">Oldsmobile</option>
			<option value="Plymouth">Plymouth</option>
			<option value="Pontiac">Pontiac</option>
			<option value="Porshe">Porshe</option>
			<option value="Renault">Renault</option>
			<option value="Saab">Saab</option>
			<option value="Saturn">Saturn</option>
			<option value="Seat">Seat</option>
			<option value="Subaru">Subaru</option>
			<option value="Suzuki">Suzuki</option>
			<option value="Toyota">Toyota</option>
			<option value="Volkswagen">Volkswagen</option>
			<option value="Volvo">Volvo</option>
        </select> 

y este es el codigo del boton "ver"

Código HTML:
<input name="Submit" type="button" id="Submit" onclick="JSClick( &quot;redirige.asp&quot;)"redirige.asp" )" value="Ver" /> 

me pasaron este codigo para un archivo .asp que se supone va a hacer esa funcion, pero no se si la estoy poniendo bien

Código HTML:
<%
opcion=trim(Request.Form("Select"))
If option=Acura Then Response.Redirect("Acura.html") End If
If option=AMC Then Response.Redirect("AMC.html") End If
If option=Audi Then Response.Redirect("Audi.html") End If
If option=BMW Then Response.Redirect("BMW.html") End If
If option=Buick Then Response.Redirect("Buick.html") End If
If option=Cadillac Then Response.Redirect("Cadillac.html") End If
If option=Chevrolet Then Response.Redirect("Chevrolet.html") End If
If option=Chrysler Then Response.Redirect("Chrysler.html") End If
If option=Daewoo Then Response.Redirect("Daewoo.html") End If
If option=Datsun Then Response.Redirect("Datsun.html") End If
If option=Dodge Then Response.Redirect("Dodge.html") End If
If option=Eagle Then Response.Redirect("Eagle.html") End If
If option=Fiat Then Response.Redirect("Fiat.html") End If
If option=Ford Then Response.Redirect("Ford.html") End If
If option=Geo Then Response.Redirect("Geo.html") End If
If option=Gmc Then Response.Redirect("Gmc.html") End If
If option=Honda Then Response.Redirect("Honda.html") End If
If option=Hyundai Then Response.Redirect("Hyundai.html") End If
If option=Infiniti Then Response.Redirect("Infiniti.html") End If
If option=Jaguar Then Response.Redirect("Jaguar.html") End If
If option=Kia Then Response.Redirect("Kia.html") End If
If option=Lexus Then Response.Redirect("Lexus.html") End If
If option=Lincoln Then Response.Redirect("Lincoln.html") End If
If option=Mazda Then Response.Redirect("Mazda.html") End If
If option=Mercedes Benz Then Response.Redirect("Mercedez.html") End If
If option=Mercury Then Response.Redirect("Mercury.html") End If
If option=Mini Then Response.Redirect("Mini.html") End If
If option=Mitsubishi Then Response.Redirect("Mitsubishi.html") End If
If option=Nissan Then Response.Redirect("Nissan.html") End If
If option=Oldsmobile Then Response.Redirect("Oldsmobile.html") End If
If option=Plymouth Then Response.Redirect("Plymouth.html") End If
If option=Pontiac Then Response.Redirect("Pontiac.html") End If
If option=Porshe Then Response.Redirect("Porshe.html") End If
If option=Renault Then Response.Redirect("Renault.html") End If
If option=Saab Then Response.Redirect("Saab.html") End If
If option=Saturn Then Response.Redirect("Saturn.html") End If
If option=Seat Then Response.Redirect("Seat.html") End If
If option=Subaru Then Response.Redirect("Subaru.html") End If
If option=Suzuki Then Response.Redirect("Suzuki.html") End If
If option=Toyota Then Response.Redirect("Toyota.html") End If
If option=Volkswagen Then Response.Redirect("vdub.html") End If
If option=Volvo Then Response.Redirect("Volvo.html") End If
%
Gracias por tomarse la molestia de leerlo