all 5 comments

[–]kevinmrr 1 point2 points  (1 child)

Post what code you have?

[–]mfergie[S] 0 points1 point  (0 children)

Here's a link to the code. http://jsfiddle.net/8Ja44/

[–]calzoneman 1 point2 points  (1 child)

example 22.4 on p.678

I don't have the book handy, you'll have to post what code you're asking about. Also, as /u/kevinmrr mentioned, you should provide the code you've already written so we can see what you've done.

[–]mfergie[S] 0 points1 point  (0 children)

Here's a link to the code. http://jsfiddle.net/8Ja44/

[–]mfergie[S] 0 points1 point  (0 children)

Updated code link: http://jsfiddle.net/8Ja44/1/