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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-10-24 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.