css & javascript?

Out of context: Reply #2

  • Started
  • Last post
  • 3 Responses
  • gabriel_pc0

    The link comes up as broken but changing the color of the headers shouldn't be that difficult. You can set just about any property of it through DOM and you can use JavaScript to generate the random number. If I were doing it I'd make an array of the colors that I want it to be, then select a random number with JavaScript and set the color of the header to the corresponding color value in the array. Email me if that doesn't make sense.

View thread