Solved

Drop up menu

Posted on 2012-04-04
5
229 Views
Last Modified: 2016-04-17
I would like to make this menu "drop up" instead of "drop down", is this possible?

<select onchange="calcRoute();" id="travel-mode-input" style="margin-left:5px;">
      <option value="DRIVING" selected="selected">By car</option>
      <option value="BICYCLING">Bicycling</option>
      <option value="WALKING">Walking</option>
    </select>
0
Comment
Question by:seopti
5 Comments
 
LVL 30

Accepted Solution

by:
LZ1 earned 500 total points
ID: 37807543
Form elements, such as radio buttons, check boxes and select menus are browser/OS dependent.  

The way a menu "drops" is dependent solely on where the page is positioned when the menu is drawn.  If your page is all the way at the top and your select box is also at the top, it will automatically drop "down".  

However, if your page is near the bottom and so is the select box, then the menu will expand "up".  

The only thing you may be able to do, if you really want/need to, is use Jquery or Javascript.  You can then restyle your form elements to look and function the way you want.
0
 
LVL 9

Expert Comment

by:Evan Cutler
ID: 37807785
For a Ready Made product for you: http://www.stunicholls.com/menu/skeleton_up.html

However, you can make your own, if you do a "view source" on this page: http://aplus.rs/adxmenu/examples/hbt/
That's what it's there for.

Tweak as you want.

it's CSS
0
 
LVL 10

Expert Comment

by:d4durvesh
ID: 37810786
Yes it is possible, please take a look at following,

stackoverflow.com/questions/7814186/drop-down-menu-that-opens-up-upward-with-pure-css
0
 
LVL 58

Expert Comment

by:Gary
ID: 39498041
I've requested that this question be closed as follows:

Accepted answer: 500 points for LZ1's comment #a37807543

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now