Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Javascript drop-down to run over frames?

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
susannahbond
Asked:
susannahbond
  • 3
1 Solution
 
MHQCommented:
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
 
MHQCommented:
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
 
MHQCommented:
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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now