Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/07/2005, 10:33
Bluesman74cl
 
Fecha de Ingreso: marzo-2003
Ubicación: onde toy?
Mensajes: 1.437
Antigüedad: 22 años, 2 meses
Puntos: 9
Mostrar o no mostrar, Pero Cómo?

sres teno lo siguiente


Código:
 while not res.eof 
		 
	    %>
	   <tr> 
		<td width="2%" valign="top"><strong>P:</strong></td>
		<td width="98%" valign="top">
		<a href="faq.asp?abrir=<%=abrir%>&swaux=<%=i%>&categoria=<%=categoria%>"><%=res("pregunta")%></a>
		</td>
	   </tr>
	    <%
	
		If abrir="si" then%>
	   <tr> 
		<td valign="top"><strong>R:</strong></td>
		<td valign="top"><%= res("respuesta")
		%></td>
	   </tr>
	   <%end if
	   res.movenext
	   	   
	   wend
	   end if

	   %>
el problema lo tengo en esta linea If abrir="si" then%>

si entra ahi me abre todos TR como registros tenga y lo que yo quiero es que se habra el corresppondiente al que cliquié, me explico

cuando entro sale todo asi
P: Pregunta uno?
P: Pregunta Dos?
P: Pregunta Tres?

si le hago click a la pregunta 2 debia aparecer lo siguiente

P: Pregunta uno?
P: Pregunta dos?
R: Respuesta dos
P: Pregunta 3



osea que a la linea If abrir="si" then%> deberia agregarle otro parametro pero he intentado ene cosas y no me sale.. como lo puedo hacer señores? desde ya gracias
__________________
Buena Vida...
Francisco