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?
the code shud be cross browser?
any ideas?
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.
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...
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i saw this code too.. but does not work for me...
why shud i show and hide a div here..
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?
What are you trying to achieve, exactly? Do you have sample code?
ASKER
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...
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?