[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.