Log in

View Full Version : help with drop down box



sukanya.paul
12-08-2008, 08:21 AM
hi i have a drop down list for categories whose basic width is 175 px; but the values are quite long. on clicking on the drop down its displaying the values to wards the right and in doing so the complete values are not being displayed as there isnt much space on the right.
is there any method of displaying the values to the left of the box?
Any help will be appreciated.
Thanks
Suk

molendijk
12-08-2008, 12:46 PM
See this (http://www.dynamicdrive.com/forums/showthread.php?t=38712). Your can practice here (http://molendijk.110mb.com/NavigationWithSelect2/preview_select/preview_select.html).
===
Arie Molendijk

the penguin
12-08-2008, 06:13 PM
molendijk,

Why does the drop down arrow disappear from the the select box?

This solution is exactly what i was looking for, i just need the arrow to stay.

molendijk
12-08-2008, 08:33 PM
Why does the drop down arrow disappear from the the select box?
That's intentional.
I made a quick modification that maintains the arrow, see this (http://molendijk.110mb.com/selectboxCustom/selectbox.html). There's a download. (The links don't work, because we just have one page).
===
Arie.

the penguin
12-08-2008, 09:24 PM
I See.

Is there a way to make the arrow.gif clickable to perform the same function as when you click on the text?

molendijk
12-08-2008, 11:01 PM
Is there a way to make the arrow.gif clickable to perform the same function as when you click on the text?
I didn't try that, but it should be possible to do it in the object-tag that goes with every select tag. Try an alert to see if that works.
===
Arie.

sukanya.paul
12-09-2008, 11:06 AM
thanks for all the replies but i have another doubt..
even though i chnage the direction the text is too long to be viewed..
what can i do to show the entire text that is highlighted.

molendijk
12-09-2008, 01:52 PM
even though i chnage the direction the text is too long to be viewed..what can i do to show the entire text that is highlighted.
Can you give me a page where that happens?
===
Arie.