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

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.

主站蜘蛛池模板: 大丰市| 会泽县| 宜君县| 聂荣县| 亳州市| 灵宝市| 东至县| 临潭县| 昌江| 昂仁县| 夹江县| 邻水| 甘洛县| 岑溪市| 阜宁县| 获嘉县| 增城市| 醴陵市| 闸北区| 醴陵市| 南部县| 中阳县| 鄂托克旗| 苍山县| 泰安市| 仙居县| 汉川市| 沛县| 固始县| 临武县| 昌黎县| 佛冈县| 咸宁市| 烟台市| 西城区| 恩施市| 图们市| 玉门市| 白银市| 饶河县| 丹阳市|