I've been helping someone out with some JS/CSS in this question for the last five days. It seems every time I answer one problem, the question shifts onto something else. I have asked for the complete code in the comments, to avoid a 'moving goalpost' situation.
What's the best plan for something like this? I don't feel like it warrants a closure of the question, but it's getting to the point where a lot of what the OP is asking, can be found out by searching SO and Google.