"It won't work" tells us nothing. When
asking for help, tell us what you want (or expect) to happen and what actually happens, including any error messages. When
asking about code, include a
minimal sample case. Though it doesn't work, you did include a link to a live page, which is a necessity when asking about web development. If you take the time, you can
ask a question perfectly, which will vastly improve the quality of the answers we can provide.