idiotsoftcorp
01-05-2004, 05:28 PM
Hello everyone!
I am trying to create my own browser inside a browser!I am having throuble with 1 fancy string!
The string I am having trouble with is in function gothere.The string that declares a variable .I cannot seen to make a string that works.This is a multiple frame page.I want the URL the user typed in the textbox to be on a frame called 'browser_page'. This is the script for the control thing:
<script language="JavaScript">
<!-- hide me
function goThere()
{
var the_url = top.con.the_form.the_url.value;
window.browser_page.location=the_url;
}
</script>
<form>
<input type="button" onClick="top.browser_page.window.location=hom" value="Home">
<input type="button" onClick="nextColor();" value="Next color">
</td>
<form name="the_form" onSubmit="goThere(); return false;">
<input type="text" name="the_url" size=40>
<input type="button" onClick="goThere(); return false;">
</form>
I am trying to create my own browser inside a browser!I am having throuble with 1 fancy string!
The string I am having trouble with is in function gothere.The string that declares a variable .I cannot seen to make a string that works.This is a multiple frame page.I want the URL the user typed in the textbox to be on a frame called 'browser_page'. This is the script for the control thing:
<script language="JavaScript">
<!-- hide me
function goThere()
{
var the_url = top.con.the_form.the_url.value;
window.browser_page.location=the_url;
}
</script>
<form>
<input type="button" onClick="top.browser_page.window.location=hom" value="Home">
<input type="button" onClick="nextColor();" value="Next color">
</td>
<form name="the_form" onSubmit="goThere(); return false;">
<input type="text" name="the_url" size=40>
<input type="button" onClick="goThere(); return false;">
</form>