Solved

Redirect URL to a specified frame

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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 …

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now