Anyways, onto my question.
Me and my cousin created this code where it has iframe, textbox, and a button. When I press the button, it won't go to google.com which is weird.
<html>
<body>
<script language="Javascript">
function funcNavigate() {
window.navigate(site.value);
}
</script>
<div align="center">
<center>
<table border="0" width="45%" bgcolor="#800080">
<tr>
<td width="100%" align="center">
<p align="center"><font face="Comic Sans MS" size="7" color="#FFFFFF">
</font></td>
</tr>
</table>
</center>
</div>
<center>
<p></p>
</center>
<p align="center">
<input type="text" name="site" value="http://google.com">
<input type="button" value="Go" onclick="funcNavigate();">
</p>
<iframe src="/hidden/" width='100%' height='300'><p> You dont support iframe</p></iframe>
</body>
</html>
Can someone tell me what I did wrong?

New Topic/Question
Reply



MultiQuote




|