Because the Search is in an inline frame it opens the result page within the frame.
This happens on both "Enter" and clicking the "Search"
So is there a way to make it open in the parent frame?
This is the form.htm script:
CODE
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>JSE</title>
<script language="JavaScript1.3" type="text/javascript" src="jse_form.js">
</script>
<base target="_parent">
</head>
<body topmargin="3" leftmargin="0" background="../../images/searchbg.gif">
<!-- Find -->
<form name="jse_Form" onsubmit="search_form(jse_Form);return false">
<input type="text" name="d" size="18">
<input type="image" src="img.jpg" onclick="search_form(jse_Form)" target="_parent" width="65" height="21" name="i1" align="absmiddle"></html>
<html>
<head>
<title>JSE</title>
<script language="JavaScript1.3" type="text/javascript" src="jse_form.js">
</script>
<base target="_parent">
</head>
<body topmargin="3" leftmargin="0" background="../../images/searchbg.gif">
<!-- Find -->
<form name="jse_Form" onsubmit="search_form(jse_Form);return false">
<input type="text" name="d" size="18">
<input type="image" src="img.jpg" onclick="search_form(jse_Form)" target="_parent" width="65" height="21" name="i1" align="absmiddle"></html>
Results.htm
CODE
<html>
<head>
<script language="JavaScript1.3" type="text/javascript" src="jse_form.js">
</script>
<script language="JavaScript1.3" type="text/javascript"
src="jse_search.js"></script>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 3</title>
<style>
<!--
body { font-family: Verdana; color: #333333; font-size: 9pt }
a:link { font-family: Verdana; font-size: 9pt; color: #008000 }
a:visited { font-family: verdana; font-size: 9pt; color: #800000 }
-->
</style>
<base target="_parent">
</head>
<body topmargin="3" leftmargin="0" background="../../images/searchbg.gif">
<!-- Find -->
<form name="jse_Form" onsubmit="search_form(jse_Form);return false">
<input type="text" name="d" size="18">
<input type="image" src="img.jpg" onclick="search_form(jse_Form)" width="65" height="21" name="i1" align="absmiddle">
</form>
<script language="JavaScript1.3" type="text/javascript">
return_query()</script>
<script language="JavaScript1.3" type="text/javascript">out_jse()
</script>
</body>
</html>
<head>
<script language="JavaScript1.3" type="text/javascript" src="jse_form.js">
</script>
<script language="JavaScript1.3" type="text/javascript"
src="jse_search.js"></script>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 3</title>
<style>
<!--
body { font-family: Verdana; color: #333333; font-size: 9pt }
a:link { font-family: Verdana; font-size: 9pt; color: #008000 }
a:visited { font-family: verdana; font-size: 9pt; color: #800000 }
-->
</style>
<base target="_parent">
</head>
<body topmargin="3" leftmargin="0" background="../../images/searchbg.gif">
<!-- Find -->
<form name="jse_Form" onsubmit="search_form(jse_Form);return false">
<input type="text" name="d" size="18">
<input type="image" src="img.jpg" onclick="search_form(jse_Form)" width="65" height="21" name="i1" align="absmiddle">
</form>
<script language="JavaScript1.3" type="text/javascript">
return_query()</script>
<script language="JavaScript1.3" type="text/javascript">out_jse()
</script>
</body>
</html>
As you can see i tried this:
CODE
</script>
<base target="_parent">
</head>
<base target="_parent">
</head>
With no luck....
This would be a huge help,
Thanks
PS: Sorry i say cant describe in title, I was just going to put , "need help" but i found out you dont have a character limit on so