Adding Stripes to My Ranking Question

Last Updated: 09 Jun 2014Hits: 4818
I would like to add some horizontal stripes to my SSI Web 8 ranking question. How do I do this?

That's not a problem when we use SSI Web built-in jQuery library. If your ranking question is on its own page, all you need to do is drop the following code into the footer of your ranking question to add a "zebra" stripe to your ranking question. You can change the stripe color by changing #F1F1F1 to something else. See http://html-color-codes.info for a list of available color codes.

<style>.odd {background: #F1F1F1;}</style>
<script>
$(document).ready(function() {
 $(".inner_table tr:odd").addClass("odd");
});
</script>