Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/05/2004, 12:07
Paburo
 
Fecha de Ingreso: mayo-2004
Mensajes: 5
Antigüedad: 20 años, 11 meses
Puntos: 0
Pregunta cargar un include en funcion del enlace

tebgo una página en la que se ve un include. Esta página tiene enlaces y quiero que en función de los enlaces que se presionen, se modifique el include.

el código es el siguiente

<html>
<head>
<title>MIEL. Tu música en Internet</title>
<link rel="stylesheet" type="text/css" href="css/estilomiel.css" />
</head>
<body>
<table border=0 align="center">
<tr>
<td height=80px></td>
</tr>
<tr>
<td>
<table border="0" align="center" background="asdf.jpg" width="908px" height=666px>
<tr>
<td colspan=3 height="130px" width="908px"></td>
</tr>
<tr>
<td height="410px" width="200px">
<table border=0 height=310>
<tr>
<td width=25></td>
<td height=30><a href=inicio.asp?id=1>Inicio</a></td>
</tr>
<tr>
<td width=25></td>
<td height=30><a href=inicio.asp?id=2>Búsqueda</a></td>
</tr>
<tr>
<td width=25></td>
<td height=5></td>
</tr>
<tr>
<td width=25></td>
<td height=25><a href=inicio.asp?id=3>Otro</a></td>
</tr>
<tr>
<td width=25></td>
<td height=30><a href=inicio.asp?id=4>Otro</a></td>
</tr>
<tr>
<td width=25></td>
<td height=5></td>
</tr>
<tr>
<td width=25></td>
<td height=25><a href=inicio.asp?id=5>Otro</a></td>
</tr>
<tr>
<td width=25></td>
<td height=30><a href=inicio.asp?id=6>Otro</a></td>
</tr>
<tr>
<td width=25></td>
<td height=5></td>
</tr>
<tr>
<td width=25></td>
<td height=25><a href=inicio.asp?id=7>Otro</a></td>
</tr>
<tr>
<td width=25></td>
<td height=40><a href=inicio.asp?id=8>Otro</a></td>
</tr>
</table>
</td>
<td>
<%
select case request("id")
case 1
<!--#include file="includes/email_insertar.inc" -->
case 2
<!--#include file="includes/flash.inc" -->
case 3
<!--#include file="includes/email_insertar.inc" -->
case 4
<!--#include file="includes/flash.inc" -->
case 5
<!--#include file="includes/email_insertar.inc" -->
case 6
<!--#include file="includes/flash.inc" -->
case 7
<!--#include file="includes/email_insertar.inc" -->
case 8
<!--#include file="includes/flash.inc" -->
end select
%>

<!--#include file="includes/email_insertar.inc" -->
</td>
<td height=410px width=50px></td>
</tr>
<tr>
<td colspan=3 height="90px" width="908px"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

tiene que recargarse en la misma página
muchas gracias