Ver Mensaje Individual
  #6 (permalink)  
Antiguo 12/04/2013, 11:09
ragde23fer
 
Fecha de Ingreso: octubre-2008
Mensajes: 268
Antigüedad: 15 años, 7 meses
Puntos: 3
Respuesta: Abrir ventana al dar clic en boton

La solucion es la siguiente:

Index.html

<script src="Funcion.js" language="javascript" type="text/javascript"></script>

<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="600" onclick="mostrar('http://localhost/PAGINA/Nombre_de_Pagina_a_abrir.php');">Abrir</td>
<td width="20" ></td>
<td width="464">&nbsp;</td>
</tr>
</table>


En Funcion.js:

function mostrar(contenido)
{
window.open(contenido,null,"height=650,width=1000, status=yes,toolbar=no,menubar=no,location=no ");
}

Si lo quieres abrir con Flash: Crear un boton en flash, presionar F9 y escribir:

on (press) {
getURL("javascript:mostrar('http://localhost/PAGINA/Nombre_de_Pagina_a_abrir.php');");
}

Saludos a todos.