dropdown

.NET WinForm ComboBox - How to alter the DropDown behavior

I've got a fairly long list in a ComboBox, and I want the DropDown behavior to be different. Normally, when you click the arrow, the list expands showing all options, starting with the selected option. Options listed above the selected option are hidden, but can be seen by scrolling up. I want the list to scroll up a bit, showing the s...

iframe z-index dropdown menu

Due to the structure of my website, i am forced to use a iframe to display the dropdown menu html file. if not, I am not able to see the dropdown in IE. Here is the code I am using. <iframe id="a"name="FRAMENAME" src="http://website.com/dropdown.html" width="1000" style="position:relative" background="#F3F0ED" style="z-index:10000" heig...

Drop down troubles in .net using VB and view model

OK I am new to .net, I am just taking a shot in the dark through this whole thing. I have an Addresses table with a StateID and CountryID field. They refer to the States and Countries table. I am using LINQ to SQL and Visual Studio 2010. In my AddressesController I have: Function Create() As ActionResult Dim these_states =...

How do you set a selected item in an HTML dropdown by name, not by value?

I have an HTML combobox which contains unique options. For example, a country dropdown which contains country_id as a value and country name as text. Is there any way using jQuery or JavaScript to let me set the selected item using the country name not the country_id? ...

Javascript - Disable a control when a drop down list selected index changed

I need to know how to disable a button when the selected index of a drop down list has changed. I want to do it in javascript because i don't want to cause a postback. Thanks. ...

JQuery drop down, remain down while hover over drop down

I setup a jquery dropdown menu that works perfect. It drops down when a user rolls over a link. The problem is that when the user rolls over the content area of the drop down menu, it slides back up. I need to set up the code so that the slidedown box remains in the down position while the user's cursor is still over it. Here is my HTM...

Pure CSS Drop down menu's 3rd tier: to match the width of its widest sibling.

Hi, I wonder why the width of the 3rd list in my drop down menu does not have the width of its longest text length. I have removed the width completely so that by default, the width of the list can match its longest text length. Does anyone know how to fix this?? This is the html, <div id="footer"> <ul> ...

How to display dropdown menu to exceed header div

Hello everybody! I have problem in displaying drop-down menu. Please, see the example on: http://staging.gwynconsulting.com/rif/hello-world-2/ When I hover 'Rent it finished', I can't display all menu items. I tried to play with many css properties, but I can't make it work... Thank you... ...

Javascript drop-down form math calculation

I'm trying to create a page where there are two dropdown menus, and then when the user presses submit, it calculates a price based on the data given from the dropdown menu. It needs to take either 1 or 2 from the first dropdown menu choice, multiply that by the value of the second dropdown menu choice, multiply that by 0.2, and output it...

Patterns for handling a "review input" page with DropDown items in ASP.NET MVC 2

Does anyone have suggestions for best practices using "review" pages and dropdown items? (What I mean by "review" page is, they enter data and press submit, that goes to a "pass-through" action that renders a summary of what they entered and if they like it, they press submit and it posts to an action that takes it and stuff it.) For ...

How can I create a drop down menu with google app engine??

I trying to make a drop down menu with Google app engine and http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm I follow above instruction from above website, it seems css file is not working with google app engine ?? Does anyone know how to make drop down menu with google app engine or how can I use css with google app engine...

Anchors in a dropdown menu

I have a page with several links. I want to make that when a user clicks link #1 he will be redirected to a contact form and select item #1 in the dropdown menu. Same goes for #2 and item #2 in the dropdown menu. Is this possible ? ...

Populating a JSP dropdown list with folder names

How do I populate a dropdown list (in a JSP page) dynamically with all the folders present in the same directory as the JSP page, on Apache Tomcat? ...

Converting single level to multilevel dropdown menu using jquery....

I just developed a single level dropdown menu using jquery... How to refactor the same code to make it a multilevel dropdown menu... Here is my working sample.... The jquery what i used, $(document).ready(function() { $("#Programming ul.child").removeClass("child"); $("#Programming li").has("ul").hover(function() { $(this).addClass...

douplacate drop down menu onchange

I use drop down menu - that contain all tags- for select tags for a topic. so, I need after users select a first tag, new drop down menu appere , and so on. ...

Problems with dropdown list selected item asp.mvc2

After validation dropdown list do not select previose value. <%: Html.DropDownList("Country", (SelectList)ViewData["Country"],"") %> However in Quick View there is correct selected value. :( ...

Problem with MultiAutoCompleteTextView Drop Down

Hi all, I've an MultiAutoCompleteTextView in my app with a dynamic list. That is to say when user write letters, I call host to do a list with the words that begins with the letters written. The Completion work fine when there is an answer but when the host give me an empty list It doesn't. When I have no answer I would like to write "...

adding an additional link to the wp_pages_dropdown menu in wordpress

I'm working on a wordpress theme that uses dropdowns for part of the site navigation. I'm using wp_pages_dropdown and wp_dropdown_categories to output my menus as a dropdown jump menu, this is all good,works fine, but I would like to add a 'home' link to the end of the list of <option>'s I have been having a go at it - my html/css is ...

Please help me with this ajax/javascript/php

Hey guys, I am trying to create a chained list here. I want the user to choose something on the first 4 drop down list and once the last one is chosen, another one is supposed to pop up. I am just testing my code right now and for some reason the my codes are not showing the dropdown list that is supposed to be shown when the last inpu...

CSS Dropdown Menu Problem

Hi all, i have a Problem with my Wordpress Design, specialy with Dropdownmenu. http://fincha.com/wordpress/ Check this, in the main menu "Versicherungen" you will see, i tryed allready all combinations with z-index... without results. :( if some one have a nice idea for this menu, just tell :) thx ...