Supplying an image and setting in how many squares it should be cut is all that is necessary.
Here are some key features of "JS Puzzle":
· img.src = "zebra-puzzle.jpg" // url of the image
· var rows = 4 // Cut the image in ... rows
· var cols = 4 // Cut the image in ... cols
· var img_width = 283 // width of the image
· var img_height = 300 // height of the image
· var offsetleft = 0 // left possition of the puzzle
· var offsettop = 10 // top position of the puzzle
· var text1 = "Click the mix button to begin." // Text to explain how to start new game
· var text2 = "Mix" // Mix cards button text
· var text3 = "Congratulations you complete the puzzle in " // Congratulations text - the time taken to complete will be appended to this text