Link to home
Start Free TrialLog in
Avatar of archrajan
archrajan

asked on

custom select box

i am searching for a custom select box(drop down) to add in my site because i have the menu overlapping problem due to the zindex property of select tags..

the code shud be cross browser?

any ideas?
Avatar of dbritt
dbritt

Use a drop down menu. Lots of them available at free code sites like www.dynamicdrive.com
What I usually do with my select boxes, is that I hide them all when I have a div layer being shown (menu, popup, etc) and then when the layer is hidden, I revert the visibility of all the select boxes. Keep their states in an array and just loop through to undo it when the layer closes.
Avatar of archrajan

ASKER

can u give me a sample code to hide them?(i mean a genric script which i can use in all pages)

drop down menu is not a good idea for me...
Actually you can fix this reall easily, put an iframe right behind your div.... it's a bug were the select boxes have the highest zindex when rendered but the iframe can be placed over top of it but under the div.... Even a transparent iframe
inside the Iframe you can have the source be "about:blank;" so it loads nothing
You can research it further with the words "iframe shim"
ASKER CERTIFIED SOLUTION
Avatar of dbritt
dbritt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i saw this code too.. but does not work for me...

why shud i show and hide a div here..
Perhaps we are not understanding your problem...

What are you trying to achieve, exactly? Do you have sample code?
i cannot post the code fully
am having a left navigation dhtml menu and have some drop down boxes in my page and my problem is that my dhtml menu overlaps with the drop down boxes...
You mean to say that when the menu expands that it goes underneath the drop down boxes?