![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/02/2006, 18:54
|
![Avatar de flaviovich](http://static.forosdelweb.com/customavatars/avatar111817_1.gif) | | | Fecha de Ingreso: agosto-2005 Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 19 años, 5 meses Puntos: 39 | |
Pues es simple. Solo necesitas pasar el id por el metodo get o post. En este caso, creo que es mejor usar el metodo get.
Tendrias que tener algo asi: Código HTML: <a href="javascript:openPopup('art7', 'index.php?action=show_photos&id=7', 520, 580, 0);"> Y la funcion:
Código:
function openPopup (popupName, popupURL, popupWidth, popupHeight, scroll) {
var popupProperties = '';
if (!scroll) popupProperties = 'width='+popupWidth+',height='+popupHeight+',copyhistory=0,copyhistory=no,directories=0,directories=no,location=0,location=no,menubar=0,menubar=no,status=0,status=no,toolbar=0,toolbar=no,resizable=0,resizable=no';
else popupProperties = 'width='+popupWidth+',height='+popupHeight+',copyhistory=0,copyhistory=no,directories=0,directories=no,location=0,location=no,menubar=0,menubar=no,status=0,status=no,toolbar=0,toolbar=no,resizable=0,resizable=no,scrollbars=1,scrollbars=yes';
void(window.open(popupURL, popupName, popupProperties));
}
El resto lo haces en PHP o ASP.
__________________ No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte. |