Solved

Javascript drop-down to run over frames?

Posted on 2000-03-24
3
161 Views
Last Modified: 2013-12-25
I have javascript generated drop-down menu that works fine.  I have put this in a header frame with links to change the lower frame.  This all works OK, but some of the pull-down menu items are too long and disappear out of the bottom of the header frame.

How can I get the pull-down to run over the top of the frame below?
0
Comment
Question by:susannahbond
  • 3
3 Comments
 
LVL 3

Expert Comment

by:MHQ
ID: 2654955
Since each frame is it's own "browser" window, it's impossible to let a dropdown menu go across the frames.

One solution to this is either to have all of the menu appear in the lower frame, but to be controled from the upper.

Another (not as pretty) is to divide the menu in two parts and show each half in the corresponding frame.
0
 
LVL 3

Expert Comment

by:MHQ
ID: 2654966
Sorry, left out the third solution.
You can have a new window appear where the menu should be, won't look very nice though.
0
 
LVL 3

Accepted Solution

by:
MHQ earned 100 total points
ID: 2658980
Posting this as an answer. Tell me if you need help with the code.

You can not have a menu that lies ontop of the frames. The three possible ways around this are:

1: Have the whole menu appear in the lower frame.

2: Have half the menu appear in each frame.

3: Have a new window pop-up with the menu.

My recomendation is that you go with #1. It's easy to do and control, looks good and is in my oppinion the best choise.
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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

772 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