gracias....!
lo que me comentas, Tunait, lo acabé deduciendo después de volverme un poco loco.
![apachar ojo](http://static.forosdelweb.com/fdwtheme/images/smilies/wink.png)
(y mirando
![ojotes](http://static.forosdelweb.com/fdwtheme/images/smilies/ojotes.png)
un poco un manual de JavaScript) .
pero el problema esta en que creo que no me pasa la variable a traves de la URL o que luego no se recoje bien, ya que al llegar al frameset.html no aparece nada.
Pego el código aver si lo podemos comentar:
INDEX.HTML------------------------------
Código:
<body>
<ul>
<li><a href="frameset.html?f=1">Enllaç 01</a></li>
<li><a href="frameset.html?f=2">Enllaç 02</a></li>
</ul>
</body>
FRAMESET.HTML------------------------------
Código:
<head>
<title>Frameset</title>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
f=location.search.substr(1).split('=')[1]
//-->
</SCRIPT>
</head>
<body>
<frameset onload="frames[0].location.href='men' + f + '.html';
frames[1].location.href='content' + f + '.html';
frames[2].location.href='detall' + f + '.html' ">
</body>