Welcome Guest, Not a member yet? Register   Sign In
Making a pop up
#3

[eluser]fedefrias[/eluser]
hi i post the three parts that interact:

controller

<?
class Popup extends Controller{
function pop(){
$this->load->view('popup_view');
}
}

view

<html>
<head>
[removed]
function abrir(direccion, pantallacompleta, herramientas, direcciones, estado, barramenu, barrascroll, cambiatamano, ancho, alto, izquierda, arriba, sustituir){

var opciones = "fullscreen=" + pantallacompleta +
",toolbar=" + herramientas +
",location=" + direcciones +
",status=" + estado +
",menubar=" + barramenu +
",scrollbars=" + barrascroll +
",resizable=" + cambiatamano +
",width=" + ancho +
",height=" + alto +
",left=" + izquierda +
",top=" + arriba;
var ventana = window.open(direccion,"venta",opciones,sustituir);
}
[removed]
</head>

<body>
</body>
</html>

and the image that i want people to click in order to open the pop up

<td>
<a href="../../../../deomnibus/index.php/popup/pop/">
<img src="http://pruebasia.com.ar/deomnibus/img/asistencia_telefonica.jpg">
</a>
</td>

thanks!!
F.


Messages In This Thread
Making a pop up - by El Forum - 09-01-2009, 10:44 AM
Making a pop up - by El Forum - 09-01-2009, 10:56 AM
Making a pop up - by El Forum - 09-01-2009, 11:00 AM
Making a pop up - by El Forum - 09-01-2009, 11:14 AM
Making a pop up - by El Forum - 09-01-2009, 11:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB