0

Hi all,
I am adding code to a SharePoint 2007 list where I want a calculated field to be a colored square based on a status column. I have all the code I need to create a colored round bullet, but I would like the bullet to be square or a rectangle. I was not able to find a repalcement for the "bull" in the below code.

arr[i].innerHTML = "<DIV title='Long Term Focus' style='font-weight:bold; font-size:24px; color:green'>&bull;</DIV>";

Thanks in advance,
Joe

3
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by jaylou
0

Thanks for the response. I am a newbie, what would I change in my code that will produce a colored square instead of the colored circular bullet?

0

Change the "bullet;" with "#9632;" (leave the & alone).

Edited by hielo: n/a

0

I thought that it was pretty obvious ;) but anyway here it is:

<DIV title='Long Term Focus' style='font-weight:bold; font-size:24px; color:green'>&#x25A0;</DIV>

~G

0

Thank you!! Now you all know how much of a newbie i really am :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.