Solved

Redirect URL to a specified frame

Posted on 1997-02-17
2
172 Views
Last Modified: 2013-12-25
I am using a form to access dynamic link to different homepages.  

The homepage had divided into two frames, left and right.  The form for indexing located in the left frame, and I would like the content will be show in the right frame after user submit their desire.

I had used:

             <BASE>, <TARGET>...etc,

in the form but fail. In addition, only a new browser windows appears if I use:

             Window-target: right

Can any one help me?
0
Comment
Question by:chankct
2 Comments
 
LVL 1

Expert Comment

by:evilgreg
ID: 1827724
Hard to say without seeing the code. Could you provide the HTML or even better the URL?

0
 

Accepted Solution

by:
pchung021797 earned 40 total points
ID: 1827725
Following is the example.

=========================main html file======================
<html>

<head>
<title> ... </title>
</head>

<frameset cols="50%,50%">
  <frame name="left" src="left.html">
  <frame name="right" src="right.html">
</frameset>

=======================left.html=======================
<html>

<body>

<form>

<select name="location" size="1">
    <option value="http://www.microsoft.com/">Microsoft</option>
    <option value="http://home.netscape.com/">Netscape</option>
    <option value="http://www.intel.com/">Intel</option>
</select>

<p>

<input type="button" name="GoButton" value=" Go " onclick="parent.frames[1].location.href = this.form.location.options[this.form.location.selectedIndex].value; return true">

</form>

</body>

</html>
=============================right.html========================
<html>

<body>

right

</body>

</html>

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question