Ver Mensaje Individual
  #9 (permalink)  
Antiguo 09/03/2011, 21:00
guillermo90
 
Fecha de Ingreso: julio-2009
Mensajes: 104
Antigüedad: 14 años, 9 meses
Puntos: 0
Respuesta: ventanas sin duplicar

Cita:
Iniciado por nahuelevy Ver Mensaje
Puede ser que el botón que abre la ventana no esté en este código? Necesito ver el código de la página donde está el botón que abre la nueva.

Si la abres con window.open, verifica qué nombre le pones a la ventana. Si la abres con <a href="">, agregale a la etiqueta un nombre en la propiedad target

quedaría algo así

Código HTML:
Ver original
  1. <a href="tupagina.php" target="ventana">Abrir</a>

Si esto no te sirve, pegame el codigo de la pagina madre.

Saludos!
amigo el codigo es:
<div class="divs1"> <br />
<label>Preguntas y Respuestas</label>
<br />
<br />
</div>
<!--<a href="javascript:otra_ventana('pregunta.php?idpubl icacion=<?php print $idpublicacion;?>')" class="linkeos">Pregunta al Vendedor</a>-->



<table width="793" border="1">
<tr>
<td width="471" align="left" valign="top">
<?php
echo $preguntasyrespuestas;
?>
</td>
</tr>
</table>

<input type="button" value="Pregunta al Vendedor" name="pregunta" onClick="javascript:otra_ventana('pregunta.php?idp ublicacion=<?php print $idpublicacion;?>')";>

<!--
<a href="pregunta.php" target="_blank">Abre la pagina - Blank </a><br>
<a href="pregunta.php" target="_top">Abre la pagina - Top</a> <br>
<a href="pregunta.php" target="_parent">Abre la pagina - Parent</a> <br>
<a href="pregunta.php" target="_self">Abre la pagina - Self</a><br>
<a href="pregunta.php" target="nombre">Abre la pagina - Nombre</a><br>
-->








<div class="divs1"> <br />
<label></label>
<br />
<br />
</div>
<p>&nbsp;</p>
<table width="794">
<tr>
<td valign="top">
</td>
</tr>
</table>
<table width="423">
<tr>
<td width="413" height="41" align="center">
<table width="385">
<tr>
<td width="377" height="41" align="center" class="destacado_seccion">
Si crees que esta publicaci&oacute;n no respecta los terminos y condiciones o bien es ilegal, por favor
<label>
<input type="submit" name="submit2" value="Denunciar" />
</label> </td>
</tr>
</table> </td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<?php include("pie.php"); ?>

</body>
</html>