> Is there a way to put a background image in a select box? What
> I want to
> do is set up a admin page for a message board to allow the admin to
> choose the colors for the site.
>
> I would like to do something like so, but do not know how, or if it is
> even possible.
>
> <SELECT NAME="color_1">
> <OPTION VALUE="" SELECTED>Please choose
> <OPTION VALUE="##800FF9" style="background-image: 800FF9.gif;">
> </SELECT>

Take a look at http://fuselets.com/cftips/, then click on the "Put this
Fuselet on your web page" link. You'll see some color selectors like
you're talking about (except they don't use images, they use stylesheet
colors). They've been built with a looping JS function for fast page loads
(small kb footprint, let the client do the calcs). Fails gracefully with
NS. Feel free to grab the html/js source.

Ron Hornbaker
President/CTO
  .  .  .  .  .  .  .  .  .  .  .  .  http://humankindsystems.com
  .  .  .  .  .  .  .  .  .  .  .  .  w e  c o d e.  w e  c a r e.
  .  email tracking and routing made easy: http://answertrack.com


______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to