Solved

Javascript drop-down to run over frames?

Posted on 2000-03-24
3
162 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
show form submit button based on jquery sum 5 44
Button to go back 3 28
PHP Curl to output a url 7 46
How to make a good PHP + MySQL + JS pagination system? 3 31
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

809 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