Your first page is acceptable, it might be able to be changed to make things less complex on the second page, I'm not sure. The results.htm should look like so:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>New Document</title>
<script type="text/javascript">
function init()
{
document.getElementById("googleFrame").src = "http://google.com/search?q=" + unescape(window.location.search.replace(/^\?/,''));
document.getElementById("q").value = unescape(window.location.search.substring(1));
}
window.onload = init;
</script>
</head>
<body>
<form action="http://google.com/search" target="googleFrame">
Search : <input id="q" name="q"><input type="submit"><br>
</form>
<iframe name="googleFrame" id="googleFrame" height=500 width=800></iframe><br />
</body>
</html>
Bookmarks