|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Select menu to choose color
I need to have a select menu that includes several color options. But I need the actual color to show in a box to the left of the color name.
Example: I cannot figure out a way to accomplish this. Does anyone have any ideas? Thanks in advance. |
|
#2
|
|||
|
|||
|
RE: Select menu to choose color
I'm not sure you can put image inside drop down box.
You can use name red and color it in red. Or you can use DHTML to crete onmouseover to show table with colors. |
|
#3
|
|||
|
|||
|
RE: Select menu to choose color
you'd have to do something like
Code:
<style type="text/css">
.red {background:#FF0000;color:#FFFFFF;}
.blue{background:#0000FF;color:#FFFFFF;}
etc etc
</style>
<select> <option class="red">Red</option> <option class="blue">Blue</option> </select> |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Select menu to choose color |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|