aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes javascript dropdown over text field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript dropdown over text field" Watch "javascript dropdown over text field" New topic
Author

javascript dropdown over text field

Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 256
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Oct 27, 2003
Posts: 256
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

Joined: Oct 27, 2003
Posts: 256
could you help me with this. i tried it with the select field and the select field over shadows the menu

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript dropdown over text field
 
Similar Threads
Best way - DHTML Drop Down Menus
JS Displaying content?
combox
Drop Down list items overlapping with Text field
drop-down list / textbox