官术网_书友最值得收藏!

Getting ready

Make sure that you have set up jQuery and jQuery UI files as explained in Chapter 1, Designing a Simple Quiz Application. You will also need an image that has dimensions equal to 400px x 400px. The code in this chapter uses an image of a cute cat, named kitty.jpg. Of course, you can use any image of your choice. Keep this image in the Chapter2 folder.

Since we will create 16 pieces of this image, each having both width and height equal to 100 px, keep in mind that the image you choose should not have a single square area of the same color exceeding 100px x 100px. This will create problems while solving the puzzle as you will be unable to determine the correct locations of multiple pieces of the same color.

主站蜘蛛池模板: 修武县| 阿拉善右旗| 独山县| 尤溪县| 缙云县| 浦城县| 昆山市| 伊春市| 肃南| 松阳县| 荃湾区| 衡南县| 桂平市| 焦作市| 贺兰县| 会昌县| 张北县| 增城市| 巴彦县| 玛曲县| 合肥市| 深圳市| 清苑县| 团风县| 南昌市| 大英县| 台北市| 包头市| 广东省| 湛江市| 丹江口市| 理塘县| 甘孜县| 台山市| 上林县| 富川| 体育| 泾源县| 道真| 扶绥县| 嘉鱼县|