Hello!
I am attempting to create a list that shows a colored date when an item is almost due or past due. With some research and some forum diving I stumbled upon some javascript to put in a CEWP. The code is a mix of Alexander Bautz inspired by Christophe@pathtosharepoint.
http://blog.pathtosharepoint.com/2008/1 ... nd-method/Instead of returning a "traffic light" I was hopeing to return the "due date" colored in red or yellow depending on when it is due.
Code:
arr[i].innerHTML = "<DIV title='Due " + frendlyFieldDate + "' style='font-weight:bold; font-size:24px; color:yellow'>•</DIV>";
Is there a way to put a variable (hopefully "frendlyFieldDate") where the "&bull" is? this way it would show the date in yellow instead of a yellow bullet?