Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

What would be the complete script to change the background color of one cell in a CBC analysis?

Dear,

When I add the first HTML-code to the text of the level that I want to give a color, and the second script in the CBC footer, my background color did not change. I guess I do something wrong with the basics of HTML. Would you provide me the complete script to change the background color of one cell in a CBC analysis? And in addition, were did I have to put my text in the script?
asked Feb 28 by Niek
What version of SSI Web / Lighthouse Studio are you using?
Dear Zachary,

I am using Lighthouse Studio version 9.5.3

Thanx in advance!
Many many thanx!

Regards,
Niek

1 Answer

+1 vote
Here's the script updated for 9.5.3:

<script>
$(document).ready(function(){
    $('.cbcbg').each(function(){
        $(this).closest('.concept_cell').css('background-color', $(this).data('bgcolor'));
    });
})
</script>
answered Mar 1 by Zachary Platinum Sawtooth Software, Inc. (83,650 points)
...