I have an announcement list slider (using the Hillbilly slider set up.) I've added a heading section that pulls the Title field of the announcement list. I would like to add some Javascript that will change the <h2>
tag to a color chosen from a drop down column in the announcement list.
I've tried to using the formatting in SharePoint Designer to change the list itself but it seems like the title field can be formatted. Would anyone be able to help.
Basically the formula would be "if Text Color" equal 'green' set <h2>
to color: green;
. I just don't know how to write the formula.