Go Premium for a chance to win a PS4. Enter to Win


drop down menu...

Posted on 1997-04-25
Medium Priority
Last Modified: 2013-12-25
I'm using a javascript function to define a drop down menu with a number of html links.  The menu is within a frame of my document, but I want the selected link to fill the entire screen (a la TARGET="_top").  What happens with my script is that it only fills the current frame.  Here's what I've coded so far:

<FORM NAME="Companies">
<SELECT NAME="lstItem">
<OPTION VALUE="http://www.lowrance.com">Lowrance
<OPTION VALUE="http://www.northwesternmutual.com">NW Mutual Life
<OPTION VALUE="http://www.erac.com">Enterprise Rent-a-Car
<OPTION VALUE="http://www.eds.com:80">EDS
<OPTION VALUE="http://www.navistar.com">Navistar
<OPTION VALUE="http://www.prince-machine.com">Prince
<INPUT TYPE="button" NAME="btnSubmit" VALUE="<--  Connect to This Company"

Any Ideas?
Question by:isle

Author Comment

ID: 1854126
Edited text of question

Accepted Solution

icd earned 200 total points
ID: 1854127
You almost answered your own question:

OnClick="window.location.assign(Companies ...
OnClick="top.location.assign(Companies ...
OnClick="parent.location.assign(Companies ...

which according to the Netscape spec should work as you require.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

916 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