Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/04/2005, 15:09
alex28
 
Fecha de Ingreso: marzo-2005
Mensajes: 103
Antigüedad: 19 años, 10 meses
Puntos: 1
..aún no funciona...

Hola JavierB.. gracias por tu respuesta pero aún no funciona... te copio las páginas..

--------------------------------------------------------------------
página index.htm
<html>
<frameset id="mainframe" rows="100,500" framespacing="0" frameborder="NO" border="1">
<frame src="frame1.htm" name="topFrame" scrolling="NO" noresize >
<frame src="frame2.htm" name="bottomFrame" scrolling="YES" noresize>
</frameset>
<noframes>
</noframes>
</html>
--------------------------------------------------------------------
página frame1.htm
<html>
página de test 1
</html>
--------------------------------------------------------------------
página frame2.htm
<html>
function reswin(aux){
alert('its in');
if (aux == 1) { parent.document.body.rows = '50,50'; }
if (aux == 0) { parent.document.body.rows = 100,50; }
}

function centerPopUp( url, name, width, height, scrollbars ) {
if( scrollbars == null ) scrollbars = "0"
str = "";
str += "resizable=0,";
str += "scrollbars=" + scrollbars + ",";
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}
window.open( url, name, str );
}
</script>
página de test 2
<a href="javascript:centerPopUp('puwin.htm', 'popup', '300', '200', '1');">abre el Pop-up</a>
</html>
--------------------------------------------------------------------
página puwin.htm (POPUP)
<html>
página de Popup
<a href="#" onClick="target.top.topFrame.location=nuevolink.ht m; return false">link</a>
</html>
--------------------------------------------------------------------

quiero que cuando le de en el link del popup se abra el nuevolink.htm en el frame TopFrame... bueno..gracias...