I know it changes the background color. I'm trying to wrap my head around how it's read. I see $bg=='#eeeeee' means $bg equals '#eeeeee' . Then the ? mark. What is it all saying?
What's it telling the script to do to have it alternate background colors? Break it down, please.