Solved

Redirect URL to a specified frame

Posted on 1997-02-17
2
174 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
The viewer will learn how to dynamically set the form action using jQuery.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

820 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