Tags:
create new tag
, view all tags

Question

I am building a table where users can add rows and select the "status" column of each row entry from a list box.

Depending on the status they select, I would like the Cell BGCOLOR to change to Green, Red etc.

Can someone help or point to an existing resource.

Thanks

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris
Web server: Apache 3.0
Perl version: 5.005
Client OS: Windows XP
Web Browser: Firefox 1.5
Categories: Forms, Search, Javascript, Statistics, Documentation, Contributing code, Contributing time, Add-Ons

-- RaviKota - 13 Sep 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

You can put a style with background color in <div> tags. Example:

XXXXXXXXXXXXXX YYYYYYYYYYYYYYYY
normal
ATTENTION

You can put those settings into preferences variables to make it easier to type.

-- PeterThoeny - 24 Oct 2006

 
Change status to:
Topic revision: r2 - 2006-10-24 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.