File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript dropdown over text field

 
Pranav Sharma
Ranch Hand
Posts: 258
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'am using javascript and css to create a drop down "navigation menu".

however when the drop down menu comes over a text input field, the drop down gets blocked as in, the drop down does not hover over the text box.

How do i solve this. If this not a known issue, i can put the code snippet im using to create the drop down.

thanks
[ October 26, 2005: Message edited by: mannu kapoor ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most browsers do not have problem with text field, but have problems with a select element. The solution is to place an iframe under the layer. How to implement it really depends on the code that exists.

Eric
 
Pranav Sharma
Ranch Hand
Posts: 258
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my code. Could you help me with this please


the jsp


the javascript



The CSS




Thanks

(ps. changed mouseout and mouseover to miceout & miceover. onload to onlYload to post)
[ October 28, 2005: Message edited by: mannu kapoor ]
 
Pranav Sharma
Ranch Hand
Posts: 258
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could you help me with this. i tried it with the select field and the select field over shadows the menu

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic