The final output looks like:

Traffic light column in custom list (de en)_4

 

If you want to get my icons you can get them here.

The dropdown values of the column status are:

Traffic light column in custom list (de en)_3

I uploaded my traffic light icons here (http://sp13/teams/PublishingImages/Ampel/): (I guess your location is something different)

Traffic light column in custom list (de en)_1

Important: Don’t forget to publish them as a major version! In the picture below you can see, that there are 4 pictures saved as draft!

Traffic light column in custom list (de en)_2

Now save the Javascript below and upload it to your masterpage gallery and link it to a list like in my other post.

If your column isn’t called “Status” you have to change this in the code, same for the dropdown options or if your location of the traffic light icons is a different one.

As always, don’t be afraIT to ask or comment!

LEAVE A REPLY

Please enter your comment!
Please enter your name here