dropdown menu... in ASP

  • Thread starter Thread starter Cheryl
  • Start date Start date
Maybe the author could help?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
Hi,

Cheryl said:
I have grabbed a menu from a javascript site (
http://www.dynamicdrive.com/dynamicindex1/topmen3/index.htm ) and added to
my page.
The problem is however the dropdown comes down on top of text and input
boxes , as you would expect and desire, *but* behind dropdown boxes on the
page.
Surely there is a simple fix for this?

There is no fix for this. Reason: the select html element (the output from
the asp.net DropDownList server control) is a windowed control and does not
support the z-index attribute or zIndex property. See the remarks:

http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/select.asp

There is a workaround, sort of. Move the select html elements (the asp.net
DropDownList server controls) away from the area in which the menu expands.
There are also other ways (see the end of the following article
http://support.microsoft.com/?kbid=177378), but this is the one that
requires least effort.

Hope this helps
Martin Dechev
ASP.NET MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top