Solved

Redirect URL to a specified frame

Posted on 1997-02-17
2
176 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

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

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

623 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