Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/12/2002, 02:54
Avatar de Musika
Musika
 
Fecha de Ingreso: junio-2002
Mensajes: 72
Antigüedad: 21 años, 9 meses
Puntos: 0
Exclamación Problemilla con frames

Chic@s a ver.. si me puedeis ayudar
Es sabido que cuando quiero hacer un link a dos marcos utilizamos esto:
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function multienlace(){
parent.frames[2].location="pagina1.html";
parent.frames[3].location="pagina2.html";
}
// -->
</SCRIPT>
</HEAD>
<BODY>
<A HREF="#" OnClick="multienlace()">Cargar pagina1.html y
pagina2.html</A>
</BODY></HTML>

nota: frames[2] y frames [3] son los nombre de los frames


Mi pregunta es:

tengo una pagina llamemosla "PG"
"PG" esta dividida en dos marcos "PGMENU" y "PGCENTRAL"

(por otro lado tengo otra pagina llamada "OTRA" dividida en "TOPEOTRA" "CENTROOTRA" con subpaginas como "CENTROOTRA1", "CENTROOTRA2")

"PGCENTRAL" tiene varios vinculos "VIN-UNOCENTRAL" y "VIN-DOSCENTRAL"

AKI VIENE MI PROBLEMA...
necesito ke "VIN-UNOCENTRAL" cambie a "OTRA" con "TOPEOTRA"pero ke se vea "CENTROOTRA1" y luego al seleccionar "VIN-DOSCENTRAL" cambie a "OTRA" con "TOPEOTRA" pero ke se vea "CENTROOTRA2"


creo ke me vosotr@s sois unos genios

AYUDADME!!!!!!!!!