Subject: Displaying drop down menus on the top of Combo box
Posted By: karunkumar_g Post Date: 12/12/2005 1:40:08 AM
I need some help regarding how to display the drop down menu on the top of the combo boxes. Because, by default, the combo box is on the top of the menu.

Drop down menu dropping up to some extent in my web page. Up to that position, I want all the combo boxes to be set at the back of that menu or even hide them (upto the space occupying by the menu).

Please help me how to do dynamically for every page instead of implementing anything for that particular page's combo box components.

Reply By: joefawcett Reply Date: 12/13/2005 4:46:01 AM
I don't know how your drop down menu is implemented, if it is also a list box then you can set the z-index to be higher than the one you want below.

If it is made up of standard HTML elements such as div and span. then you need to manipulate the style.visibility of the listbox before and after you show the menu.

--

Joe (Microsoft MVP - XML)
Reply By: karunkumar_g Reply Date: 12/14/2005 5:27:52 AM
The drop down menu I am using is a DHTML drop down menu. The z-index is not working for the above mentioned problem. I am generating the menu items dynamically in which the names are coming from the database. Now, by default the code is having some z-index of 100 in the JS file. But, nothing is working to display the menu over the combo box.

So, now is there the iframe that I can use to solve the same problem?
Please help me.

Reply By: joefawcett Reply Date: 12/14/2005 12:46:24 PM
Read my original post again, I said if the menu is not another listbox then z-index will not work.

--

Joe (Microsoft MVP - XML)

Go to topic 25569

Return to index page 417
Return to index page 416
Return to index page 415
Return to index page 414
Return to index page 413
Return to index page 412
Return to index page 411
Return to index page 410
Return to index page 409
Return to index page 408