SunQuest
           Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
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  
Old February 22nd, 2005, 09:56 PM
exploring_mind exploring_mind is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Florida USA
Posts: 8 exploring_mind User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 19 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old February 27th, 2005, 08:16 PM
mgalesic mgalesic is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Croatia
Posts: 92 mgalesic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 2 m 57 sec
Reputation Power: 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.

Reply With Quote
  #3  
Old March 1st, 2005, 02:40 AM
spud spud is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Melbourne, Australia
Posts: 163 spud User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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>

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Select menu to choose color


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway