Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/01/2006, 16:15
GreenLink
 
Fecha de Ingreso: febrero-2005
Ubicación: Tamaulipas - México
Mensajes: 328
Antigüedad: 19 años, 3 meses
Puntos: 0
Exclamación tengo un problema simple

bueno, yo lo que quiero es que al cargar una pagina las "src" de dos iframes cambien.

pero no logro hacerlo, aqui esta mi codigo:

Código HTML:
<html>
<head>
<script language="JavaScript">
function poniframes(){
document.ifmd.src='marquees.php?x=men';
document.ifud.src='marquees.php?x=ult';
}
</script>

<title>-----</title>
</head>
<body OnLoad="poniframes()">
<iframe name="ifud" width="128" height="154" frameborder="0" src="./marquees.php?x=n" marginwidth=\"0\" marginheight=\"0\" vspace="0" hspace="0" allowtransparency="true"scrolling="no"></iframe>
<iframe name="ifmd" width="127" height="154" frameborder="0" src="./marquees.php?x=n" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no"></iframe>
</body>
</html> 
que esta mal??