Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/09/2009, 10:48
eilex
 
Fecha de Ingreso: febrero-2009
Mensajes: 8
Antigüedad: 15 años, 2 meses
Puntos: 0
Respuesta: iframe y form

Ahora tengo esto:

Código HTML:
<html>
<body bgcolor="#000000">
<FORM ACTION="" METHOD="POST"> 
<img border="0" onclick="test.location.href='http;//www,google,es/';document.getElementById('test').frameBorder=1" src="world.jpg" width="16" height="16"><img border="0" src="black.jpg" width="16" height="16"><img border="0" onclick="test.location.href='http;//rampage-clan,ukgame,co,uk';document.getElementById('test').frameBorder=1" src="group.jpg" width="16" height="16"><img border="0" src="black.jpg" width="16" height="16"><img border="0" onclick="test.location.href='http;//space,widicommunity,com';document.getElementById('test').frameBorder=1" src="heart.jpg" width="16" height="16"><img border="0" src="black.jpg" width="16" height="16">
<INPUT TYPE="text" NAME="web" size="100">
<img border="0" onclick="changeSource()" src="folder_go.jpg" width="16" height="16" TYPE="submit" />
</FORM>
<p>
<script type="text/javascript">
function changeSource()
  {
  document.getElementById("test").src="URL"
  }
</script>
<iframe src="http;\\www,widicommunity,com" frameborder="0" name="test" id="test" width=100% height=800 border="0" align="absbottom" marginwidth="1" marginheight="1"></iframe>
</p>

</html> 
¿Como utilizo el texto de el campo de texto URL en la funcion changeSource()?

Puse , y ; en las direcciones porque no me deja ponerlas.