2CODE;11014649 wrote:I don't know why it doesn't work, I've attached the html version of the code.
why what doesn't work? what did you try?
You need to describe:
...what you did
...what you expected to happen
...what actually happened
...what you did to try and solve it (or even just where you think the problem might be: i.e., any changes you made from the working version in the article you got the script from).
People are far more likely to help you solve a problem when it's obvious that you're trying to solve it, as opposed to just saying "it doesn't work" and waiting for someone to fix it.
I would also recommend posting the problematic code itself (not a zip) using the forum's BBCode tags, and/or linking to the page you're actually working on (or a "demo" page, e.g., using jsfiddle). These things make troubleshooting much, much easier.