diff --git a/Ch1/1-1(simple).html b/Ch1/1-1(simple).html
index 1c9f981..369ab00 100644
--- a/Ch1/1-1(simple).html
+++ b/Ch1/1-1(simple).html
@@ -1,17 +1,17 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch1/1-2(window.onload).html b/Ch1/1-2(window.onload).html
index ebefaab..9604c63 100644
--- a/Ch1/1-2(window.onload).html
+++ b/Ch1/1-2(window.onload).html
@@ -1,19 +1,19 @@
-
-
-
-
-1-2
-
-
-
-
+
+
+
+
+1-2
+
+
+
+
\ No newline at end of file
diff --git a/Ch1/1-3(document.ready).html b/Ch1/1-3(document.ready).html
index 8469659..a90055e 100644
--- a/Ch1/1-3(document.ready).html
+++ b/Ch1/1-3(document.ready).html
@@ -1,22 +1,22 @@
-
-
-
-
-1-3
-
-
-
-
-
-
+
+
+
+
+1-3
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch1/1-4\265\274\272\275\300\270/1-4-1\263\365\312\274\273\257.html" "b/Ch1/1-4\345\257\274\350\210\252\346\240\217/1-4-1\345\210\235\345\247\213\345\214\226.html"
similarity index 96%
rename from "Ch1/1-4\265\274\272\275\300\270/1-4-1\263\365\312\274\273\257.html"
rename to "Ch1/1-4\345\257\274\350\210\252\346\240\217/1-4-1\345\210\235\345\247\213\345\214\226.html"
index e916b2d..bdc59f8 100644
--- "a/Ch1/1-4\265\274\272\275\300\270/1-4-1\263\365\312\274\273\257.html"
+++ "b/Ch1/1-4\345\257\274\350\210\252\346\240\217/1-4-1\345\210\235\345\247\213\345\214\226.html"
@@ -1,44 +1,44 @@
-
-
-
-
-导航栏
-
-
-
-第一步:初始化:
-
-
-
-
-
-
-
+
+
+
+
+导航栏
+
+
+
+第一步:初始化:
+
+
+
+
+
+
+
diff --git "a/Ch1/1-4\265\274\272\275\300\270/1-4-2.html" "b/Ch1/1-4\345\257\274\350\210\252\346\240\217/1-4-2.html"
similarity index 96%
rename from "Ch1/1-4\265\274\272\275\300\270/1-4-2.html"
rename to "Ch1/1-4\345\257\274\350\210\252\346\240\217/1-4-2.html"
index d42d0a1..79183ad 100644
--- "a/Ch1/1-4\265\274\272\275\300\270/1-4-2.html"
+++ "b/Ch1/1-4\345\257\274\350\210\252\346\240\217/1-4-2.html"
@@ -1,57 +1,57 @@
-
-
-
-
-导航栏
-
-
-
-
-
-
-
-
-第二步:
-
-
-
-
-
-
-
+
+
+
+
+导航栏
+
+
+
+
+
+
+
+
+第二步:
+
+
+
+
+
+
+
diff --git "a/Ch1/1-4\265\274\272\275\300\270/1-4-3\323\305\273\257\272\363.html" "b/Ch1/1-4\345\257\274\350\210\252\346\240\217/1-4-3\344\274\230\345\214\226\345\220\216.html"
similarity index 96%
rename from "Ch1/1-4\265\274\272\275\300\270/1-4-3\323\305\273\257\272\363.html"
rename to "Ch1/1-4\345\257\274\350\210\252\346\240\217/1-4-3\344\274\230\345\214\226\345\220\216.html"
index d03e4dd..4fddd44 100644
--- "a/Ch1/1-4\265\274\272\275\300\270/1-4-3\323\305\273\257\272\363.html"
+++ "b/Ch1/1-4\345\257\274\350\210\252\346\240\217/1-4-3\344\274\230\345\214\226\345\220\216.html"
@@ -1,60 +1,60 @@
-
-
-
-
-导航栏
-
-
-
-
-
-
-
-
-第三步:优化后:
-
-
-
-
-
-
-
+
+
+
+
+导航栏
+
+
+
+
+
+
+
+
+第三步:优化后:
+
+
+
+
+
+
+
diff --git "a/Ch1/1-4\265\274\272\275\300\270/css/default.css" "b/Ch1/1-4\345\257\274\350\210\252\346\240\217/css/default.css"
similarity index 96%
rename from "Ch1/1-4\265\274\272\275\300\270/css/default.css"
rename to "Ch1/1-4\345\257\274\350\210\252\346\240\217/css/default.css"
index 70bd4ad..1bfc5c1 100644
--- "a/Ch1/1-4\265\274\272\275\300\270/css/default.css"
+++ "b/Ch1/1-4\345\257\274\350\210\252\346\240\217/css/default.css"
@@ -1,49 +1,49 @@
-/* reset */
-body{margin:0;padding:0 0 12px 0;font-size:12px;line-height:22px;font-family:"\5b8b\4f53","Arial Narrow";background:#fff;}
-form,ul,li,p,h1,h2,h3,h4,h5,h6{margin:0;padding:0;}
-input,select{font-size:12px;line-height:16px;}
-img{border:0;}
-ul,li{list-style-type:none;}
-a {color:#00007F;text-decoration:none;}
-a:hover {color:#bd0a01;text-decoration:underline;}
-
-.box {
- width: 150px;
- margin: 0 auto;
-}
-.menu{
- overflow:hidden;
- border-color: #C4D5DF;
- border-style: solid;
- border-width: 0 1px 1px;
-}
-/* lv1 */
-.menu li.level1 a{
- display: block;
- height: 28px;
- line-height: 28px;
- background:#EBF3F8;
- font-weight:700;
- color: #5893B7;
- text-indent: 14px;
- border-top: 1px solid #C4D5DF;
-}
-.menu li.level1 a:hover{text-decoration:none;}
-.menu li.level1 a.current{background:#B1D7EF;}
-/* lv2 */
-.menu li ul{overflow:hidden;}
-.menu li ul.level2{display:none;}
-.menu li ul.level2 li a{
- display: block;
- height: 28px;
- line-height: 28px;
- background:#ffffff;
- font-weight:400;
- color: #42556B;
- text-indent: 18px;
- border-top: 0px solid #ffffff;
- overflow: hidden;
-}
-.menu li ul.level2 li a:hover{
- color:#f60;
+/* reset */
+body{margin:0;padding:0 0 12px 0;font-size:12px;line-height:22px;font-family:"\5b8b\4f53","Arial Narrow";background:#fff;}
+form,ul,li,p,h1,h2,h3,h4,h5,h6{margin:0;padding:0;}
+input,select{font-size:12px;line-height:16px;}
+img{border:0;}
+ul,li{list-style-type:none;}
+a {color:#00007F;text-decoration:none;}
+a:hover {color:#bd0a01;text-decoration:underline;}
+
+.box {
+ width: 150px;
+ margin: 0 auto;
+}
+.menu{
+ overflow:hidden;
+ border-color: #C4D5DF;
+ border-style: solid;
+ border-width: 0 1px 1px;
+}
+/* lv1 */
+.menu li.level1 a{
+ display: block;
+ height: 28px;
+ line-height: 28px;
+ background:#EBF3F8;
+ font-weight:700;
+ color: #5893B7;
+ text-indent: 14px;
+ border-top: 1px solid #C4D5DF;
+}
+.menu li.level1 a:hover{text-decoration:none;}
+.menu li.level1 a.current{background:#B1D7EF;}
+/* lv2 */
+.menu li ul{overflow:hidden;}
+.menu li ul.level2{display:none;}
+.menu li ul.level2 li a{
+ display: block;
+ height: 28px;
+ line-height: 28px;
+ background:#ffffff;
+ font-weight:400;
+ color: #42556B;
+ text-indent: 18px;
+ border-top: 0px solid #ffffff;
+ overflow: hidden;
+}
+.menu li ul.level2 li a:hover{
+ color:#f60;
}
\ No newline at end of file
diff --git "a/Ch1/1-5(\261\355\270\361).html" "b/Ch1/1-5(\350\241\250\346\240\274).html"
similarity index 95%
rename from "Ch1/1-5(\261\355\270\361).html"
rename to "Ch1/1-5(\350\241\250\346\240\274).html"
index 58fe34f..8554197 100644
--- "a/Ch1/1-5(\261\355\270\361).html"
+++ "b/Ch1/1-5(\350\241\250\346\240\274).html"
@@ -1,55 +1,55 @@
-
-
-
-
-表格
-
-
-
-
-
-
-
+
+
+
+
+表格
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch1/1-6(DOM\266\324\317\363\272\315jQuery\266\324\317\363).html" "b/Ch1/1-6(DOM\345\257\271\350\261\241\345\222\214jQuery\345\257\271\350\261\241).html"
similarity index 96%
rename from "Ch1/1-6(DOM\266\324\317\363\272\315jQuery\266\324\317\363).html"
rename to "Ch1/1-6(DOM\345\257\271\350\261\241\345\222\214jQuery\345\257\271\350\261\241).html"
index 85519c2..4838242 100644
--- "a/Ch1/1-6(DOM\266\324\317\363\272\315jQuery\266\324\317\363).html"
+++ "b/Ch1/1-6(DOM\345\257\271\350\261\241\345\222\214jQuery\345\257\271\350\261\241).html"
@@ -1,27 +1,27 @@
-
-
-
-
-1-5
-
-
-
-
-
-例子
-你最喜欢的水果是?
-
-
+
+
+
+
+1-5
+
+
+
+
+
+例子
+你最喜欢的水果是?
+
+
\ No newline at end of file
diff --git "a/Ch1/1-7\302\333\314\263\327\242\262\341/1-7-1(DOM\267\275\312\275).html" "b/Ch1/1-7\350\256\272\345\235\233\346\263\250\345\206\214/1-7-1(DOM\346\226\271\345\274\217).html"
similarity index 97%
rename from "Ch1/1-7\302\333\314\263\327\242\262\341/1-7-1(DOM\267\275\312\275).html"
rename to "Ch1/1-7\350\256\272\345\235\233\346\263\250\345\206\214/1-7-1(DOM\346\226\271\345\274\217).html"
index f2b390c..665c733 100644
--- "a/Ch1/1-7\302\333\314\263\327\242\262\341/1-7-1(DOM\267\275\312\275).html"
+++ "b/Ch1/1-7\350\256\272\345\235\233\346\263\250\345\206\214/1-7-1(DOM\346\226\271\345\274\217).html"
@@ -1,24 +1,24 @@
-
-
-
-
-1-6-2
-
-
-
-
-
- 我已经阅读了上面制度.
-
+
+
+
+
+1-6-2
+
+
+
+
+
+ 我已经阅读了上面制度.
+
\ No newline at end of file
diff --git "a/Ch1/1-7\302\333\314\263\327\242\262\341/1-7-2(jQuery\267\275\312\275).html" "b/Ch1/1-7\350\256\272\345\235\233\346\263\250\345\206\214/1-7-2(jQuery\346\226\271\345\274\217).html"
similarity index 97%
rename from "Ch1/1-7\302\333\314\263\327\242\262\341/1-7-2(jQuery\267\275\312\275).html"
rename to "Ch1/1-7\350\256\272\345\235\233\346\263\250\345\206\214/1-7-2(jQuery\346\226\271\345\274\217).html"
index a83f5bc..9767633 100644
--- "a/Ch1/1-7\302\333\314\263\327\242\262\341/1-7-2(jQuery\267\275\312\275).html"
+++ "b/Ch1/1-7\350\256\272\345\235\233\346\263\250\345\206\214/1-7-2(jQuery\346\226\271\345\274\217).html"
@@ -1,23 +1,23 @@
-
-
-
-
-1-6-1
-
-
-
-
-
-我已经阅读了上面制度.
-
+
+
+
+
+1-6-1
+
+
+
+
+
+我已经阅读了上面制度.
+
\ No newline at end of file
diff --git "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-1.html" "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-1.html"
similarity index 97%
rename from "Ch1/1-8\275\342\276\366\263\345\315\273/1-8-1.html"
rename to "Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-1.html"
index a3c0663..60a6459 100644
--- "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-1.html"
+++ "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-1.html"
@@ -1,26 +1,26 @@
-
-
-
-
-冲突解决1
-
-
-
-
-
-
-Test-prototype(将被隐藏)
-Test-jQuery(将被绑定单击事件)
-
-
-
+
+
+
+
+冲突解决1
+
+
+
+
+
+
+Test-prototype(将被隐藏)
+Test-jQuery(将被绑定单击事件)
+
+
+
\ No newline at end of file
diff --git "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-2.html" "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-2.html"
similarity index 97%
rename from "Ch1/1-8\275\342\276\366\263\345\315\273/1-8-2.html"
rename to "Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-2.html"
index 988351b..c30d649 100644
--- "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-2.html"
+++ "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-2.html"
@@ -1,25 +1,25 @@
-
-
-
-
-冲突解决2
-
-
-
-
-
-
-Test-prototype(将被隐藏)
-Test-jQuery(将被绑定单击事件)
-
-
+
+
+
+
+冲突解决2
+
+
+
+
+
+
+Test-prototype(将被隐藏)
+Test-jQuery(将被绑定单击事件)
+
+
\ No newline at end of file
diff --git "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-3.html" "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-3.html"
similarity index 96%
rename from "Ch1/1-8\275\342\276\366\263\345\315\273/1-8-3.html"
rename to "Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-3.html"
index 02b01ec..93ea8ab 100644
--- "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-3.html"
+++ "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-3.html"
@@ -1,27 +1,27 @@
-
-
-
-
-冲突解决3
-
-
-
-
-
-
-Test-prototype(将被隐藏)
-Test-jQuery(将被绑定单击事件)
-
-
-
-
-
+
+
+
+
+冲突解决3
+
+
+
+
+
+
+Test-prototype(将被隐藏)
+Test-jQuery(将被绑定单击事件)
+
+
+
+
+
diff --git "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-4.html" "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-4.html"
similarity index 97%
rename from "Ch1/1-8\275\342\276\366\263\345\315\273/1-8-4.html"
rename to "Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-4.html"
index f533132..991c031 100644
--- "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-4.html"
+++ "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-4.html"
@@ -1,28 +1,28 @@
-
-
-
-
-冲突解决4
-
-
-
-
-
-
-Test-prototype(将被隐藏)
-Test-jQuery(将被绑定单击事件)
-
-
-
-
+
+
+
+
+冲突解决4
+
+
+
+
+
+
+Test-prototype(将被隐藏)
+Test-jQuery(将被绑定单击事件)
+
+
+
+
diff --git "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-5.html" "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-5.html"
similarity index 97%
rename from "Ch1/1-8\275\342\276\366\263\345\315\273/1-8-5.html"
rename to "Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-5.html"
index f0aaa41..fd3648b 100644
--- "a/Ch1/1-8\275\342\276\366\263\345\315\273/1-8-5.html"
+++ "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/1-8-5.html"
@@ -1,25 +1,25 @@
-
-
-
-
-冲突解决5
-
-
-
-
-
-
-Test-prototype(将被隐藏)
-Test-jQuery(将被绑定单击事件)
-
-
-
+
+
+
+
+冲突解决5
+
+
+
+
+
+
+Test-prototype(将被隐藏)
+Test-jQuery(将被绑定单击事件)
+
+
+
\ No newline at end of file
diff --git "a/Ch1/1-8\275\342\276\366\263\345\315\273/lib/prototype.js" "b/Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/lib/prototype.js"
similarity index 100%
rename from "Ch1/1-8\275\342\276\366\263\345\315\273/lib/prototype.js"
rename to "Ch1/1-8\350\247\243\345\206\263\345\206\262\347\252\201/lib/prototype.js"
diff --git "a/Ch1/1-9\261\340\274\255\306\367\323\357\267\250\314\341\312\276\262\345\274\376/aptana-jquery.ruble/jquery.1.4.2.sdocml" "b/Ch1/1-9\347\274\226\350\276\221\345\231\250\350\257\255\346\263\225\346\217\220\347\244\272\346\217\222\344\273\266/aptana-jquery.ruble/jquery.1.4.2.sdocml"
similarity index 100%
rename from "Ch1/1-9\261\340\274\255\306\367\323\357\267\250\314\341\312\276\262\345\274\376/aptana-jquery.ruble/jquery.1.4.2.sdocml"
rename to "Ch1/1-9\347\274\226\350\276\221\345\231\250\350\257\255\346\263\225\346\217\220\347\244\272\346\217\222\344\273\266/aptana-jquery.ruble/jquery.1.4.2.sdocml"
diff --git "a/Ch1/1-9\261\340\274\255\306\367\323\357\267\250\314\341\312\276\262\345\274\376/aptana-jquery.ruble/jquery.1.6.2.sdocml" "b/Ch1/1-9\347\274\226\350\276\221\345\231\250\350\257\255\346\263\225\346\217\220\347\244\272\346\217\222\344\273\266/aptana-jquery.ruble/jquery.1.6.2.sdocml"
similarity index 100%
rename from "Ch1/1-9\261\340\274\255\306\367\323\357\267\250\314\341\312\276\262\345\274\376/aptana-jquery.ruble/jquery.1.6.2.sdocml"
rename to "Ch1/1-9\347\274\226\350\276\221\345\231\250\350\257\255\346\263\225\346\217\220\347\244\272\346\217\222\344\273\266/aptana-jquery.ruble/jquery.1.6.2.sdocml"
diff --git "a/Ch1/1-9\261\340\274\255\306\367\323\357\267\250\314\341\312\276\262\345\274\376/jQuery_api_for_dw3/jQuery_api_for_dw3.mxp" "b/Ch1/1-9\347\274\226\350\276\221\345\231\250\350\257\255\346\263\225\346\217\220\347\244\272\346\217\222\344\273\266/jQuery_api_for_dw3/jQuery_api_for_dw3.mxp"
similarity index 100%
rename from "Ch1/1-9\261\340\274\255\306\367\323\357\267\250\314\341\312\276\262\345\274\376/jQuery_api_for_dw3/jQuery_api_for_dw3.mxp"
rename to "Ch1/1-9\347\274\226\350\276\221\345\231\250\350\257\255\346\263\225\346\217\220\347\244\272\346\217\222\344\273\266/jQuery_api_for_dw3/jQuery_api_for_dw3.mxp"
diff --git "a/Ch1/1-9\261\340\274\255\306\367\323\357\267\250\314\341\312\276\262\345\274\376/jQuery_api_for_dw4/jQuery_api_for_dw4/jQuery_api_for_dw4.mxp" "b/Ch1/1-9\347\274\226\350\276\221\345\231\250\350\257\255\346\263\225\346\217\220\347\244\272\346\217\222\344\273\266/jQuery_api_for_dw4/jQuery_api_for_dw4/jQuery_api_for_dw4.mxp"
similarity index 100%
rename from "Ch1/1-9\261\340\274\255\306\367\323\357\267\250\314\341\312\276\262\345\274\376/jQuery_api_for_dw4/jQuery_api_for_dw4/jQuery_api_for_dw4.mxp"
rename to "Ch1/1-9\347\274\226\350\276\221\345\231\250\350\257\255\346\263\225\346\217\220\347\244\272\346\217\222\344\273\266/jQuery_api_for_dw4/jQuery_api_for_dw4/jQuery_api_for_dw4.mxp"
diff --git "a/Ch11/jquery\346\212\200\345\267\247/1.\347\246\201\347\224\250\351\241\265\351\235\242\347\232\204\345\217\263\351\224\256\350\217\234\345\215\225.html" "b/Ch11/jquery\346\212\200\345\267\247/1.\347\246\201\347\224\250\351\241\265\351\235\242\347\232\204\345\217\263\351\224\256\350\217\234\345\215\225.html"
new file mode 100644
index 0000000..c06909b
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/1.\347\246\201\347\224\250\351\241\265\351\235\242\347\232\204\345\217\263\351\224\256\350\217\234\345\215\225.html"
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/10.\350\256\276\347\275\256div\345\234\250\345\261\217\345\271\225\344\270\255\345\244\256.html" "b/Ch11/jquery\346\212\200\345\267\247/10.\350\256\276\347\275\256div\345\234\250\345\261\217\345\271\225\344\270\255\345\244\256.html"
new file mode 100644
index 0000000..4235f67
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/10.\350\256\276\347\275\256div\345\234\250\345\261\217\345\271\225\344\270\255\345\244\256.html"
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/11.\345\210\233\345\273\272\350\207\252\345\267\261\347\232\204\351\200\211\346\213\251\345\231\250.html" "b/Ch11/jquery\346\212\200\345\267\247/11.\345\210\233\345\273\272\350\207\252\345\267\261\347\232\204\351\200\211\346\213\251\345\231\250.html"
new file mode 100644
index 0000000..948cf87
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/11.\345\210\233\345\273\272\350\207\252\345\267\261\347\232\204\351\200\211\346\213\251\345\231\250.html"
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/12.\345\205\263\351\227\255\346\211\200\346\234\211\345\212\250\347\224\273\346\225\210\346\236\234.html" "b/Ch11/jquery\346\212\200\345\267\247/12.\345\205\263\351\227\255\346\211\200\346\234\211\345\212\250\347\224\273\346\225\210\346\236\234.html"
new file mode 100644
index 0000000..85bae7c
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/12.\345\205\263\351\227\255\346\211\200\346\234\211\345\212\250\347\224\273\346\225\210\346\236\234.html"
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+开始动画
+关闭动画
+开启动画
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/13.\346\243\200\346\265\213\351\274\240\346\240\207\347\232\204\345\217\263\351\224\256\345\222\214\345\267\246\351\224\256.html" "b/Ch11/jquery\346\212\200\345\267\247/13.\346\243\200\346\265\213\351\274\240\346\240\207\347\232\204\345\217\263\351\224\256\345\222\214\345\267\246\351\224\256.html"
new file mode 100644
index 0000000..08ba9ea
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/13.\346\243\200\346\265\213\351\274\240\346\240\207\347\232\204\345\217\263\351\224\256\345\222\214\345\267\246\351\224\256.html"
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/14.\345\233\236\350\275\246\346\217\220\344\272\244\350\241\250\345\215\225.html" "b/Ch11/jquery\346\212\200\345\267\247/14.\345\233\236\350\275\246\346\217\220\344\272\244\350\241\250\345\215\225.html"
new file mode 100644
index 0000000..fd7a21b
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/14.\345\233\236\350\275\246\346\217\220\344\272\244\350\241\250\345\215\225.html"
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/15.\350\256\276\347\275\256\345\205\250\345\261\200Ajax\345\217\202\346\225\260.html" "b/Ch11/jquery\346\212\200\345\267\247/15.\350\256\276\347\275\256\345\205\250\345\261\200Ajax\345\217\202\346\225\260.html"
new file mode 100644
index 0000000..241e9f8
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/15.\350\256\276\347\275\256\345\205\250\345\261\200Ajax\345\217\202\346\225\260.html"
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+加载中...
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/16.\350\216\267\345\217\226\351\200\211\344\270\255\347\232\204\344\270\213\346\213\211\346\241\206.html" "b/Ch11/jquery\346\212\200\345\267\247/16.\350\216\267\345\217\226\351\200\211\344\270\255\347\232\204\344\270\213\346\213\211\346\241\206.html"
new file mode 100644
index 0000000..6118ca5
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/16.\350\216\267\345\217\226\351\200\211\344\270\255\347\232\204\344\270\213\346\213\211\346\241\206.html"
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+ 一班
+ 二班
+ 三班
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/17.\345\210\207\346\215\242\345\244\215\351\200\211\346\241\206.html" "b/Ch11/jquery\346\212\200\345\267\247/17.\345\210\207\346\215\242\345\244\215\351\200\211\346\241\206.html"
new file mode 100644
index 0000000..61b1622
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/17.\345\210\207\346\215\242\345\244\215\351\200\211\346\241\206.html"
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+toggle
+ 篮球
+ 足球
+ 羽毛球
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/18.\344\275\277\347\224\250siblings()\346\235\245\351\200\211\346\213\251\345\220\214\350\276\210\345\205\203\347\264\240.html" "b/Ch11/jquery\346\212\200\345\267\247/18.\344\275\277\347\224\250siblings()\346\235\245\351\200\211\346\213\251\345\220\214\350\276\210\345\205\203\347\264\240.html"
new file mode 100644
index 0000000..57370f8
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/18.\344\275\277\347\224\250siblings()\346\235\245\351\200\211\346\213\251\345\220\214\350\276\210\345\205\203\347\264\240.html"
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/19.\346\243\200\346\237\245\346\237\220\344\270\252\345\205\203\347\264\240\346\230\257\345\220\246\345\214\205\345\220\253\346\237\220\344\270\252\347\261\273\346\210\226\346\230\257\345\205\203\347\264\240.html" "b/Ch11/jquery\346\212\200\345\267\247/19.\346\243\200\346\237\245\346\237\220\344\270\252\345\205\203\347\264\240\346\230\257\345\220\246\345\214\205\345\220\253\346\237\220\344\270\252\347\261\273\346\210\226\346\230\257\345\205\203\347\264\240.html"
new file mode 100644
index 0000000..c552906
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/19.\346\243\200\346\237\245\346\237\220\344\270\252\345\205\203\347\264\240\346\230\257\345\220\246\345\214\205\345\220\253\346\237\220\344\270\252\347\261\273\346\210\226\346\230\257\345\205\203\347\264\240.html"
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+PDF file (wdw-logo.pdf)
+PSD file (wdw-logo.psd)
+Zip file (wdw-logo.zip)
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/2.\346\226\260\347\252\227\345\217\243\346\211\223\345\274\200\351\241\265\351\235\242.html" "b/Ch11/jquery\346\212\200\345\267\247/2.\346\226\260\347\252\227\345\217\243\346\211\223\345\274\200\351\241\265\351\235\242.html"
new file mode 100644
index 0000000..4a671c3
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/2.\346\226\260\347\252\227\345\217\243\346\211\223\345\274\200\351\241\265\351\235\242.html"
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+新窗口
+
+新窗口
+
+
+当前窗口
+当前窗口
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/20.\345\234\250\344\270\200\346\256\265\346\227\266\351\227\264\344\271\213\345\220\216\350\207\252\345\212\250\351\232\220\350\227\217\346\210\226\345\205\263\351\227\255\345\205\203\347\264\240.html" "b/Ch11/jquery\346\212\200\345\267\247/20.\345\234\250\344\270\200\346\256\265\346\227\266\351\227\264\344\271\213\345\220\216\350\207\252\345\212\250\351\232\220\350\227\217\346\210\226\345\205\263\351\227\255\345\205\203\347\264\240.html"
new file mode 100644
index 0000000..541087c
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/20.\345\234\250\344\270\200\346\256\265\346\227\266\351\227\264\344\271\213\345\220\216\350\207\252\345\212\250\351\232\220\350\227\217\346\210\226\345\205\263\351\227\255\345\205\203\347\264\240.html"
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+Run
+Test
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/21.\344\275\277\347\224\250Firefox\345\222\214Firebug\346\235\245\350\256\260\345\275\225\344\272\213\344\273\266\346\227\245\345\277\227.html" "b/Ch11/jquery\346\212\200\345\267\247/21.\344\275\277\347\224\250Firefox\345\222\214Firebug\346\235\245\350\256\260\345\275\225\344\272\213\344\273\266\346\227\245\345\277\227.html"
new file mode 100644
index 0000000..3bf1a3e
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/21.\344\275\277\347\224\250Firefox\345\222\214Firebug\346\235\245\350\256\260\345\275\225\344\272\213\344\273\266\346\227\245\345\277\227.html"
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+Run
+Test
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/22.\344\270\272\344\273\273\344\275\225\344\270\216\351\200\211\346\213\251\345\231\250\347\233\270\345\214\271\351\205\215\347\232\204\345\205\203\347\264\240\347\273\221\345\256\232\344\272\213\344\273\266.html" "b/Ch11/jquery\346\212\200\345\267\247/22.\344\270\272\344\273\273\344\275\225\344\270\216\351\200\211\346\213\251\345\231\250\347\233\270\345\214\271\351\205\215\347\232\204\345\205\203\347\264\240\347\273\221\345\256\232\344\272\213\344\273\266.html"
new file mode 100644
index 0000000..d1daf77
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/22.\344\270\272\344\273\273\344\275\225\344\270\216\351\200\211\346\213\251\345\231\250\347\233\270\345\214\271\351\205\215\347\232\204\345\205\203\347\264\240\347\273\221\345\256\232\344\272\213\344\273\266.html"
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+ 1111
+ 2222
+ 3333
+
+
+ 1111
+ 2222
+ 3333
+
+
+ 1111
+ 2222
+ 3333
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/23.\344\275\277\347\224\250css\351\222\251\345\255\220.html" "b/Ch11/jquery\346\212\200\345\267\247/23.\344\275\277\347\224\250css\351\222\251\345\255\220.html"
new file mode 100644
index 0000000..d2bcba0
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/23.\344\275\277\347\224\250css\351\222\251\345\255\220.html"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/24. $.proxy()\347\232\204\344\275\277\347\224\250.html" "b/Ch11/jquery\346\212\200\345\267\247/24. $.proxy()\347\232\204\344\275\277\347\224\250.html"
new file mode 100644
index 0000000..83f3fbe
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/24. $.proxy()\347\232\204\344\275\277\347\224\250.html"
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+ Close
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/25.\351\231\220\345\210\266Text-Area\345\237\237\344\270\255\347\232\204\345\255\227\347\254\246\347\232\204\344\270\252\346\225\260.html" "b/Ch11/jquery\346\212\200\345\267\247/25.\351\231\220\345\210\266Text-Area\345\237\237\344\270\255\347\232\204\345\255\227\347\254\246\347\232\204\344\270\252\346\225\260.html"
new file mode 100644
index 0000000..01eead2
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/25.\351\231\220\345\210\266Text-Area\345\237\237\344\270\255\347\232\204\345\255\227\347\254\246\347\232\204\344\270\252\346\225\260.html"
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/28.\344\273\216\345\205\203\347\264\240\344\270\255\351\231\244\345\216\273HTML.html" "b/Ch11/jquery\346\212\200\345\267\247/28.\344\273\216\345\205\203\347\264\240\344\270\255\351\231\244\345\216\273HTML.html"
new file mode 100644
index 0000000..a2823a7
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/28.\344\273\216\345\205\203\347\264\240\344\270\255\351\231\244\345\216\273HTML.html"
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/29.\346\211\251\345\261\225String\345\257\271\350\261\241\347\232\204\346\226\271\346\263\225.html" "b/Ch11/jquery\346\212\200\345\267\247/29.\346\211\251\345\261\225String\345\257\271\350\261\241\347\232\204\346\226\271\346\263\225.html"
new file mode 100644
index 0000000..ef69a26
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/29.\346\211\251\345\261\225String\345\257\271\350\261\241\347\232\204\346\226\271\346\263\225.html"
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+check
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/3.\345\210\244\346\226\255\346\265\217\350\247\210\345\231\250\347\261\273\345\236\213.html" "b/Ch11/jquery\346\212\200\345\267\247/3.\345\210\244\346\226\255\346\265\217\350\247\210\345\231\250\347\261\273\345\236\213.html"
new file mode 100644
index 0000000..e05d4f2
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/3.\345\210\244\346\226\255\346\265\217\350\247\210\345\231\250\347\261\273\345\236\213.html"
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/4.\350\276\223\345\205\245\346\241\206\346\226\207\345\255\227\350\216\267\345\217\226\345\222\214\345\244\261\345\216\273\347\204\246\347\202\271.html" "b/Ch11/jquery\346\212\200\345\267\247/4.\350\276\223\345\205\245\346\241\206\346\226\207\345\255\227\350\216\267\345\217\226\345\222\214\345\244\261\345\216\273\347\204\246\347\202\271.html"
new file mode 100644
index 0000000..8d15009
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/4.\350\276\223\345\205\245\346\241\206\346\226\207\345\255\227\350\216\267\345\217\226\345\222\214\345\244\261\345\216\273\347\204\246\347\202\271.html"
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/5.\350\277\224\345\233\236\345\244\264\351\203\250\346\273\221\345\212\250\345\212\250\347\224\273.html" "b/Ch11/jquery\346\212\200\345\267\247/5.\350\277\224\345\233\236\345\244\264\351\203\250\346\273\221\345\212\250\345\212\250\347\224\273.html"
new file mode 100644
index 0000000..418aa3f
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/5.\350\277\224\345\233\236\345\244\264\351\203\250\346\273\221\345\212\250\345\212\250\347\224\273.html"
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/6.\350\216\267\345\217\226\351\274\240\346\240\207\344\275\215\347\275\256.html" "b/Ch11/jquery\346\212\200\345\267\247/6.\350\216\267\345\217\226\351\274\240\346\240\207\344\275\215\347\275\256.html"
new file mode 100644
index 0000000..4668ba8
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/6.\350\216\267\345\217\226\351\274\240\346\240\207\344\275\215\347\275\256.html"
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/7.\345\210\244\346\226\255\345\205\203\347\264\240\346\230\257\345\220\246\345\255\230\345\234\250.html" "b/Ch11/jquery\346\212\200\345\267\247/7.\345\210\244\346\226\255\345\205\203\347\264\240\346\230\257\345\220\246\345\255\230\345\234\250.html"
new file mode 100644
index 0000000..cd4ce51
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/7.\345\210\244\346\226\255\345\205\203\347\264\240\346\230\257\345\220\246\345\255\230\345\234\250.html"
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/8.\347\202\271\345\207\273div\344\271\237\345\217\257\344\273\245\350\267\263\350\275\254.html" "b/Ch11/jquery\346\212\200\345\267\247/8.\347\202\271\345\207\273div\344\271\237\345\217\257\344\273\245\350\267\263\350\275\254.html"
new file mode 100644
index 0000000..f91d51e
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/8.\347\202\271\345\207\273div\344\271\237\345\217\257\344\273\245\350\267\263\350\275\254.html"
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/9.\346\240\271\346\215\256\346\265\217\350\247\210\345\231\250\345\244\247\345\260\217\346\267\273\345\212\240\344\270\215\345\220\214\347\232\204\346\240\267\345\274\217.html" "b/Ch11/jquery\346\212\200\345\267\247/9.\346\240\271\346\215\256\346\265\217\350\247\210\345\231\250\345\244\247\345\260\217\346\267\273\345\212\240\344\270\215\345\220\214\347\232\204\346\240\267\345\274\217.html"
new file mode 100644
index 0000000..e116594
--- /dev/null
+++ "b/Ch11/jquery\346\212\200\345\267\247/9.\346\240\271\346\215\256\346\265\217\350\247\210\345\231\250\345\244\247\345\260\217\346\267\273\345\212\240\344\270\215\345\220\214\347\232\204\346\240\267\345\274\217.html"
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch11/jquery\346\212\200\345\267\247/img/file-blue.gif" "b/Ch11/jquery\346\212\200\345\267\247/img/file-blue.gif"
new file mode 100644
index 0000000..f22fdc3
Binary files /dev/null and "b/Ch11/jquery\346\212\200\345\267\247/img/file-blue.gif" differ
diff --git "a/Ch11/jquery\346\212\200\345\267\247/img/file-orange.gif" "b/Ch11/jquery\346\212\200\345\267\247/img/file-orange.gif"
new file mode 100644
index 0000000..9887115
Binary files /dev/null and "b/Ch11/jquery\346\212\200\345\267\247/img/file-orange.gif" differ
diff --git "a/Ch11/jquery\346\212\200\345\267\247/img/file-red.gif" "b/Ch11/jquery\346\212\200\345\267\247/img/file-red.gif"
new file mode 100644
index 0000000..d5ee9a7
Binary files /dev/null and "b/Ch11/jquery\346\212\200\345\267\247/img/file-red.gif" differ
diff --git "a/Ch11/jquery\346\212\200\345\267\247/img/window.gif" "b/Ch11/jquery\346\212\200\345\267\247/img/window.gif"
new file mode 100644
index 0000000..7be9afd
Binary files /dev/null and "b/Ch11/jquery\346\212\200\345\267\247/img/window.gif" differ
diff --git "a/Ch2/2-10-\327\323\324\252\313\330\271\375\302\313\321\241\324\361\306\367.html" "b/Ch2/2-10-\345\255\220\345\205\203\347\264\240\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
similarity index 97%
rename from "Ch2/2-10-\327\323\324\252\313\330\271\375\302\313\321\241\324\361\306\367.html"
rename to "Ch2/2-10-\345\255\220\345\205\203\347\264\240\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
index 2e6f439..ab73120 100644
--- "a/Ch2/2-10-\327\323\324\252\313\330\271\375\302\313\321\241\324\361\306\367.html"
+++ "b/Ch2/2-10-\345\255\220\345\205\203\347\264\240\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
@@ -1,87 +1,87 @@
-
-
-
-
- 2-10
-
-
-
-
-
-
-
- 手动重置页面元素
- 点击下列按钮时先自动重置页面
-
- 子元素过滤选择器.
-
-
-
-
-
-
-
-
-
-
-
- id为one,class为one的div
-
class为mini
-
-
-
- id为two,class为one,title为test的div.
-
class为mini,title为other
-
class为mini,title为test
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
class为mini,title为tesst
-
-
-
-
- style的display为"none"的div
-
-
-class为"hide"的div
-
-
- 包含input的type为"hidden"的div
-
-
-正在执行动画的span元素.
-
-
-
-
+
+
+
+
+ 2-10
+
+
+
+
+
+
+
+ 手动重置页面元素
+ 点击下列按钮时先自动重置页面
+
+ 子元素过滤选择器.
+
+
+
+
+
+
+
+
+
+
+
+ id为one,class为one的div
+
class为mini
+
+
+
+ id为two,class为one,title为test的div.
+
class为mini,title为other
+
class为mini,title为test
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
class为mini,title为tesst
+
+
+
+
+ style的display为"none"的div
+
+
+class为"hide"的div
+
+
+ 包含input的type为"hidden"的div
+
+
+正在执行动画的span元素.
+
+
+
+
\ No newline at end of file
diff --git "a/Ch2/2-11-\261\355\265\245\266\324\317\363\312\364\320\324\271\375\302\313\321\241\324\361\306\367.html" "b/Ch2/2-11-\350\241\250\345\215\225\345\257\271\350\261\241\345\261\236\346\200\247\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
similarity index 96%
rename from "Ch2/2-11-\261\355\265\245\266\324\317\363\312\364\320\324\271\375\302\313\321\241\324\361\306\367.html"
rename to "Ch2/2-11-\350\241\250\345\215\225\345\257\271\350\261\241\345\261\236\346\200\247\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
index 2f15d8d..53bd40e 100644
--- "a/Ch2/2-11-\261\355\265\245\266\324\317\363\312\364\320\324\271\375\302\313\321\241\324\361\306\367.html"
+++ "b/Ch2/2-11-\350\241\250\345\215\225\345\257\271\350\261\241\345\261\236\346\200\247\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
@@ -1,112 +1,112 @@
-
-
-
-
- 2-11
-
-
-
-
-
-
-
- 表单对象属性过滤选择器.
-
-
-
-
-
-
+
+
+
+
+ 2-11
+
+
+
+
+
+
+
+ 表单对象属性过滤选择器.
+
+
+
+
+
+
diff --git "a/Ch2/2-12-\261\355\265\245\321\241\324\361\306\367.html" "b/Ch2/2-12-\350\241\250\345\215\225\351\200\211\346\213\251\345\231\250.html"
similarity index 97%
rename from "Ch2/2-12-\261\355\265\245\321\241\324\361\306\367.html"
rename to "Ch2/2-12-\350\241\250\345\215\225\351\200\211\346\213\251\345\231\250.html"
index 09e3be4..7632a88 100644
--- "a/Ch2/2-12-\261\355\265\245\321\241\324\361\306\367.html"
+++ "b/Ch2/2-12-\350\241\250\345\215\225\351\200\211\346\213\251\345\231\250.html"
@@ -1,70 +1,70 @@
-
-
-
-
- 2-12
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ 2-12
+
+
+
+
+
+
+
+ 1 2 3
+
+ test
+
+
+ 1 2
+
+
+
+ Option
+
+ Button
+
+
+
+
+
diff --git "a/Ch2/2-13\243\272\275\342\276\366\325\302\315\267\265\3043\270\366\300\375\327\323/2-13-1.html" "b/Ch2/2-13\357\274\232\350\247\243\345\206\263\347\253\240\345\244\264\347\232\2043\344\270\252\344\276\213\345\255\220/2-13-1.html"
similarity index 97%
rename from "Ch2/2-13\243\272\275\342\276\366\325\302\315\267\265\3043\270\366\300\375\327\323/2-13-1.html"
rename to "Ch2/2-13\357\274\232\350\247\243\345\206\263\347\253\240\345\244\264\347\232\2043\344\270\252\344\276\213\345\255\220/2-13-1.html"
index 5de9f2c..b154500 100644
--- "a/Ch2/2-13\243\272\275\342\276\366\325\302\315\267\265\3043\270\366\300\375\327\323/2-13-1.html"
+++ "b/Ch2/2-13\357\274\232\350\247\243\345\206\263\347\253\240\345\244\264\347\232\2043\344\270\252\344\276\213\345\255\220/2-13-1.html"
@@ -1,21 +1,21 @@
-
-
-
-
-
-
-
-
-
-
-测试1
-测试2
-
+
+
+
+
+
+
+
+
+
+
+测试1
+测试2
+
\ No newline at end of file
diff --git "a/Ch2/2-13\243\272\275\342\276\366\325\302\315\267\265\3043\270\366\300\375\327\323/2-13-2.html" "b/Ch2/2-13\357\274\232\350\247\243\345\206\263\347\253\240\345\244\264\347\232\2043\344\270\252\344\276\213\345\255\220/2-13-2.html"
similarity index 97%
rename from "Ch2/2-13\243\272\275\342\276\366\325\302\315\267\265\3043\270\366\300\375\327\323/2-13-2.html"
rename to "Ch2/2-13\357\274\232\350\247\243\345\206\263\347\253\240\345\244\264\347\232\2043\344\270\252\344\276\213\345\255\220/2-13-2.html"
index 9fec597..677a3d5 100644
--- "a/Ch2/2-13\243\272\275\342\276\366\325\302\315\267\265\3043\270\366\300\375\327\323/2-13-2.html"
+++ "b/Ch2/2-13\357\274\232\350\247\243\345\206\263\347\253\240\345\244\264\347\232\2043\344\270\252\344\276\213\345\255\220/2-13-2.html"
@@ -1,28 +1,28 @@
-
-
-
-
-
-
-
-
-
-
-
-
-第一行 第一行
-第二行 第二行
-第三行 第三行
-第四行 第四行
-第五行 第五行
-第六行 第六行
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+第一行 第一行
+第二行 第二行
+第三行 第三行
+第四行 第四行
+第五行 第五行
+第六行 第六行
+
+
+
\ No newline at end of file
diff --git "a/Ch2/2-13\243\272\275\342\276\366\325\302\315\267\265\3043\270\366\300\375\327\323/2-13-3.html" "b/Ch2/2-13\357\274\232\350\247\243\345\206\263\347\253\240\345\244\264\347\232\2043\344\270\252\344\276\213\345\255\220/2-13-3.html"
similarity index 97%
rename from "Ch2/2-13\243\272\275\342\276\366\325\302\315\267\265\3043\270\366\300\375\327\323/2-13-3.html"
rename to "Ch2/2-13\357\274\232\350\247\243\345\206\263\347\253\240\345\244\264\347\232\2043\344\270\252\344\276\213\345\255\220/2-13-3.html"
index a970c53..6b73040 100644
--- "a/Ch2/2-13\243\272\275\342\276\366\325\302\315\267\265\3043\270\366\300\375\327\323/2-13-3.html"
+++ "b/Ch2/2-13\357\274\232\350\247\243\345\206\263\347\253\240\345\244\264\347\232\2043\344\270\252\344\276\213\345\255\220/2-13-3.html"
@@ -1,24 +1,24 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch2/2-14\243\272\321\241\324\361\306\367\327\242\322\342\274\270\265\343/2-14-1\314\330\312\342\267\373\272\305.html" "b/Ch2/2-14\357\274\232\351\200\211\346\213\251\345\231\250\346\263\250\346\204\217\345\207\240\347\202\271/2-14-1\347\211\271\346\256\212\347\254\246\345\217\267.html"
similarity index 97%
rename from "Ch2/2-14\243\272\321\241\324\361\306\367\327\242\322\342\274\270\265\343/2-14-1\314\330\312\342\267\373\272\305.html"
rename to "Ch2/2-14\357\274\232\351\200\211\346\213\251\345\231\250\346\263\250\346\204\217\345\207\240\347\202\271/2-14-1\347\211\271\346\256\212\347\254\246\345\217\267.html"
index 0f8746c..5a5b304 100644
--- "a/Ch2/2-14\243\272\321\241\324\361\306\367\327\242\322\342\274\270\265\343/2-14-1\314\330\312\342\267\373\272\305.html"
+++ "b/Ch2/2-14\357\274\232\351\200\211\346\213\251\345\231\250\346\263\250\346\204\217\345\207\240\347\202\271/2-14-1\347\211\271\346\256\212\347\254\246\345\217\267.html"
@@ -1,27 +1,27 @@
-
-
-
- new document
-
-
-
-
-
-
- aa
- bb
- cc
-
-
+
+
+
+ new document
+
+
+
+
+
+
+ aa
+ bb
+ cc
+
+
diff --git "a/Ch2/2-14\243\272\321\241\324\361\306\367\327\242\322\342\274\270\265\343/2-14-2\267\373\272\305@.html" "b/Ch2/2-14\357\274\232\351\200\211\346\213\251\345\231\250\346\263\250\346\204\217\345\207\240\347\202\271/2-14-2\347\254\246\345\217\267@.html"
similarity index 97%
rename from "Ch2/2-14\243\272\321\241\324\361\306\367\327\242\322\342\274\270\265\343/2-14-2\267\373\272\305@.html"
rename to "Ch2/2-14\357\274\232\351\200\211\346\213\251\345\231\250\346\263\250\346\204\217\345\207\240\347\202\271/2-14-2\347\254\246\345\217\267@.html"
index ce8d449..25077a9 100644
--- "a/Ch2/2-14\243\272\321\241\324\361\306\367\327\242\322\342\274\270\265\343/2-14-2\267\373\272\305@.html"
+++ "b/Ch2/2-14\357\274\232\351\200\211\346\213\251\345\231\250\346\263\250\346\204\217\345\207\240\347\202\271/2-14-2\347\254\246\345\217\267@.html"
@@ -1,19 +1,19 @@
-
-
-
- new document
-
-
-
-
-
-
- Test
-
-
+
+
+
+ new document
+
+
+
+
+
+
+ Test
+
+
diff --git "a/Ch2/2-14\243\272\321\241\324\361\306\367\327\242\322\342\274\270\265\343/2-14-3\321\241\324\361\306\367\326\320\265\304\277\325\270\361.html" "b/Ch2/2-14\357\274\232\351\200\211\346\213\251\345\231\250\346\263\250\346\204\217\345\207\240\347\202\271/2-14-3\351\200\211\346\213\251\345\231\250\344\270\255\347\232\204\347\251\272\346\240\274.html"
similarity index 97%
rename from "Ch2/2-14\243\272\321\241\324\361\306\367\327\242\322\342\274\270\265\343/2-14-3\321\241\324\361\306\367\326\320\265\304\277\325\270\361.html"
rename to "Ch2/2-14\357\274\232\351\200\211\346\213\251\345\231\250\346\263\250\346\204\217\345\207\240\347\202\271/2-14-3\351\200\211\346\213\251\345\231\250\344\270\255\347\232\204\347\251\272\346\240\274.html"
index e165138..46c84fb 100644
--- "a/Ch2/2-14\243\272\321\241\324\361\306\367\327\242\322\342\274\270\265\343/2-14-3\321\241\324\361\306\367\326\320\265\304\277\325\270\361.html"
+++ "b/Ch2/2-14\357\274\232\351\200\211\346\213\251\345\231\250\346\263\250\346\204\217\345\207\240\347\202\271/2-14-3\351\200\211\346\213\251\345\231\250\344\270\255\347\232\204\347\251\272\346\240\274.html"
@@ -1,31 +1,31 @@
-
-
-
- new document
-
-
-
-
-
-
-
- ee
- ff
-
-
+
+
+
+ new document
+
+
+
+
+
+
+
+ ee
+ ff
+
+
diff --git "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/css/default.css" "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/css/default.css"
similarity index 98%
rename from "Ch2/2-15\243\272\260\270\300\375\321\320\276\277/css/default.css"
rename to "Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/css/default.css"
index 253d090..5972dce 100644
--- "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/css/default.css"
+++ "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/css/default.css"
@@ -1,11 +1,11 @@
-*{ margin:0; padding:0;}
-body {font-size:12px;text-align:center;}
-a { color:#04D; text-decoration:none;}
-a:hover { color:#F50; text-decoration:underline;}
-.SubCategoryBox {width:600px; margin:0 auto; text-align:center;margin-top:40px;}
-.SubCategoryBox ul { list-style:none;}
-.SubCategoryBox ul li { display:block; float:left; width:200px; line-height:20px;}
-.showmore { clear:both; text-align:center;padding-top:10px;}
-.showmore a { display:block; width:120px; margin:0 auto; line-height:24px; border:1px solid #AAA;}
-.showmore a span { padding-left:15px; background:url(../img/down.gif) no-repeat 0 0;}
+*{ margin:0; padding:0;}
+body {font-size:12px;text-align:center;}
+a { color:#04D; text-decoration:none;}
+a:hover { color:#F50; text-decoration:underline;}
+.SubCategoryBox {width:600px; margin:0 auto; text-align:center;margin-top:40px;}
+.SubCategoryBox ul { list-style:none;}
+.SubCategoryBox ul li { display:block; float:left; width:200px; line-height:20px;}
+.showmore { clear:both; text-align:center;padding-top:10px;}
+.showmore a { display:block; width:120px; margin:0 auto; line-height:24px; border:1px solid #AAA;}
+.showmore a span { padding-left:15px; background:url(../img/down.gif) no-repeat 0 0;}
.promoted a { color:#F50;}
\ No newline at end of file
diff --git "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/img/down.gif" "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/img/down.gif"
similarity index 100%
rename from "Ch2/2-15\243\272\260\270\300\375\321\320\276\277/img/down.gif"
rename to "Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/img/down.gif"
diff --git "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/img/up.gif" "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/img/up.gif"
similarity index 100%
rename from "Ch2/2-15\243\272\260\270\300\375\321\320\276\277/img/up.gif"
rename to "Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/img/up.gif"
diff --git "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3321\262\275 - \311\350\274\306\275\341\271\271\272\315\321\371\312\275\243\254\263\365\312\274\273\257.html" "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2541\346\255\245 - \350\256\276\350\256\241\347\273\223\346\236\204\345\222\214\346\240\267\345\274\217\357\274\214\345\210\235\345\247\213\345\214\226.html"
similarity index 97%
rename from "Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3321\262\275 - \311\350\274\306\275\341\271\271\272\315\321\371\312\275\243\254\263\365\312\274\273\257.html"
rename to "Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2541\346\255\245 - \350\256\276\350\256\241\347\273\223\346\236\204\345\222\214\346\240\267\345\274\217\357\274\214\345\210\235\345\247\213\345\214\226.html"
index 3870ee2..30bb62f 100644
--- "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3321\262\275 - \311\350\274\306\275\341\271\271\272\315\321\371\312\275\243\254\263\365\312\274\273\257.html"
+++ "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2541\346\255\245 - \350\256\276\350\256\241\347\273\223\346\236\204\345\222\214\346\240\267\345\274\217\357\274\214\345\210\235\345\247\213\345\214\226.html"
@@ -1,57 +1,57 @@
-
-
-
-
-
-
-
-
-
-精简:
-
-
-
-全部:
-
-
+
+
+
+
+
+
+
+
+
+精简:
+
+
+
+全部:
+
+
\ No newline at end of file
diff --git "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3322\262\275 - \322\376\262\330\306\267\305\306.html" "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2542\346\255\245 - \351\232\220\350\227\217\345\223\201\347\211\214.html"
similarity index 97%
rename from "Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3322\262\275 - \322\376\262\330\306\267\305\306.html"
rename to "Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2542\346\255\245 - \351\232\220\350\227\217\345\223\201\347\211\214.html"
index cadb339..6bf70f7 100644
--- "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3322\262\275 - \322\376\262\330\306\267\305\306.html"
+++ "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2542\346\255\245 - \351\232\220\350\227\217\345\223\201\347\211\214.html"
@@ -1,44 +1,44 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3323\262\275 - \323\303\273\247\265\343\273\367\241\260\317\324\312\276\310\253\262\277\306\267\305\306\241\261\260\264\305\245.html" "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2543\346\255\245 - \347\224\250\346\210\267\347\202\271\345\207\273\342\200\234\346\230\276\347\244\272\345\205\250\351\203\250\345\223\201\347\211\214\342\200\235\346\214\211\351\222\256.html"
similarity index 97%
rename from "Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3323\262\275 - \323\303\273\247\265\343\273\367\241\260\317\324\312\276\310\253\262\277\306\267\305\306\241\261\260\264\305\245.html"
rename to "Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2543\346\255\245 - \347\224\250\346\210\267\347\202\271\345\207\273\342\200\234\346\230\276\347\244\272\345\205\250\351\203\250\345\223\201\347\211\214\342\200\235\346\214\211\351\222\256.html"
index b0a7524..3c31740 100644
--- "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3323\262\275 - \323\303\273\247\265\343\273\367\241\260\317\324\312\276\310\253\262\277\306\267\305\306\241\261\260\264\305\245.html"
+++ "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2543\346\255\245 - \347\224\250\346\210\267\347\202\271\345\207\273\342\200\234\346\230\276\347\244\272\345\205\250\351\203\250\345\223\201\347\211\214\342\200\235\346\214\211\351\222\256.html"
@@ -1,49 +1,49 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3324\262\275 - \310\253\262\277\272\315\276\253\274\362\265\304\307\320\273\273.html" "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2544\346\255\245 - \345\205\250\351\203\250\345\222\214\347\262\276\347\256\200\347\232\204\345\210\207\346\215\242.html"
similarity index 97%
rename from "Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3324\262\275 - \310\253\262\277\272\315\276\253\274\362\265\304\307\320\273\273.html"
rename to "Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2544\346\255\245 - \345\205\250\351\203\250\345\222\214\347\262\276\347\256\200\347\232\204\345\210\207\346\215\242.html"
index e1eb7a7..88cf678 100644
--- "a/Ch2/2-15\243\272\260\270\300\375\321\320\276\277/\265\3324\262\275 - \310\253\262\277\272\315\276\253\274\362\265\304\307\320\273\273.html"
+++ "b/Ch2/2-15\357\274\232\346\241\210\344\276\213\347\240\224\347\251\266/\347\254\2544\346\255\245 - \345\205\250\351\203\250\345\222\214\347\262\276\347\256\200\347\232\204\345\210\207\346\215\242.html"
@@ -1,57 +1,57 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/Ch2/2-1\243\272\263\365\314\275jQuery/2-1-1.html" "b/Ch2/2-1\357\274\232\345\210\235\346\216\242jQuery/2-1-1.html"
similarity index 96%
rename from "Ch2/2-1\243\272\263\365\314\275jQuery/2-1-1.html"
rename to "Ch2/2-1\357\274\232\345\210\235\346\216\242jQuery/2-1-1.html"
index 59c915c..3833ae1 100644
--- "a/Ch2/2-1\243\272\263\365\314\275jQuery/2-1-1.html"
+++ "b/Ch2/2-1\357\274\232\345\210\235\346\216\242jQuery/2-1-1.html"
@@ -1,15 +1,15 @@
-
-
-
-
-
-
-
-
-点击我.
-
-
+
+
+
+
+
+
+
+
+点击我.
+
+
diff --git "a/Ch2/2-1\243\272\263\365\314\275jQuery/2-1-2.html" "b/Ch2/2-1\357\274\232\345\210\235\346\216\242jQuery/2-1-2.html"
similarity index 97%
rename from "Ch2/2-1\243\272\263\365\314\275jQuery/2-1-2.html"
rename to "Ch2/2-1\357\274\232\345\210\235\346\216\242jQuery/2-1-2.html"
index 02f35b6..e967e82 100644
--- "a/Ch2/2-1\243\272\263\365\314\275jQuery/2-1-2.html"
+++ "b/Ch2/2-1\357\274\232\345\210\235\346\216\242jQuery/2-1-2.html"
@@ -1,17 +1,17 @@
-
-
-
-
-
-
-
-
-
- jQuery Demo
-
-
-
+
+
+
+
+
+
+
+
+
+ jQuery Demo
+
+
+
diff --git "a/Ch2/2-2\243\272jQuery\321\241\324\361\265\304\323\305\312\306-\315\352\311\306\265\304\264\246\300\355\273\372\326\306(\324\244\301\364\315\313\302\267)/2-2-1.html" "b/Ch2/2-2\357\274\232jQuery\351\200\211\346\213\251\347\232\204\344\274\230\345\212\277-\345\256\214\345\226\204\347\232\204\345\244\204\347\220\206\346\234\272\345\210\266(\351\242\204\347\225\231\351\200\200\350\267\257)/2-2-1.html"
similarity index 96%
rename from "Ch2/2-2\243\272jQuery\321\241\324\361\265\304\323\305\312\306-\315\352\311\306\265\304\264\246\300\355\273\372\326\306(\324\244\301\364\315\313\302\267)/2-2-1.html"
rename to "Ch2/2-2\357\274\232jQuery\351\200\211\346\213\251\347\232\204\344\274\230\345\212\277-\345\256\214\345\226\204\347\232\204\345\244\204\347\220\206\346\234\272\345\210\266(\351\242\204\347\225\231\351\200\200\350\267\257)/2-2-1.html"
index 3c1c221..a4ad6cc 100644
--- "a/Ch2/2-2\243\272jQuery\321\241\324\361\265\304\323\305\312\306-\315\352\311\306\265\304\264\246\300\355\273\372\326\306(\324\244\301\364\315\313\302\267)/2-2-1.html"
+++ "b/Ch2/2-2\357\274\232jQuery\351\200\211\346\213\251\347\232\204\344\274\230\345\212\277-\345\256\214\345\226\204\347\232\204\345\244\204\347\220\206\346\234\272\345\210\266(\351\242\204\347\225\231\351\200\200\350\267\257)/2-2-1.html"
@@ -1,13 +1,13 @@
-
-
-
-
-
-
-
- test
-
-
-
+
+
+
+
+
+
+
+ test
+
+
+
diff --git "a/Ch2/2-2\243\272jQuery\321\241\324\361\265\304\323\305\312\306-\315\352\311\306\265\304\264\246\300\355\273\372\326\306(\324\244\301\364\315\313\302\267)/2-2-2.html" "b/Ch2/2-2\357\274\232jQuery\351\200\211\346\213\251\347\232\204\344\274\230\345\212\277-\345\256\214\345\226\204\347\232\204\345\244\204\347\220\206\346\234\272\345\210\266(\351\242\204\347\225\231\351\200\200\350\267\257)/2-2-2.html"
similarity index 96%
rename from "Ch2/2-2\243\272jQuery\321\241\324\361\265\304\323\305\312\306-\315\352\311\306\265\304\264\246\300\355\273\372\326\306(\324\244\301\364\315\313\302\267)/2-2-2.html"
rename to "Ch2/2-2\357\274\232jQuery\351\200\211\346\213\251\347\232\204\344\274\230\345\212\277-\345\256\214\345\226\204\347\232\204\345\244\204\347\220\206\346\234\272\345\210\266(\351\242\204\347\225\231\351\200\200\350\267\257)/2-2-2.html"
index da9bdf9..e2a2fef 100644
--- "a/Ch2/2-2\243\272jQuery\321\241\324\361\265\304\323\305\312\306-\315\352\311\306\265\304\264\246\300\355\273\372\326\306(\324\244\301\364\315\313\302\267)/2-2-2.html"
+++ "b/Ch2/2-2\357\274\232jQuery\351\200\211\346\213\251\347\232\204\344\274\230\345\212\277-\345\256\214\345\226\204\347\232\204\345\244\204\347\220\206\346\234\272\345\210\266(\351\242\204\347\225\231\351\200\200\350\267\257)/2-2-2.html"
@@ -1,15 +1,15 @@
-
-
-
-
-
-
-
- test
-
-
-
+
+
+
+
+
+
+
+ test
+
+
+
diff --git "a/Ch2/2-2\243\272jQuery\321\241\324\361\265\304\323\305\312\306-\315\352\311\306\265\304\264\246\300\355\273\372\326\306(\324\244\301\364\315\313\302\267)/2-2-3.html" "b/Ch2/2-2\357\274\232jQuery\351\200\211\346\213\251\347\232\204\344\274\230\345\212\277-\345\256\214\345\226\204\347\232\204\345\244\204\347\220\206\346\234\272\345\210\266(\351\242\204\347\225\231\351\200\200\350\267\257)/2-2-3.html"
similarity index 96%
rename from "Ch2/2-2\243\272jQuery\321\241\324\361\265\304\323\305\312\306-\315\352\311\306\265\304\264\246\300\355\273\372\326\306(\324\244\301\364\315\313\302\267)/2-2-3.html"
rename to "Ch2/2-2\357\274\232jQuery\351\200\211\346\213\251\347\232\204\344\274\230\345\212\277-\345\256\214\345\226\204\347\232\204\345\244\204\347\220\206\346\234\272\345\210\266(\351\242\204\347\225\231\351\200\200\350\267\257)/2-2-3.html"
index b09b7aa..da77f88 100644
--- "a/Ch2/2-2\243\272jQuery\321\241\324\361\265\304\323\305\312\306-\315\352\311\306\265\304\264\246\300\355\273\372\326\306(\324\244\301\364\315\313\302\267)/2-2-3.html"
+++ "b/Ch2/2-2\357\274\232jQuery\351\200\211\346\213\251\347\232\204\344\274\230\345\212\277-\345\256\214\345\226\204\347\232\204\345\244\204\347\220\206\346\234\272\345\210\266(\351\242\204\347\225\231\351\200\200\350\267\257)/2-2-3.html"
@@ -1,15 +1,15 @@
-
-
-
-
-
-
-
-
-
- test
-
-
-
+
+
+
+
+
+
+
+
+
+ test
+
+
+
diff --git "a/Ch2/2-3\243\2723\270\366JavaScript\300\375\327\323/2-3-1.html" "b/Ch2/2-3\357\274\2323\344\270\252JavaScript\344\276\213\345\255\220/2-3-1.html"
similarity index 96%
rename from "Ch2/2-3\243\2723\270\366JavaScript\300\375\327\323/2-3-1.html"
rename to "Ch2/2-3\357\274\2323\344\270\252JavaScript\344\276\213\345\255\220/2-3-1.html"
index 30a4959..bdf3a81 100644
--- "a/Ch2/2-3\243\2723\270\366JavaScript\300\375\327\323/2-3-1.html"
+++ "b/Ch2/2-3\357\274\2323\344\270\252JavaScript\344\276\213\345\255\220/2-3-1.html"
@@ -1,22 +1,22 @@
-
-
-
-
-
-
-
-
-测试1
-测试2
-
+
+
+
+
+
+
+
+
+测试1
+测试2
+
\ No newline at end of file
diff --git "a/Ch2/2-3\243\2723\270\366JavaScript\300\375\327\323/2-3-2.html" "b/Ch2/2-3\357\274\2323\344\270\252JavaScript\344\276\213\345\255\220/2-3-2.html"
similarity index 97%
rename from "Ch2/2-3\243\2723\270\366JavaScript\300\375\327\323/2-3-2.html"
rename to "Ch2/2-3\357\274\2323\344\270\252JavaScript\344\276\213\345\255\220/2-3-2.html"
index 158cf85..039d51e 100644
--- "a/Ch2/2-3\243\2723\270\366JavaScript\300\375\327\323/2-3-2.html"
+++ "b/Ch2/2-3\357\274\2323\344\270\252JavaScript\344\276\213\345\255\220/2-3-2.html"
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
- 第一行 第一行
- 第二行 第二行
- 第三行 第三行
- 第四行 第四行
- 第五行 第五行
- 第六行 第六行
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 第一行 第一行
+ 第二行 第二行
+ 第三行 第三行
+ 第四行 第四行
+ 第五行 第五行
+ 第六行 第六行
+
+
+
\ No newline at end of file
diff --git "a/Ch2/2-3\243\2723\270\366JavaScript\300\375\327\323/2-3-3.html" "b/Ch2/2-3\357\274\2323\344\270\252JavaScript\344\276\213\345\255\220/2-3-3.html"
similarity index 97%
rename from "Ch2/2-3\243\2723\270\366JavaScript\300\375\327\323/2-3-3.html"
rename to "Ch2/2-3\357\274\2323\344\270\252JavaScript\344\276\213\345\255\220/2-3-3.html"
index 37d435e..ec31db9 100644
--- "a/Ch2/2-3\243\2723\270\366JavaScript\300\375\327\323/2-3-3.html"
+++ "b/Ch2/2-3\357\274\2323\344\270\252JavaScript\344\276\213\345\255\220/2-3-3.html"
@@ -1,30 +1,30 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch2/2-4-\273\371\261\276\321\241\324\361\306\367.html" "b/Ch2/2-4-\345\237\272\346\234\254\351\200\211\346\213\251\345\231\250.html"
similarity index 96%
rename from "Ch2/2-4-\273\371\261\276\321\241\324\361\306\367.html"
rename to "Ch2/2-4-\345\237\272\346\234\254\351\200\211\346\213\251\345\231\250.html"
index c1ee3bc..b3dee36 100644
--- "a/Ch2/2-4-\273\371\261\276\321\241\324\361\306\367.html"
+++ "b/Ch2/2-4-\345\237\272\346\234\254\351\200\211\346\213\251\345\231\250.html"
@@ -1,90 +1,90 @@
-
-
-
-
- 2-4
-
-
-
-
-
-
-
-
-手动重置页面元素
-点击下列按钮时先自动重置页面
-基本选择器.
-
-
-
-
-
-
-
-
-
-
-
-
- id为one,class为one的div
-
class为mini
-
-
-
- id为two,class为one,title为test的div.
-
class为mini,title为other
-
class为mini,title为test
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
class为mini,title为tesst
-
-
-
-
- style的display为"none"的div
-
-
-class为"hide"的div
-
-
- 包含input的type为"hidden"的div
-
-
-正在执行动画的span元素.
-
-
-
+
+
+
+
+ 2-4
+
+
+
+
+
+
+
+
+手动重置页面元素
+点击下列按钮时先自动重置页面
+基本选择器.
+
+
+
+
+
+
+
+
+
+
+
+
+ id为one,class为one的div
+
class为mini
+
+
+
+ id为two,class为one,title为test的div.
+
class为mini,title为other
+
class为mini,title为test
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
class为mini,title为tesst
+
+
+
+
+ style的display为"none"的div
+
+
+class为"hide"的div
+
+
+ 包含input的type为"hidden"的div
+
+
+正在执行动画的span元素.
+
+
+
diff --git "a/Ch2/2-5-\262\343\264\316\321\241\324\361\306\367.html" "b/Ch2/2-5-\345\261\202\346\254\241\351\200\211\346\213\251\345\231\250.html"
similarity index 97%
rename from "Ch2/2-5-\262\343\264\316\321\241\324\361\306\367.html"
rename to "Ch2/2-5-\345\261\202\346\254\241\351\200\211\346\213\251\345\231\250.html"
index dfbf2ed..2e594e7 100644
--- "a/Ch2/2-5-\262\343\264\316\321\241\324\361\306\367.html"
+++ "b/Ch2/2-5-\345\261\202\346\254\241\351\200\211\346\213\251\345\231\250.html"
@@ -1,83 +1,83 @@
-
-
-
-
- 2-5
-
-
-
-
-
-
-
-层次选择器.
-手动重置页面元素
-点击下列按钮时先自动重置页面
-
-
-
-
-
-
-
-
-
-
- id为one,class为one的div
-
class为mini
-
-
-
- id为two,class为one,title为test的div.
-
class为mini,title为other
-
class为mini,title为test
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
class为mini,title为tesst
-
-
-
-
- style的display为"none"的div
-
-
-class为"hide"的div
-
-
- 包含input的type为"hidden"的div
-
-
-正在执行动画的span元素.
-
-
-
+
+
+
+
+ 2-5
+
+
+
+
+
+
+
+层次选择器.
+手动重置页面元素
+点击下列按钮时先自动重置页面
+
+
+
+
+
+
+
+
+
+
+ id为one,class为one的div
+
class为mini
+
+
+
+ id为two,class为one,title为test的div.
+
class为mini,title为other
+
class为mini,title为test
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
class为mini,title为tesst
+
+
+
+
+ style的display为"none"的div
+
+
+class为"hide"的div
+
+
+ 包含input的type为"hidden"的div
+
+
+正在执行动画的span元素.
+
+
+
diff --git "a/Ch2/2-6-\273\371\261\276\271\375\302\313\321\241\324\361\306\367.html" "b/Ch2/2-6-\345\237\272\346\234\254\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
similarity index 97%
rename from "Ch2/2-6-\273\371\261\276\271\375\302\313\321\241\324\361\306\367.html"
rename to "Ch2/2-6-\345\237\272\346\234\254\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
index 1a139b3..adfdeab 100644
--- "a/Ch2/2-6-\273\371\261\276\271\375\302\313\321\241\324\361\306\367.html"
+++ "b/Ch2/2-6-\345\237\272\346\234\254\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
@@ -1,118 +1,118 @@
-
-
-
-
- 2-6
-
-
-
-
-
-
-
- 基本过滤选择器.
- 手动重置页面元素
- 点击下列按钮时先自动重置页面
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id为one,class为one的div
-
class为mini
-
-
-
- id为two,class为one,title为test的div.
-
class为mini,title为other
-
class为mini,title为test
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
class为mini,title为tesst
-
-
-
-
- style的display为"none"的div
-
-
-class为"hide"的div
-
-
- 包含input的type为"hidden"的div
-
-
-正在执行动画的span元素.
-
-
+
+
+
+
+ 2-6
+
+
+
+
+
+
+
+ 基本过滤选择器.
+ 手动重置页面元素
+ 点击下列按钮时先自动重置页面
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id为one,class为one的div
+
class为mini
+
+
+
+ id为two,class为one,title为test的div.
+
class为mini,title为other
+
class为mini,title为test
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
class为mini,title为tesst
+
+
+
+
+ style的display为"none"的div
+
+
+class为"hide"的div
+
+
+ 包含input的type为"hidden"的div
+
+
+正在执行动画的span元素.
+
+
\ No newline at end of file
diff --git "a/Ch2/2-7-\304\332\310\335\271\375\302\313\321\241\324\361\306\367.html" "b/Ch2/2-7-\345\206\205\345\256\271\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
similarity index 97%
rename from "Ch2/2-7-\304\332\310\335\271\375\302\313\321\241\324\361\306\367.html"
rename to "Ch2/2-7-\345\206\205\345\256\271\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
index b9f697e..4fdf910 100644
--- "a/Ch2/2-7-\304\332\310\335\271\375\302\313\321\241\324\361\306\367.html"
+++ "b/Ch2/2-7-\345\206\205\345\256\271\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
@@ -1,84 +1,84 @@
-
-
-
-
- 2-7
-
-
-
-
-
-
-
- 内容过滤选择器.
- 手动重置页面元素
- 点击下列按钮时先自动重置页面
-
-
-
-
-
-
-
-
-
-
-
- id为one,class为one的div
-
class为mini
-
-
-
- id为two,class为one,title为test的div.
-
class为mini,title为other
-
class为mini,title为test
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
class为mini,title为tesst
-
-
-
-
- style的display为"none"的div
-
-
-class为"hide"的div
-
-
- 包含input的type为"hidden"的div
-
-
-正在执行动画的span元素.
-
-
+
+
+
+
+ 2-7
+
+
+
+
+
+
+
+ 内容过滤选择器.
+ 手动重置页面元素
+ 点击下列按钮时先自动重置页面
+
+
+
+
+
+
+
+
+
+
+
+ id为one,class为one的div
+
class为mini
+
+
+
+ id为two,class为one,title为test的div.
+
class为mini,title为other
+
class为mini,title为test
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
class为mini,title为tesst
+
+
+
+
+ style的display为"none"的div
+
+
+class为"hide"的div
+
+
+ 包含input的type为"hidden"的div
+
+
+正在执行动画的span元素.
+
+
\ No newline at end of file
diff --git "a/Ch2/2-8-\277\311\274\373\320\324\271\375\302\313\321\241\324\361\306\367.html" "b/Ch2/2-8-\345\217\257\350\247\201\346\200\247\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
similarity index 96%
rename from "Ch2/2-8-\277\311\274\373\320\324\271\375\302\313\321\241\324\361\306\367.html"
rename to "Ch2/2-8-\345\217\257\350\247\201\346\200\247\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
index fc10e4f..c2f1508 100644
--- "a/Ch2/2-8-\277\311\274\373\320\324\271\375\302\313\321\241\324\361\306\367.html"
+++ "b/Ch2/2-8-\345\217\257\350\247\201\346\200\247\350\277\207\346\273\244\351\200\211\346\213\251\345\231\250.html"
@@ -1,90 +1,90 @@
-
-
-
-
- 2-8
-
-
-
-
-
-
- 可见性过滤选择器.
- 手动重置页面元素
-
-
-
-
-
-
-
-
-
-
-
- id为one,class为one的div
-
class为mini
-
-
-
- id为two,class为one,title为test的div.
-
class为mini,title为other
-
class为mini,title为test
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
class为mini,title为tesst
-
-
-
-
- style的display为"none"的div
-
-
-class为"hide"的div
-
-
- 包含input的type为"hidden"的div
-
-
-正在执行动画的span元素.
-
-
-
-
+
+
+
+
+ 2-8
+
+
+
+
+
+
+ 可见性过滤选择器.
+ 手动重置页面元素
+
+
+
+
+
+
+
+
+
+
+
+ id为one,class为one的div
+
class为mini
+
+
+
+ id为two,class为one,title为test的div.
+
class为mini,title为other
+
class为mini,title为test
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
class为mini,title为tesst
+
+
+
+
+ style的display为"none"的div
+
+
+class为"hide"的div
+
+
+ 包含input的type为"hidden"的div
+
+
+正在执行动画的span元素.
+
+
+
+
\ No newline at end of file
diff --git "a/Ch2/2-9-\312\364\320\324\321\241\324\361\306\367(\262\271\263\344).html" "b/Ch2/2-9-\345\261\236\346\200\247\351\200\211\346\213\251\345\231\250(\350\241\245\345\205\205).html"
similarity index 97%
rename from "Ch2/2-9-\312\364\320\324\321\241\324\361\306\367(\262\271\263\344).html"
rename to "Ch2/2-9-\345\261\236\346\200\247\351\200\211\346\213\251\345\231\250(\350\241\245\345\205\205).html"
index c836ea2..d16d5ba 100644
--- "a/Ch2/2-9-\312\364\320\324\321\241\324\361\306\367(\262\271\263\344).html"
+++ "b/Ch2/2-9-\345\261\236\346\200\247\351\200\211\346\213\251\345\231\250(\350\241\245\345\205\205).html"
@@ -1,51 +1,51 @@
-
-
-
-
-2-9
-
-
-
-
-
-
-
-
-手动重置页面元素
-点击下列按钮时先自动重置页面
-
- 属性选择器.
-
-
-
-
-
-
-
-title为en的div元素
-title为en-UK的div元素
-title为english的div元素
-title为en uk的div元素
-title为uken的div元素
-
-
+
+
+
+
+2-9
+
+
+
+
+
+
+
+
+手动重置页面元素
+点击下列按钮时先自动重置页面
+
+ 属性选择器.
+
+
+
+
+
+
+
+title为en的div元素
+title为en-UK的div元素
+title为english的div元素
+title为en uk的div元素
+title为uken的div元素
+
+
\ No newline at end of file
diff --git "a/Ch2/2-9-\312\364\320\324\321\241\324\361\306\367.html" "b/Ch2/2-9-\345\261\236\346\200\247\351\200\211\346\213\251\345\231\250.html"
similarity index 97%
rename from "Ch2/2-9-\312\364\320\324\321\241\324\361\306\367.html"
rename to "Ch2/2-9-\345\261\236\346\200\247\351\200\211\346\213\251\345\231\250.html"
index 14a46db..06e384f 100644
--- "a/Ch2/2-9-\312\364\320\324\321\241\324\361\306\367.html"
+++ "b/Ch2/2-9-\345\261\236\346\200\247\351\200\211\346\213\251\345\231\250.html"
@@ -1,103 +1,103 @@
-
-
-
-
- 2-9
-
-
-
-
-
-
-
- 手动重置页面元素
- 点击下列按钮时先自动重置页面
-
-
- 属性选择器.
-
-
-
-
-
-
-
-
-
-
-
-
-
- id为one,class为one的div
-
class为mini
-
-
-
- id为two,class为one,title为test的div.
-
class为mini,title为other
-
class为mini,title为test
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
-
-
-
-
class为mini
-
class为mini
-
class为mini
-
class为mini,title为tesst
-
-
-
-
- style的display为"none"的div
-
-
-class为"hide"的div
-
-
- 包含input的type为"hidden"的div
-
-
-正在执行动画的span元素.
-
-
-
-
+
+
+
+
+ 2-9
+
+
+
+
+
+
+
+ 手动重置页面元素
+ 点击下列按钮时先自动重置页面
+
+
+ 属性选择器.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id为one,class为one的div
+
class为mini
+
+
+
+ id为two,class为one,title为test的div.
+
class为mini,title为other
+
class为mini,title为test
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
+
+
+
+
class为mini
+
class为mini
+
class为mini
+
class为mini,title为tesst
+
+
+
+
+ style的display为"none"的div
+
+
+class为"hide"的div
+
+
+ 包含input的type为"hidden"的div
+
+
+正在执行动画的span元素.
+
+
+
+
\ No newline at end of file
diff --git a/Ch2/css/style.css b/Ch2/css/style.css
index ea7e72d..2c516f4 100644
--- a/Ch2/css/style.css
+++ b/Ch2/css/style.css
@@ -1,19 +1,19 @@
-div,span,p {
- width:140px;
- height:140px;
- margin:5px;
- background:#aaa;
- border:#000 1px solid;
- float:left;
- font-size:17px;
- font-family:Verdana;
-}
-div.mini {
- width:55px;
- height:55px;
- background-color: #aaa;
- font-size:12px;
-}
-div.hide {
- display:none;
+div,span,p {
+ width:140px;
+ height:140px;
+ margin:5px;
+ background:#aaa;
+ border:#000 1px solid;
+ float:left;
+ font-size:17px;
+ font-family:Verdana;
+}
+div.mini {
+ width:55px;
+ height:55px;
+ background-color: #aaa;
+ font-size:12px;
+}
+div.hide {
+ display:none;
}
\ No newline at end of file
diff --git "a/Ch3/3-0\263\365\312\274\273\257\275\341\271\271/3-0.html" "b/Ch3/3-0\345\210\235\345\247\213\345\214\226\347\273\223\346\236\204/3-0.html"
similarity index 95%
rename from "Ch3/3-0\263\365\312\274\273\257\275\341\271\271/3-0.html"
rename to "Ch3/3-0\345\210\235\345\247\213\345\214\226\347\273\223\346\236\204/3-0.html"
index 935bf68..9270d8b 100644
--- "a/Ch3/3-0\263\365\312\274\273\257\275\341\271\271/3-0.html"
+++ "b/Ch3/3-0\345\210\235\345\247\213\345\214\226\347\273\223\346\236\204/3-0.html"
@@ -1,20 +1,20 @@
-
-
-
-
-dom
-
-
-
- 你最喜欢的水果是?
-
-
-
-
-
+
+
+
+
+dom
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-1.html" "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-1.html"
similarity index 96%
rename from "Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-1.html"
rename to "Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-1.html"
index c504501..d3f73c2 100644
--- "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-1.html"
+++ "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-1.html"
@@ -1,71 +1,71 @@
-
-
-
-
-3-10-1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-10-1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-2-1.html" "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-2-1.html"
similarity index 97%
rename from "Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-2-1.html"
rename to "Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-2-1.html"
index 438e102..eba4965 100644
--- "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-2-1.html"
+++ "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-2-1.html"
@@ -1,48 +1,48 @@
-
-
-
-
-3-10-2-1
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+3-10-2-1
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-2-2.html" "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-2-2.html"
similarity index 96%
rename from "Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-2-2.html"
rename to "Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-2-2.html"
index 9a60e06..b5c60be 100644
--- "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-2-2.html"
+++ "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-2-2.html"
@@ -1,49 +1,49 @@
-
-
-
-
-3-10-2-2
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+3-10-2-2
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-3.html" "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-3.html"
similarity index 96%
rename from "Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-3.html"
rename to "Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-3.html"
index e40338c..4d84268 100644
--- "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-3.html"
+++ "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-3.html"
@@ -1,76 +1,76 @@
-
-
-
-
-3-10-3
-
-
-
-
-
-
-
-
-
-
-
-
-
- 选择1号
- 选择2号
- 选择3号
-
-
-
- 选择1号
- 选择2号
- 选择3号
- 选择4号
- 选择5号
-
-
-
-
-
- 多选1
- 多选2
- 多选3
- 多选4
-
-
-
- 单选1
- 单选2
- 单选3
-
-
-
+
+
+
+
+3-10-3
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选择1号
+ 选择2号
+ 选择3号
+
+
+
+ 选择1号
+ 选择2号
+ 选择3号
+ 选择4号
+ 选择5号
+
+
+
+
+
+ 多选1
+ 多选2
+ 多选3
+ 多选4
+
+
+
+ 单选1
+ 单选2
+ 单选3
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-4.html" "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-4.html"
similarity index 96%
rename from "Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-4.html"
rename to "Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-4.html"
index bdcd317..9eda0b9 100644
--- "a/Ch3/3-10\311\350\326\303\272\315\273\361\310\241HTML,\316\304\261\276\272\315\326\265/3-10-4.html"
+++ "b/Ch3/3-10\350\256\276\347\275\256\345\222\214\350\216\267\345\217\226HTML,\346\226\207\346\234\254\345\222\214\345\200\274/3-10-4.html"
@@ -1,81 +1,81 @@
-
-
-
-
-3-10-4
-
-
-
-
-
-
-
-
-
-
-
-
-
- 选择1号
- 选择2号
- 选择3号
-
-
-
- 选择1号
- 选择2号
- 选择3号
- 选择4号
- 选择5号
-
-
-
-
-
- 多选1
- 多选2
- 多选3
- 多选4
-
-
-
- 单选1
- 单选2
- 单选3
-
-
-
+
+
+
+
+3-10-4
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选择1号
+ 选择2号
+ 选择3号
+
+
+
+ 选择1号
+ 选择2号
+ 选择3号
+ 选择4号
+ 选择5号
+
+
+
+
+
+ 多选1
+ 多选2
+ 多选3
+ 多选4
+
+
+
+ 单选1
+ 单选2
+ 单选3
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-1.html" "b/Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-1.html"
similarity index 96%
rename from "Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-1.html"
rename to "Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-1.html"
index fc4ec09..5599e77 100644
--- "a/Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-1.html"
+++ "b/Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-1.html"
@@ -1,35 +1,35 @@
-
-
-
-
-3-11-1
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-11-1
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-2.html" "b/Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-2.html"
similarity index 96%
rename from "Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-2.html"
rename to "Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-2.html"
index 6b5ba2c..166d3b7 100644
--- "a/Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-2.html"
+++ "b/Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-2.html"
@@ -1,32 +1,32 @@
-
-
-
-
-3-11-2
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-11-2
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-3.html" "b/Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-3.html"
similarity index 96%
rename from "Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-3.html"
rename to "Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-3.html"
index 3d63df2..2d90184 100644
--- "a/Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-3.html"
+++ "b/Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-3.html"
@@ -1,29 +1,29 @@
-
-
-
-
-3-11-3
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-11-3
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-4.html" "b/Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-4.html"
similarity index 96%
rename from "Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-4.html"
rename to "Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-4.html"
index 1de030a..f85dc30 100644
--- "a/Ch3/3-11\261\351\300\372\275\332\265\343\312\367/3-11-4.html"
+++ "b/Ch3/3-11\351\201\215\345\216\206\350\212\202\347\202\271\346\240\221/3-11-4.html"
@@ -1,55 +1,55 @@
-
-
-
-
-3-11-4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+3-11-4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch3/3-12CSS-DOM/3-12-1.html b/Ch3/3-12CSS-DOM/3-12-1.html
index cee095b..f86d1a6 100644
--- a/Ch3/3-12CSS-DOM/3-12-1.html
+++ b/Ch3/3-12CSS-DOM/3-12-1.html
@@ -1,81 +1,81 @@
-
-
-
-
-3-12-1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-12-1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/1-1-\316\304\327\326\314\341\312\276-\265\332\322\273\262\275.html" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/1-1-\346\226\207\345\255\227\346\217\220\347\244\272-\347\254\254\344\270\200\346\255\245.html"
similarity index 96%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/1-1-\316\304\327\326\314\341\312\276-\265\332\322\273\262\275.html"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/1-1-\346\226\207\345\255\227\346\217\220\347\244\272-\347\254\254\344\270\200\346\255\245.html"
index 56845ec..ffce355 100644
--- "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/1-1-\316\304\327\326\314\341\312\276-\265\332\322\273\262\275.html"
+++ "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/1-1-\346\226\207\345\255\227\346\217\220\347\244\272-\347\254\254\344\270\200\346\255\245.html"
@@ -1,56 +1,56 @@
-
-
-
-
-文字提示
-
-
-
-
-
-
-提示1.
-提示2.
-自带提示1.
-自带提示2.
-
-
+
+
+
+
+文字提示
+
+
+
+
+
+
+提示1.
+提示2.
+自带提示1.
+自带提示2.
+
+
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/1-2-\316\304\327\326\314\341\312\276-\265\332\266\376\262\275.html" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/1-2-\346\226\207\345\255\227\346\217\220\347\244\272-\347\254\254\344\272\214\346\255\245.html"
similarity index 96%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/1-2-\316\304\327\326\314\341\312\276-\265\332\266\376\262\275.html"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/1-2-\346\226\207\345\255\227\346\217\220\347\244\272-\347\254\254\344\272\214\346\255\245.html"
index b018947..9a0b948 100644
--- "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/1-2-\316\304\327\326\314\341\312\276-\265\332\266\376\262\275.html"
+++ "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/1-2-\346\226\207\345\255\227\346\217\220\347\244\272-\347\254\254\344\272\214\346\255\245.html"
@@ -1,61 +1,61 @@
-
-
-
-
-文字提示
-
-
-
-
-
-
-提示1.
-提示2.
-自带提示1.
-自带提示2.
-
-
+
+
+
+
+文字提示
+
+
+
+
+
+
+提示1.
+提示2.
+自带提示1.
+自带提示2.
+
+
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/1-3-\316\304\327\326\314\341\312\276-\265\332\310\375\262\275.html" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/1-3-\346\226\207\345\255\227\346\217\220\347\244\272-\347\254\254\344\270\211\346\255\245.html"
similarity index 96%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/1-3-\316\304\327\326\314\341\312\276-\265\332\310\375\262\275.html"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/1-3-\346\226\207\345\255\227\346\217\220\347\244\272-\347\254\254\344\270\211\346\255\245.html"
index 51acfef..c2367d7 100644
--- "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/1-3-\316\304\327\326\314\341\312\276-\265\332\310\375\262\275.html"
+++ "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/1-3-\346\226\207\345\255\227\346\217\220\347\244\272-\347\254\254\344\270\211\346\255\245.html"
@@ -1,67 +1,67 @@
-
-
-
-
-文字提示
-
-
-
-
-
-
-提示1.
-提示2.
-自带提示1.
-自带提示2.
-
-
+
+
+
+
+文字提示
+
+
+
+
+
+
+提示1.
+提示2.
+自带提示1.
+自带提示2.
+
+
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/2-1-\315\274\306\254\314\341\312\276-\265\332\322\273\262\275.html" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/2-1-\345\233\276\347\211\207\346\217\220\347\244\272-\347\254\254\344\270\200\346\255\245.html"
similarity index 96%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/2-1-\315\274\306\254\314\341\312\276-\265\332\322\273\262\275.html"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/2-1-\345\233\276\347\211\207\346\217\220\347\244\272-\347\254\254\344\270\200\346\255\245.html"
index 2f0b748..fcc20fb 100644
--- "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/2-1-\315\274\306\254\314\341\312\276-\265\332\322\273\262\275.html"
+++ "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/2-1-\345\233\276\347\211\207\346\217\220\347\244\272-\347\254\254\344\270\200\346\255\245.html"
@@ -1,92 +1,92 @@
-
-
-
-
-图片提示
-
-
-
-
-
-
-
-有效果:
-
-
-
-
-
-
-
-无效果:
-
-
-
+
+
+
+
+图片提示
+
+
+
+
+
+
+
+有效果:
+
+
+
+
+
+
+
+无效果:
+
+
+
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/2-2-\315\274\306\254\314\341\312\276-\265\332\266\376\262\275.html" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/2-2-\345\233\276\347\211\207\346\217\220\347\244\272-\347\254\254\344\272\214\346\255\245.html"
similarity index 96%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/2-2-\315\274\306\254\314\341\312\276-\265\332\266\376\262\275.html"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/2-2-\345\233\276\347\211\207\346\217\220\347\244\272-\347\254\254\344\272\214\346\255\245.html"
index 25e3dcd..76aecf7 100644
--- "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/2-2-\315\274\306\254\314\341\312\276-\265\332\266\376\262\275.html"
+++ "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/2-2-\345\233\276\347\211\207\346\217\220\347\244\272-\347\254\254\344\272\214\346\255\245.html"
@@ -1,93 +1,93 @@
-
-
-
-
-图片提示
-
-
-
-
-
-
-
-有效果:
-
-
-
-
-
-
-
-无效果:
-
-
-
+
+
+
+
+图片提示
+
+
+
+
+
+
+
+有效果:
+
+
+
+
+
+
+
+无效果:
+
+
+
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_1.jpg" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_1.jpg"
similarity index 100%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_1.jpg"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_1.jpg"
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_1_bigger.jpg" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_1_bigger.jpg"
similarity index 100%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_1_bigger.jpg"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_1_bigger.jpg"
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_2.jpg" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_2.jpg"
similarity index 100%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_2.jpg"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_2.jpg"
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_2_bigger.jpg" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_2_bigger.jpg"
similarity index 100%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_2_bigger.jpg"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_2_bigger.jpg"
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_3.jpg" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_3.jpg"
similarity index 100%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_3.jpg"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_3.jpg"
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_3_bigger.jpg" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_3_bigger.jpg"
similarity index 100%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_3_bigger.jpg"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_3_bigger.jpg"
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_4.jpg" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_4.jpg"
similarity index 100%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_4.jpg"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_4.jpg"
diff --git "a/Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_4_bigger.jpg" "b/Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_4_bigger.jpg"
similarity index 100%
rename from "Ch3/3-13\260\270\300\375\321\320\276\277-\263\254\301\264\275\323\314\341\312\276\272\315\315\274\306\254\314\341\312\276\320\247\271\373/images/apple_4_bigger.jpg"
rename to "Ch3/3-13\346\241\210\344\276\213\347\240\224\347\251\266-\350\266\205\351\223\276\346\216\245\346\217\220\347\244\272\345\222\214\345\233\276\347\211\207\346\217\220\347\244\272\346\225\210\346\236\234/images/apple_4_bigger.jpg"
diff --git "a/Ch3/3-1\262\351\325\322\275\332\265\343/3-1.html" "b/Ch3/3-1\346\237\245\346\211\276\350\212\202\347\202\271/3-1.html"
similarity index 96%
rename from "Ch3/3-1\262\351\325\322\275\332\265\343/3-1.html"
rename to "Ch3/3-1\346\237\245\346\211\276\350\212\202\347\202\271/3-1.html"
index 56b0914..874650e 100644
--- "a/Ch3/3-1\262\351\325\322\275\332\265\343/3-1.html"
+++ "b/Ch3/3-1\346\237\245\346\211\276\350\212\202\347\202\271/3-1.html"
@@ -1,36 +1,36 @@
-
-
-
-
-3-1
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-1
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-2\264\264\275\250\275\332\265\343/3-2-1.html" "b/Ch3/3-2\345\210\233\345\273\272\350\212\202\347\202\271/3-2-1.html"
similarity index 96%
rename from "Ch3/3-2\264\264\275\250\275\332\265\343/3-2-1.html"
rename to "Ch3/3-2\345\210\233\345\273\272\350\212\202\347\202\271/3-2-1.html"
index dd9d222..3c4824a 100644
--- "a/Ch3/3-2\264\264\275\250\275\332\265\343/3-2-1.html"
+++ "b/Ch3/3-2\345\210\233\345\273\272\350\212\202\347\202\271/3-2-1.html"
@@ -1,35 +1,35 @@
-
-
-
-
-3-2-1
-
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
-
+
+
+
+
+3-2-1
+
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-2\264\264\275\250\275\332\265\343/3-2-2.html" "b/Ch3/3-2\345\210\233\345\273\272\350\212\202\347\202\271/3-2-2.html"
similarity index 96%
rename from "Ch3/3-2\264\264\275\250\275\332\265\343/3-2-2.html"
rename to "Ch3/3-2\345\210\233\345\273\272\350\212\202\347\202\271/3-2-2.html"
index f0c7d8c..8134c52 100644
--- "a/Ch3/3-2\264\264\275\250\275\332\265\343/3-2-2.html"
+++ "b/Ch3/3-2\345\210\233\345\273\272\350\212\202\347\202\271/3-2-2.html"
@@ -1,38 +1,38 @@
-
-
-
-
-3-2-2
-
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
-
+
+
+
+
+3-2-2
+
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-2\264\264\275\250\275\332\265\343/3-2-3.html" "b/Ch3/3-2\345\210\233\345\273\272\350\212\202\347\202\271/3-2-3.html"
similarity index 97%
rename from "Ch3/3-2\264\264\275\250\275\332\265\343/3-2-3.html"
rename to "Ch3/3-2\345\210\233\345\273\272\350\212\202\347\202\271/3-2-3.html"
index fa1d640..1e3b9ec 100644
--- "a/Ch3/3-2\264\264\275\250\275\332\265\343/3-2-3.html"
+++ "b/Ch3/3-2\345\210\233\345\273\272\350\212\202\347\202\271/3-2-3.html"
@@ -1,40 +1,40 @@
-
-
-
-
-3-2-3
-
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
-
+
+
+
+
+3-2-3
+
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-3\262\345\310\353\275\332\265\343/3-3-1-\262\345\310\353\275\332\265\343.html" "b/Ch3/3-3\346\217\222\345\205\245\350\212\202\347\202\271/3-3-1-\346\217\222\345\205\245\350\212\202\347\202\271.html"
similarity index 97%
rename from "Ch3/3-3\262\345\310\353\275\332\265\343/3-3-1-\262\345\310\353\275\332\265\343.html"
rename to "Ch3/3-3\346\217\222\345\205\245\350\212\202\347\202\271/3-3-1-\346\217\222\345\205\245\350\212\202\347\202\271.html"
index e51b527..f6801f4 100644
--- "a/Ch3/3-3\262\345\310\353\275\332\265\343/3-3-1-\262\345\310\353\275\332\265\343.html"
+++ "b/Ch3/3-3\346\217\222\345\205\245\350\212\202\347\202\271/3-3-1-\346\217\222\345\205\245\350\212\202\347\202\271.html"
@@ -1,38 +1,38 @@
-
-
-
-
-3-3-1
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-3-1
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-3\262\345\310\353\275\332\265\343/3-3-2-\322\306\266\257\275\332\265\343.html" "b/Ch3/3-3\346\217\222\345\205\245\350\212\202\347\202\271/3-3-2-\347\247\273\345\212\250\350\212\202\347\202\271.html"
similarity index 96%
rename from "Ch3/3-3\262\345\310\353\275\332\265\343/3-3-2-\322\306\266\257\275\332\265\343.html"
rename to "Ch3/3-3\346\217\222\345\205\245\350\212\202\347\202\271/3-3-2-\347\247\273\345\212\250\350\212\202\347\202\271.html"
index ab5786e..a82761c 100644
--- "a/Ch3/3-3\262\345\310\353\275\332\265\343/3-3-2-\322\306\266\257\275\332\265\343.html"
+++ "b/Ch3/3-3\346\217\222\345\205\245\350\212\202\347\202\271/3-3-2-\347\247\273\345\212\250\350\212\202\347\202\271.html"
@@ -1,29 +1,29 @@
-
-
-
-
-3-3-2
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-3-2
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-1.html" "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-1.html"
similarity index 96%
rename from "Ch3/3-4\311\276\263\375\275\332\265\343/3-4-1.html"
rename to "Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-1.html"
index 99736d1..7139ec8 100644
--- "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-1.html"
+++ "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-1.html"
@@ -1,27 +1,27 @@
-
-
-
-
-3-4-1
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-4-1
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-2.html" "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-2.html"
similarity index 97%
rename from "Ch3/3-4\311\276\263\375\275\332\265\343/3-4-2.html"
rename to "Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-2.html"
index ac54fbb..dd72011 100644
--- "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-2.html"
+++ "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-2.html"
@@ -1,29 +1,29 @@
-
-
-
-
-3-4-2
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-4-2
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-3.html" "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-3.html"
similarity index 96%
rename from "Ch3/3-4\311\276\263\375\275\332\265\343/3-4-3.html"
rename to "Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-3.html"
index aa2c4ad..c23b25d 100644
--- "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-3.html"
+++ "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-3.html"
@@ -1,27 +1,27 @@
-
-
-
-
-3-4-3
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-4-3
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-4-1.html" "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-4-1.html"
similarity index 96%
rename from "Ch3/3-4\311\276\263\375\275\332\265\343/3-4-4-1.html"
rename to "Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-4-1.html"
index 4c15e85..679babb 100644
--- "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-4-1.html"
+++ "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-4-1.html"
@@ -1,32 +1,32 @@
-
-
-
-
-3-4-3
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-4-3
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-4-2.html" "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-4-2.html"
similarity index 96%
rename from "Ch3/3-4\311\276\263\375\275\332\265\343/3-4-4-2.html"
rename to "Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-4-2.html"
index 5a0c4c3..64dd758 100644
--- "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-4-2.html"
+++ "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-4-2.html"
@@ -1,31 +1,31 @@
-
-
-
-
-3-4-3
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-4-3
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-5.html" "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-5.html"
similarity index 96%
rename from "Ch3/3-4\311\276\263\375\275\332\265\343/3-4-5.html"
rename to "Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-5.html"
index 5c89366..0efe3aa 100644
--- "a/Ch3/3-4\311\276\263\375\275\332\265\343/3-4-5.html"
+++ "b/Ch3/3-4\345\210\240\351\231\244\350\212\202\347\202\271/3-4-5.html"
@@ -1,27 +1,27 @@
-
-
-
-
-3-4-4
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-4-4
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-5\270\264\326\306\275\332\265\343/3-5-1.html" "b/Ch3/3-5\345\244\215\345\210\266\350\212\202\347\202\271/3-5-1.html"
similarity index 96%
rename from "Ch3/3-5\270\264\326\306\275\332\265\343/3-5-1.html"
rename to "Ch3/3-5\345\244\215\345\210\266\350\212\202\347\202\271/3-5-1.html"
index fc434e0..9dc59ae 100644
--- "a/Ch3/3-5\270\264\326\306\275\332\265\343/3-5-1.html"
+++ "b/Ch3/3-5\345\244\215\345\210\266\350\212\202\347\202\271/3-5-1.html"
@@ -1,27 +1,27 @@
-
-
-
-
-3-5-1
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-5-1
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-5\270\264\326\306\275\332\265\343/3-5-2.html" "b/Ch3/3-5\345\244\215\345\210\266\350\212\202\347\202\271/3-5-2.html"
similarity index 96%
rename from "Ch3/3-5\270\264\326\306\275\332\265\343/3-5-2.html"
rename to "Ch3/3-5\345\244\215\345\210\266\350\212\202\347\202\271/3-5-2.html"
index 35ef109..2630dbc 100644
--- "a/Ch3/3-5\270\264\326\306\275\332\265\343/3-5-2.html"
+++ "b/Ch3/3-5\345\244\215\345\210\266\350\212\202\347\202\271/3-5-2.html"
@@ -1,28 +1,28 @@
-
-
-
-
-3-5-2
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-5-2
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-6\314\346\273\273\275\332\265\343/3-6.html" "b/Ch3/3-6\346\233\277\346\215\242\350\212\202\347\202\271/3-6.html"
similarity index 96%
rename from "Ch3/3-6\314\346\273\273\275\332\265\343/3-6.html"
rename to "Ch3/3-6\346\233\277\346\215\242\350\212\202\347\202\271/3-6.html"
index 04d2275..98d606e 100644
--- "a/Ch3/3-6\314\346\273\273\275\332\265\343/3-6.html"
+++ "b/Ch3/3-6\346\233\277\346\215\242\350\212\202\347\202\271/3-6.html"
@@ -1,28 +1,28 @@
-
-
-
-
-3-6
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-6
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-1.html" "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-1.html"
similarity index 96%
rename from "Ch3/3-7\260\374\271\374\275\332\265\343/3-7-1.html"
rename to "Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-1.html"
index dd0e356..1b38495 100644
--- "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-1.html"
+++ "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-1.html"
@@ -1,27 +1,27 @@
-
-
-
-
-3-7-1
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-7-1
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-2.html" "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-2.html"
similarity index 96%
rename from "Ch3/3-7\260\374\271\374\275\332\265\343/3-7-2.html"
rename to "Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-2.html"
index 9ba06c2..c2d4f9c 100644
--- "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-2.html"
+++ "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-2.html"
@@ -1,30 +1,30 @@
-
-
-
-
-3-7-2
-
-
-
-
-
-
- 你最喜欢的水果是?
- 你最喜欢的水果是?
-
-
-
-
-
+
+
+
+
+3-7-2
+
+
+
+
+
+
+ 你最喜欢的水果是?
+ 你最喜欢的水果是?
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-3-1.html" "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-3-1.html"
similarity index 96%
rename from "Ch3/3-7\260\374\271\374\275\332\265\343/3-7-3-1.html"
rename to "Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-3-1.html"
index 29e8232..1b9b912 100644
--- "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-3-1.html"
+++ "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-3-1.html"
@@ -1,30 +1,30 @@
-
-
-
-
-3-7-3
-
-
-
-
-
-
- 你最喜欢的水果是?
- 你最喜欢的水果是?
-
-
-
-
-
+
+
+
+
+3-7-3
+
+
+
+
+
+
+ 你最喜欢的水果是?
+ 你最喜欢的水果是?
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-3-2.html" "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-3-2.html"
similarity index 96%
rename from "Ch3/3-7\260\374\271\374\275\332\265\343/3-7-3-2.html"
rename to "Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-3-2.html"
index 14abfdc..5a04b0f 100644
--- "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-3-2.html"
+++ "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-3-2.html"
@@ -1,31 +1,31 @@
-
-
-
-
-3-7-3
-
-
-
-
-
-
- 你最喜欢的水果是?
- 中间的元素
- 你最喜欢的水果是?
-
-
-
-
-
+
+
+
+
+3-7-3
+
+
+
+
+
+
+ 你最喜欢的水果是?
+ 中间的元素
+ 你最喜欢的水果是?
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-4.html" "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-4.html"
similarity index 96%
rename from "Ch3/3-7\260\374\271\374\275\332\265\343/3-7-4.html"
rename to "Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-4.html"
index 2e70389..b369eb3 100644
--- "a/Ch3/3-7\260\374\271\374\275\332\265\343/3-7-4.html"
+++ "b/Ch3/3-7\345\214\205\350\243\271\350\212\202\347\202\271/3-7-4.html"
@@ -1,29 +1,29 @@
-
-
-
-
-3-7-4
-
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
-
+
+
+
+
+3-7-4
+
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-8\312\364\320\324\262\331\327\367/3-8.html" "b/Ch3/3-8\345\261\236\346\200\247\346\223\215\344\275\234/3-8.html"
similarity index 96%
rename from "Ch3/3-8\312\364\320\324\262\331\327\367/3-8.html"
rename to "Ch3/3-8\345\261\236\346\200\247\346\223\215\344\275\234/3-8.html"
index 1556984..fbdffe2 100644
--- "a/Ch3/3-8\312\364\320\324\262\331\327\367/3-8.html"
+++ "b/Ch3/3-8\345\261\236\346\200\247\346\223\215\344\275\234/3-8.html"
@@ -1,44 +1,44 @@
-
-
-
-
-3-8
-
-
-
-
-
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-8
+
+
+
+
+
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch3/3-9\321\371\312\275\262\331\327\367/3-9-1.html" "b/Ch3/3-9\346\240\267\345\274\217\346\223\215\344\275\234/3-9-1.html"
similarity index 96%
rename from "Ch3/3-9\321\371\312\275\262\331\327\367/3-9-1.html"
rename to "Ch3/3-9\346\240\267\345\274\217\346\223\215\344\275\234/3-9-1.html"
index 2571900..998d7bc 100644
--- "a/Ch3/3-9\321\371\312\275\262\331\327\367/3-9-1.html"
+++ "b/Ch3/3-9\346\240\267\345\274\217\346\223\215\344\275\234/3-9-1.html"
@@ -1,73 +1,73 @@
-
-
-
-
-3-9-1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 你最喜欢的水果是?
-
-
-
-
+
+
+
+
+3-9-1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 你最喜欢的水果是?
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/0-ready()/4-0-1\274\323\324\330\312\261\274\344\266\324\261\310.html" "b/Ch4/0-ready()/4-0-1\345\212\240\350\275\275\346\227\266\351\227\264\345\257\271\346\257\224.html"
similarity index 97%
rename from "Ch4/0-ready()/4-0-1\274\323\324\330\312\261\274\344\266\324\261\310.html"
rename to "Ch4/0-ready()/4-0-1\345\212\240\350\275\275\346\227\266\351\227\264\345\257\271\346\257\224.html"
index d514e7a..ebb4e32 100644
--- "a/Ch4/0-ready()/4-0-1\274\323\324\330\312\261\274\344\266\324\261\310.html"
+++ "b/Ch4/0-ready()/4-0-1\345\212\240\350\275\275\346\227\266\351\227\264\345\257\271\346\257\224.html"
@@ -1,29 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/1-DOM\327\274\261\270/4-1-1.html" "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-1.html"
similarity index 96%
rename from "Ch4/1-DOM\327\274\261\270/4-1-1.html"
rename to "Ch4/1-DOM\345\207\206\345\244\207/4-1-1.html"
index cfb2454..39c4ea5 100644
--- "a/Ch4/1-DOM\327\274\261\270/4-1-1.html"
+++ "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-1.html"
@@ -1,19 +1,19 @@
-
-
-
-
-4-1-1
-
-
-
-click me.
-
+
+
+
+
+4-1-1
+
+
+
+click me.
+
\ No newline at end of file
diff --git "a/Ch4/1-DOM\327\274\261\270/4-1-2.html" "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-2.html"
similarity index 97%
rename from "Ch4/1-DOM\327\274\261\270/4-1-2.html"
rename to "Ch4/1-DOM\345\207\206\345\244\207/4-1-2.html"
index 2976252..fd0f7c2 100644
--- "a/Ch4/1-DOM\327\274\261\270/4-1-2.html"
+++ "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-2.html"
@@ -1,16 +1,16 @@
-
-
-
-
-4-1-2
-
-
-click me.
-
-
+
+
+
+
+4-1-2
+
+
+click me.
+
+
\ No newline at end of file
diff --git "a/Ch4/1-DOM\327\274\261\270/4-1-3.html" "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-3.html"
similarity index 96%
rename from "Ch4/1-DOM\327\274\261\270/4-1-3.html"
rename to "Ch4/1-DOM\345\207\206\345\244\207/4-1-3.html"
index 0a3c27c..c3052d3 100644
--- "a/Ch4/1-DOM\327\274\261\270/4-1-3.html"
+++ "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-3.html"
@@ -1,17 +1,17 @@
-
-
-
-
-4-1-3
-
-
-
-click me.
-
+
+
+
+
+4-1-3
+
+
+
+click me.
+
\ No newline at end of file
diff --git "a/Ch4/1-DOM\327\274\261\270/4-1-4.html" "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-4.html"
similarity index 97%
rename from "Ch4/1-DOM\327\274\261\270/4-1-4.html"
rename to "Ch4/1-DOM\345\207\206\345\244\207/4-1-4.html"
index c4af072..9db7e0e 100644
--- "a/Ch4/1-DOM\327\274\261\270/4-1-4.html"
+++ "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-4.html"
@@ -1,18 +1,18 @@
-
-
-
-
-4-1-4
-
-
-
-
-click me.
-
+
+
+
+
+4-1-4
+
+
+
+
+click me.
+
\ No newline at end of file
diff --git "a/Ch4/1-DOM\327\274\261\270/4-1-5-1-window.onload.html" "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-5-1-window.onload.html"
similarity index 95%
rename from "Ch4/1-DOM\327\274\261\270/4-1-5-1-window.onload.html"
rename to "Ch4/1-DOM\345\207\206\345\244\207/4-1-5-1-window.onload.html"
index d80ef1d..36d80f9 100644
--- "a/Ch4/1-DOM\327\274\261\270/4-1-5-1-window.onload.html"
+++ "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-5-1-window.onload.html"
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/1-DOM\327\274\261\270/4-1-5-2-document.ready.html" "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-5-2-document.ready.html"
similarity index 95%
rename from "Ch4/1-DOM\327\274\261\270/4-1-5-2-document.ready.html"
rename to "Ch4/1-DOM\345\207\206\345\244\207/4-1-5-2-document.ready.html"
index 0f897c9..51520e4 100644
--- "a/Ch4/1-DOM\327\274\261\270/4-1-5-2-document.ready.html"
+++ "b/Ch4/1-DOM\345\207\206\345\244\207/4-1-5-2-document.ready.html"
@@ -1,26 +1,26 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/demo1-\263\365\312\274\273\257.html" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/demo1-\345\210\235\345\247\213\345\214\226.html"
similarity index 98%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/demo1-\263\365\312\274\273\257.html"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/demo1-\345\210\235\345\247\213\345\214\226.html"
index 335e95e..a7c5a79 100644
--- "a/Ch4/10-\260\270\300\375\321\335\312\276/demo1-\263\365\312\274\273\257.html"
+++ "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/demo1-\345\210\235\345\247\213\345\214\226.html"
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
卡通动漫
-
- 1 2 3 4
-
-
- 上一页
- 下一页
-
-
更多>>
-
-
-
-
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放:33,326
- 播放:33,326
- 播放:33,326
- 播放:33,326
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放 57,865
- 播放 57,865
- 播放 57,865
- 播放 57,865
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
卡通动漫
+
+ 1 2 3 4
+
+
+ 上一页
+ 下一页
+
+
更多>>
+
+
+
+
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放:33,326
+ 播放:33,326
+ 播放:33,326
+ 播放:33,326
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放 57,865
+ 播放 57,865
+ 播放 57,865
+ 播放 57,865
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/demo2-\301\254\320\370\265\343\273\367\264\370bug.html" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/demo2-\350\277\236\347\273\255\347\202\271\345\207\273\345\270\246bug.html"
similarity index 98%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/demo2-\301\254\320\370\265\343\273\367\264\370bug.html"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/demo2-\350\277\236\347\273\255\347\202\271\345\207\273\345\270\246bug.html"
index 63597e5..f50cd8f 100644
--- "a/Ch4/10-\260\270\300\375\321\335\312\276/demo2-\301\254\320\370\265\343\273\367\264\370bug.html"
+++ "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/demo2-\350\277\236\347\273\255\347\202\271\345\207\273\345\270\246bug.html"
@@ -1,96 +1,96 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
卡通动漫
-
- 1 2 3 4
-
-
- 上一页
- 下一页
-
-
更多>>
-
-
-
-
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放:33,326
- 播放:33,326
- 播放:33,326
- 播放:33,326
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放 57,865
- 播放 57,865
- 播放 57,865
- 播放 57,865
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
卡通动漫
+
+ 1 2 3 4
+
+
+ 上一页
+ 下一页
+
+
更多>>
+
+
+
+
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放:33,326
+ 播放:33,326
+ 播放:33,326
+ 播放:33,326
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放 57,865
+ 播放 57,865
+ 播放 57,865
+ 播放 57,865
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/demo3-\325\375\310\267\312\265\300\375.html" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/demo3-\346\255\243\347\241\256\345\256\236\344\276\213.html"
similarity index 98%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/demo3-\325\375\310\267\312\265\300\375.html"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/demo3-\346\255\243\347\241\256\345\256\236\344\276\213.html"
index c030297..b29cd15 100644
--- "a/Ch4/10-\260\270\300\375\321\335\312\276/demo3-\325\375\310\267\312\265\300\375.html"
+++ "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/demo3-\346\255\243\347\241\256\345\256\236\344\276\213.html"
@@ -1,101 +1,101 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
卡通动漫
-
- 1 2 3 4
-
-
- 上一页
- 下一页
-
-
更多>>
-
-
-
-
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放:33,326
- 播放:33,326
- 播放:33,326
- 播放:33,326
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放:28,276
- 播放 57,865
- 播放 57,865
- 播放 57,865
- 播放 57,865
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
卡通动漫
+
+ 1 2 3 4
+
+
+ 上一页
+ 下一页
+
+
更多>>
+
+
+
+
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放:33,326
+ 播放:33,326
+ 播放:33,326
+ 播放:33,326
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放:28,276
+ 播放 57,865
+ 播放 57,865
+ 播放 57,865
+ 播放 57,865
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/img/01.jpg" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/01.jpg"
similarity index 100%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/img/01.jpg"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/01.jpg"
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/img/02.jpg" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/02.jpg"
similarity index 100%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/img/02.jpg"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/02.jpg"
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/img/03.jpg" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/03.jpg"
similarity index 100%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/img/03.jpg"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/03.jpg"
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/img/04.jpg" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/04.jpg"
similarity index 100%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/img/04.jpg"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/04.jpg"
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/img/b5df2063502528.t1.jpg" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/b5df2063502528.t1.jpg"
similarity index 100%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/img/b5df2063502528.t1.jpg"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/b5df2063502528.t1.jpg"
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/img/btn_cartoon.gif" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/btn_cartoon.gif"
similarity index 100%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/img/btn_cartoon.gif"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/img/btn_cartoon.gif"
diff --git "a/Ch4/10-\260\270\300\375\321\335\312\276/style.css" "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/style.css"
similarity index 98%
rename from "Ch4/10-\260\270\300\375\321\335\312\276/style.css"
rename to "Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/style.css"
index 0aabd46..195b83a 100644
--- "a/Ch4/10-\260\270\300\375\321\335\312\276/style.css"
+++ "b/Ch4/10-\346\241\210\344\276\213\346\274\224\347\244\272/style.css"
@@ -1,32 +1,32 @@
-* { margin:0; padding:0; word-break:break-all; }
-body { background:#FFF; color:#333; font:12px/1.5em Helvetica, Arial, sans-serif; }
-h1, h2, h3, h4, h5, h6 { font-size:1em; }
-a { color:#2B93D2; text-decoration:none; }
-a:hover { color:#E31E1C; text-decoration:underline; }
-ul, li { list-style:none; }
-fieldset, img { border:none; }
-
-/* v_show style */
-.v_show { width:595px; margin:20px 0 1px 60px; }
-.v_caption { height:35px; overflow:hidden; background:url(img/btn_cartoon.gif) no-repeat 0 0; }
-.v_caption h2 { float:left; width:84px; height:35px; overflow:hidden; background:url(img/btn_cartoon.gif) no-repeat; text-indent:-9999px; }
-.v_caption .cartoon { background-position: 0 -100px; }
-.v_caption .variety { background-position:-100px -100px; }
-.highlight_tip { display:inline; float:left; margin:14px 0 0 10px; }
-.highlight_tip span { display:inline; float:left; width:7px; height:7px; overflow:hidden; margin:0 2px; background:url(img/btn_cartoon.gif) no-repeat 0 -320px; text-indent:-9999px; }
-.highlight_tip .current { background-position:0 -220px; }
-.change_btn { float:left; margin:7px 0 0 10px; }
-.change_btn span { display:block; float:left; width:30px; height:23px; overflow:hidden; background:url(img/btn_cartoon.gif) no-repeat; text-indent:-9999px; cursor:pointer; }
-.change_btn .prev { background-position:0 -400px; }
-.change_btn .next { width:31px; background-position:-30px -400px; }
-.v_caption em { display:inline; float:right; margin:10px 12px 0 0; font-family:simsun; }
-.v_content { position:relative; width:592px; height:160px; overflow:hidden; border-right:1px solid #E7E7E7; border-bottom:1px solid #E7E7E7; border-left:1px solid #E7E7E7; }
-.v_content_list { position:absolute; width:2500px;top:0px; left:0px; }
-.v_content ul {float:left;}
-.v_content ul li { display:inline; float:left; margin:10px 2px 0; padding:8px; background:url(img/v_bg.gif) no-repeat; }
-.v_content ul li a { display:block; width:128px; height:80px; overflow:hidden; }
-.v_content ul li img { width:128px; height:96px; }
-.v_content ul li h4 { width:128px; height:18px; overflow:hidden; margin-top:12px; font-weight:normal; }
-.v_content ul li h4 a { display:inline !important; height:auto !important; }
-.v_content ul li span { color:#666; }
+* { margin:0; padding:0; word-break:break-all; }
+body { background:#FFF; color:#333; font:12px/1.5em Helvetica, Arial, sans-serif; }
+h1, h2, h3, h4, h5, h6 { font-size:1em; }
+a { color:#2B93D2; text-decoration:none; }
+a:hover { color:#E31E1C; text-decoration:underline; }
+ul, li { list-style:none; }
+fieldset, img { border:none; }
+
+/* v_show style */
+.v_show { width:595px; margin:20px 0 1px 60px; }
+.v_caption { height:35px; overflow:hidden; background:url(img/btn_cartoon.gif) no-repeat 0 0; }
+.v_caption h2 { float:left; width:84px; height:35px; overflow:hidden; background:url(img/btn_cartoon.gif) no-repeat; text-indent:-9999px; }
+.v_caption .cartoon { background-position: 0 -100px; }
+.v_caption .variety { background-position:-100px -100px; }
+.highlight_tip { display:inline; float:left; margin:14px 0 0 10px; }
+.highlight_tip span { display:inline; float:left; width:7px; height:7px; overflow:hidden; margin:0 2px; background:url(img/btn_cartoon.gif) no-repeat 0 -320px; text-indent:-9999px; }
+.highlight_tip .current { background-position:0 -220px; }
+.change_btn { float:left; margin:7px 0 0 10px; }
+.change_btn span { display:block; float:left; width:30px; height:23px; overflow:hidden; background:url(img/btn_cartoon.gif) no-repeat; text-indent:-9999px; cursor:pointer; }
+.change_btn .prev { background-position:0 -400px; }
+.change_btn .next { width:31px; background-position:-30px -400px; }
+.v_caption em { display:inline; float:right; margin:10px 12px 0 0; font-family:simsun; }
+.v_content { position:relative; width:592px; height:160px; overflow:hidden; border-right:1px solid #E7E7E7; border-bottom:1px solid #E7E7E7; border-left:1px solid #E7E7E7; }
+.v_content_list { position:absolute; width:2500px;top:0px; left:0px; }
+.v_content ul {float:left;}
+.v_content ul li { display:inline; float:left; margin:10px 2px 0; padding:8px; background:url(img/v_bg.gif) no-repeat; }
+.v_content ul li a { display:block; width:128px; height:80px; overflow:hidden; }
+.v_content ul li img { width:128px; height:96px; }
+.v_content ul li h4 { width:128px; height:18px; overflow:hidden; margin-top:12px; font-weight:normal; }
+.v_content ul li h4 a { display:inline !important; height:auto !important; }
+.v_content ul li span { color:#666; }
.v_content ul li em { color:#888; font-family:Verdana; font-size:0.9em; }
\ No newline at end of file
diff --git "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-1-\263\365\312\274\273\257\327\264\314\254.html" "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-1-\345\210\235\345\247\213\345\214\226\347\212\266\346\200\201.html"
similarity index 98%
rename from "Ch4/2-\312\302\274\376\260\363\266\250/4-2-1-\263\365\312\274\273\257\327\264\314\254.html"
rename to "Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-1-\345\210\235\345\247\213\345\214\226\347\212\266\346\200\201.html"
index 2cbb61e..18e951a 100644
--- "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-1-\263\365\312\274\273\257\327\264\314\254.html"
+++ "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-1-\345\210\235\345\247\213\345\214\226\347\212\266\346\200\201.html"
@@ -1,16 +1,16 @@
-
-
-
-
-4-2-1
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+4-2-1
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-2-\265\343\273\367\325\271\277\252.html" "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-2-\347\202\271\345\207\273\345\261\225\345\274\200.html"
similarity index 97%
rename from "Ch4/2-\312\302\274\376\260\363\266\250/4-2-2-\265\343\273\367\325\271\277\252.html"
rename to "Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-2-\347\202\271\345\207\273\345\261\225\345\274\200.html"
index f36025a..aa4fa9a 100644
--- "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-2-\265\343\273\367\325\271\277\252.html"
+++ "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-2-\347\202\271\345\207\273\345\261\225\345\274\200.html"
@@ -1,24 +1,24 @@
-
-
-
-
-4-2-2
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+4-2-2
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-3-\265\343\273\367\325\271\277\2522.html" "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-3-\347\202\271\345\207\273\345\261\225\345\274\2002.html"
similarity index 97%
rename from "Ch4/2-\312\302\274\376\260\363\266\250/4-2-3-\265\343\273\367\325\271\277\2522.html"
rename to "Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-3-\347\202\271\345\207\273\345\261\225\345\274\2002.html"
index 2470084..dbabea9 100644
--- "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-3-\265\343\273\367\325\271\277\2522.html"
+++ "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-3-\347\202\271\345\207\273\345\261\225\345\274\2002.html"
@@ -1,29 +1,29 @@
-
-
-
-
-4-2-3
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+4-2-3
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-4-\312\363\261\352\273\254\271\375.html" "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-4-\351\274\240\346\240\207\346\273\221\350\277\207.html"
similarity index 97%
rename from "Ch4/2-\312\302\274\376\260\363\266\250/4-2-4-\312\363\261\352\273\254\271\375.html"
rename to "Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-4-\351\274\240\346\240\207\346\273\221\350\277\207.html"
index e518b2c..334c80d 100644
--- "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-4-\312\363\261\352\273\254\271\375.html"
+++ "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-4-\351\274\240\346\240\207\346\273\221\350\277\207.html"
@@ -1,26 +1,26 @@
-
-
-
-
-4-2-4
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+4-2-4
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-5-\325\271\277\252\243\254\274\362\320\264\267\275\312\275.html" "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-5-\345\261\225\345\274\200\357\274\214\347\256\200\345\206\231\346\226\271\345\274\217.html"
similarity index 97%
rename from "Ch4/2-\312\302\274\376\260\363\266\250/4-2-5-\325\271\277\252\243\254\274\362\320\264\267\275\312\275.html"
rename to "Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-5-\345\261\225\345\274\200\357\274\214\347\256\200\345\206\231\346\226\271\345\274\217.html"
index 2237d6a..9f80d23 100644
--- "a/Ch4/2-\312\302\274\376\260\363\266\250/4-2-5-\325\271\277\252\243\254\274\362\320\264\267\275\312\275.html"
+++ "b/Ch4/2-\344\272\213\344\273\266\347\273\221\345\256\232/4-2-5-\345\261\225\345\274\200\357\274\214\347\256\200\345\206\231\346\226\271\345\274\217.html"
@@ -1,26 +1,26 @@
-
-
-
-
-4-2-5
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+4-2-5
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/3-\272\317\263\311\312\302\274\376/4-3-1\272\317\263\311\312\302\274\376hover.html" "b/Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-1\345\220\210\346\210\220\344\272\213\344\273\266hover.html"
similarity index 97%
rename from "Ch4/3-\272\317\263\311\312\302\274\376/4-3-1\272\317\263\311\312\302\274\376hover.html"
rename to "Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-1\345\220\210\346\210\220\344\272\213\344\273\266hover.html"
index 293b71b..d27c20b 100644
--- "a/Ch4/3-\272\317\263\311\312\302\274\376/4-3-1\272\317\263\311\312\302\274\376hover.html"
+++ "b/Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-1\345\220\210\346\210\220\344\272\213\344\273\266hover.html"
@@ -1,26 +1,26 @@
-
-
-
-
-4-3-1
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+4-3-1
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/3-\272\317\263\311\312\302\274\376/4-3-2\272\317\263\311\312\302\274\376toggle.html" "b/Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-2\345\220\210\346\210\220\344\272\213\344\273\266toggle.html"
similarity index 97%
rename from "Ch4/3-\272\317\263\311\312\302\274\376/4-3-2\272\317\263\311\312\302\274\376toggle.html"
rename to "Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-2\345\220\210\346\210\220\344\272\213\344\273\266toggle.html"
index 9fbf66c..92e03e5 100644
--- "a/Ch4/3-\272\317\263\311\312\302\274\376/4-3-2\272\317\263\311\312\302\274\376toggle.html"
+++ "b/Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-2\345\220\210\346\210\220\344\272\213\344\273\266toggle.html"
@@ -1,26 +1,26 @@
-
-
-
-
-4-3-2
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+4-3-2
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/3-\272\317\263\311\312\302\274\376/4-3-3\272\317\263\311\312\302\274\376toggle.html" "b/Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-3\345\220\210\346\210\220\344\272\213\344\273\266toggle.html"
similarity index 97%
rename from "Ch4/3-\272\317\263\311\312\302\274\376/4-3-3\272\317\263\311\312\302\274\376toggle.html"
rename to "Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-3\345\220\210\346\210\220\344\272\213\344\273\266toggle.html"
index 85f3adf..d7f4c75 100644
--- "a/Ch4/3-\272\317\263\311\312\302\274\376/4-3-3\272\317\263\311\312\302\274\376toggle.html"
+++ "b/Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-3\345\220\210\346\210\220\344\272\213\344\273\266toggle.html"
@@ -1,32 +1,32 @@
-
-
-
-
-4-3-3
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+4-3-3
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/3-\272\317\263\311\312\302\274\376/4-3-4\272\317\263\311\312\302\274\376toggle.html" "b/Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-4\345\220\210\346\210\220\344\272\213\344\273\266toggle.html"
similarity index 97%
rename from "Ch4/3-\272\317\263\311\312\302\274\376/4-3-4\272\317\263\311\312\302\274\376toggle.html"
rename to "Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-4\345\220\210\346\210\220\344\272\213\344\273\266toggle.html"
index f62394f..d17f19b 100644
--- "a/Ch4/3-\272\317\263\311\312\302\274\376/4-3-4\272\317\263\311\312\302\274\376toggle.html"
+++ "b/Ch4/3-\345\220\210\346\210\220\344\272\213\344\273\266/4-3-4\345\220\210\346\210\220\344\272\213\344\273\266toggle.html"
@@ -1,31 +1,31 @@
-
-
-
-
-4-3-4
-
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+4-3-4
+
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-1\303\260\305\335.html" "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-1\345\206\222\346\263\241.html"
similarity index 97%
rename from "Ch4/4-\312\302\274\376\303\260\305\335/4-4-1\303\260\305\335.html"
rename to "Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-1\345\206\222\346\263\241.html"
index 9693c25..3cb3159 100644
--- "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-1\303\260\305\335.html"
+++ "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-1\345\206\222\346\263\241.html"
@@ -1,43 +1,43 @@
-
-
-
-
-4-4-1
-
-
-
-
-
-
- 外层div元素
- 内层span元素
- 外层div元素
-
-
-
-
+
+
+
+
+4-4-1
+
+
+
+
+
+
+ 外层div元素
+ 内层span元素
+ 外层div元素
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-2\315\243\326\271\312\302\274\376\303\260\305\335.html" "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-2\345\201\234\346\255\242\344\272\213\344\273\266\345\206\222\346\263\241.html"
similarity index 97%
rename from "Ch4/4-\312\302\274\376\303\260\305\335/4-4-2\315\243\326\271\312\302\274\376\303\260\305\335.html"
rename to "Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-2\345\201\234\346\255\242\344\272\213\344\273\266\345\206\222\346\263\241.html"
index 7acb3b7..d5d94b0 100644
--- "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-2\315\243\326\271\312\302\274\376\303\260\305\335.html"
+++ "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-2\345\201\234\346\255\242\344\272\213\344\273\266\345\206\222\346\263\241.html"
@@ -1,45 +1,45 @@
-
-
-
-
-4-4-2
-
-
-
-
-
-
- 外层div元素
- 内层span元素
- 外层div元素
-
-
-
-
+
+
+
+
+4-4-2
+
+
+
+
+
+
+ 外层div元素
+ 内层span元素
+ 外层div元素
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-3-1\327\350\326\271\304\254\310\317\320\320\316\252.html" "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-3-1\351\230\273\346\255\242\351\273\230\350\256\244\350\241\214\344\270\272.html"
similarity index 97%
rename from "Ch4/4-\312\302\274\376\303\260\305\335/4-4-3-1\327\350\326\271\304\254\310\317\320\320\316\252.html"
rename to "Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-3-1\351\230\273\346\255\242\351\273\230\350\256\244\350\241\214\344\270\272.html"
index d54964a..a2ca11f 100644
--- "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-3-1\327\350\326\271\304\254\310\317\320\320\316\252.html"
+++ "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-3-1\351\230\273\346\255\242\351\273\230\350\256\244\350\241\214\344\270\272.html"
@@ -1,28 +1,28 @@
-
-
-
-
-
-
-
-
-
-
-用户名:
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+用户名:
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-3-2\327\350\326\271\304\254\310\317\320\320\316\252-false.html" "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-3-2\351\230\273\346\255\242\351\273\230\350\256\244\350\241\214\344\270\272-false.html"
similarity index 96%
rename from "Ch4/4-\312\302\274\376\303\260\305\335/4-4-3-2\327\350\326\271\304\254\310\317\320\320\316\252-false.html"
rename to "Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-3-2\351\230\273\346\255\242\351\273\230\350\256\244\350\241\214\344\270\272-false.html"
index 175a4c2..1040d8f 100644
--- "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-3-2\327\350\326\271\304\254\310\317\320\320\316\252-false.html"
+++ "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-3-2\351\230\273\346\255\242\351\273\230\350\256\244\350\241\214\344\270\272-false.html"
@@ -1,28 +1,28 @@
-
-
-
-
-
-
-
-
-
-
-用户名:
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+用户名:
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-4\315\243\326\271\312\302\274\376\303\260\305\335 - false.html" "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-4\345\201\234\346\255\242\344\272\213\344\273\266\345\206\222\346\263\241 - false.html"
similarity index 97%
rename from "Ch4/4-\312\302\274\376\303\260\305\335/4-4-4\315\243\326\271\312\302\274\376\303\260\305\335 - false.html"
rename to "Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-4\345\201\234\346\255\242\344\272\213\344\273\266\345\206\222\346\263\241 - false.html"
index ba822c5..2938d29 100644
--- "a/Ch4/4-\312\302\274\376\303\260\305\335/4-4-4\315\243\326\271\312\302\274\376\303\260\305\335 - false.html"
+++ "b/Ch4/4-\344\272\213\344\273\266\345\206\222\346\263\241/4-4-4\345\201\234\346\255\242\344\272\213\344\273\266\345\206\222\346\263\241 - false.html"
@@ -1,45 +1,45 @@
-
-
-
-
-4-4-4
-
-
-
-
-
-
- 外层div元素
- 内层span元素
- 外层div元素
-
-
-
-
+
+
+
+
+4-4-4
+
+
+
+
+
+
+ 外层div元素
+ 内层span元素
+ 外层div元素
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-1 event.type.html" "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-1 event.type.html"
similarity index 96%
rename from "Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-1 event.type.html"
rename to "Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-1 event.type.html"
index b14e496..d47e388 100644
--- "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-1 event.type.html"
+++ "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-1 event.type.html"
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-click me .
-
+
+
+
+
+
+
+
+
+
+
+click me .
+
\ No newline at end of file
diff --git "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-2 event.target.html" "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-2 event.target.html"
similarity index 96%
rename from "Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-2 event.target.html"
rename to "Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-2 event.target.html"
index 333e89e..0703a82 100644
--- "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-2 event.target.html"
+++ "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-2 event.target.html"
@@ -1,21 +1,21 @@
-
-
-
-
-
-
-
-
-
-
-click me .
-
+
+
+
+
+
+
+
+
+
+
+click me .
+
\ No newline at end of file
diff --git "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-3 event.pageX event.pageY.html" "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-3 event.pageX event.pageY.html"
similarity index 97%
rename from "Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-3 event.pageX event.pageY.html"
rename to "Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-3 event.pageX event.pageY.html"
index 0e144ae..879d465 100644
--- "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-3 event.pageX event.pageY.html"
+++ "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-3 event.pageX event.pageY.html"
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-click me .
-
+
+
+
+
+
+
+
+
+
+
+click me .
+
\ No newline at end of file
diff --git "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-4 event.which.html" "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-4 event.which.html"
similarity index 97%
rename from "Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-4 event.which.html"
rename to "Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-4 event.which.html"
index acf92ba..6850bdd 100644
--- "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-4 event.which.html"
+++ "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-4 event.which.html"
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-click me .
-
+
+
+
+
+
+
+
+
+
+
+click me .
+
\ No newline at end of file
diff --git "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-5 event.which2.html" "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-5 event.which2.html"
similarity index 96%
rename from "Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-5 event.which2.html"
rename to "Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-5 event.which2.html"
index 1cad78e..f35037b 100644
--- "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-5 event.which2.html"
+++ "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-5 event.which2.html"
@@ -1,19 +1,19 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-6 event.metaKey.html" "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-6 event.metaKey.html"
similarity index 96%
rename from "Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-6 event.metaKey.html"
rename to "Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-6 event.metaKey.html"
index d32bd4a..41a27de 100644
--- "a/Ch4/5-\312\302\274\376\266\324\317\363\265\304\312\364\320\324/4-5-6 event.metaKey.html"
+++ "b/Ch4/5-\344\272\213\344\273\266\345\257\271\350\261\241\347\232\204\345\261\236\346\200\247/4-5-6 event.metaKey.html"
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/6-\322\306\263\375\312\302\274\376/4-6-1.html" "b/Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-1.html"
similarity index 97%
rename from "Ch4/6-\322\306\263\375\312\302\274\376/4-6-1.html"
rename to "Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-1.html"
index dde8f4b..6816a10 100644
--- "a/Ch4/6-\322\306\263\375\312\302\274\376/4-6-1.html"
+++ "b/Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-1.html"
@@ -1,28 +1,28 @@
-
-
-
-
-4-6-1
-
-
-
-
-
-点击我
-
-
+
+
+
+
+4-6-1
+
+
+
+
+
+点击我
+
+
\ No newline at end of file
diff --git "a/Ch4/6-\322\306\263\375\312\302\274\376/4-6-2.html" "b/Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-2.html"
similarity index 97%
rename from "Ch4/6-\322\306\263\375\312\302\274\376/4-6-2.html"
rename to "Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-2.html"
index 238a138..17bf956 100644
--- "a/Ch4/6-\322\306\263\375\312\302\274\376/4-6-2.html"
+++ "b/Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-2.html"
@@ -1,32 +1,32 @@
-
-
-
-
-4-6-2
-
-
-
-
-
-点击我
-
-删除所有事件
-
+
+
+
+
+4-6-2
+
+
+
+
+
+点击我
+
+删除所有事件
+
\ No newline at end of file
diff --git "a/Ch4/6-\322\306\263\375\312\302\274\376/4-6-3.html" "b/Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-3.html"
similarity index 97%
rename from "Ch4/6-\322\306\263\375\312\302\274\376/4-6-3.html"
rename to "Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-3.html"
index b74548d..cca92d6 100644
--- "a/Ch4/6-\322\306\263\375\312\302\274\376/4-6-3.html"
+++ "b/Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-3.html"
@@ -1,32 +1,32 @@
-
-
-
-
-Panel
-
-
-
-
-
-点击我
-
-删除第二个事件
-
+
+
+
+
+Panel
+
+
+
+
+
+点击我
+
+删除第二个事件
+
\ No newline at end of file
diff --git "a/Ch4/6-\322\306\263\375\312\302\274\376/4-6-4.html" "b/Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-4.html"
similarity index 97%
rename from "Ch4/6-\322\306\263\375\312\302\274\376/4-6-4.html"
rename to "Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-4.html"
index 84aee80..144abbc 100644
--- "a/Ch4/6-\322\306\263\375\312\302\274\376/4-6-4.html"
+++ "b/Ch4/6-\347\247\273\351\231\244\344\272\213\344\273\266/4-6-4.html"
@@ -1,28 +1,28 @@
-
-
-
-
-4-6-4
-
-
-
-
-
-点击我
-
-
+
+
+
+
+4-6-4
+
+
+
+
+
+点击我
+
+
\ No newline at end of file
diff --git "a/Ch4/7-\304\243\304\342\262\331\327\367/4-7-1 trigger.html" "b/Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-1 trigger.html"
similarity index 97%
rename from "Ch4/7-\304\243\304\342\262\331\327\367/4-7-1 trigger.html"
rename to "Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-1 trigger.html"
index 03eb774..4f2f4a6 100644
--- "a/Ch4/7-\304\243\304\342\262\331\327\367/4-7-1 trigger.html"
+++ "b/Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-1 trigger.html"
@@ -1,29 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-点击我
-
-
+
+
+
+
+
+
+
+
+
+
+点击我
+
+
\ No newline at end of file
diff --git "a/Ch4/7-\304\243\304\342\262\331\327\367/4-7-2 trigger.html" "b/Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-2 trigger.html"
similarity index 97%
rename from "Ch4/7-\304\243\304\342\262\331\327\367/4-7-2 trigger.html"
rename to "Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-2 trigger.html"
index ebfe18f..6346153 100644
--- "a/Ch4/7-\304\243\304\342\262\331\327\367/4-7-2 trigger.html"
+++ "b/Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-2 trigger.html"
@@ -1,27 +1,27 @@
-
-
-
-
-
-
-
-
-
-
-点击我
-
-
+
+
+
+
+
+
+
+
+
+
+点击我
+
+
\ No newline at end of file
diff --git "a/Ch4/7-\304\243\304\342\262\331\327\367/4-7-3 trigger.html" "b/Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-3 trigger.html"
similarity index 97%
rename from "Ch4/7-\304\243\304\342\262\331\327\367/4-7-3 trigger.html"
rename to "Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-3 trigger.html"
index 7d1c377..715b245 100644
--- "a/Ch4/7-\304\243\304\342\262\331\327\367/4-7-3 trigger.html"
+++ "b/Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-3 trigger.html"
@@ -1,27 +1,27 @@
-
-
-
-
-
-
-
-
-
-
-点击我
-
-
+
+
+
+
+
+
+
+
+
+
+点击我
+
+
\ No newline at end of file
diff --git "a/Ch4/7-\304\243\304\342\262\331\327\367/4-7-4 triggerHandler.html" "b/Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-4 triggerHandler.html"
similarity index 96%
rename from "Ch4/7-\304\243\304\342\262\331\327\367/4-7-4 triggerHandler.html"
rename to "Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-4 triggerHandler.html"
index 60b8d51..6e30d10 100644
--- "a/Ch4/7-\304\243\304\342\262\331\327\367/4-7-4 triggerHandler.html"
+++ "b/Ch4/7-\346\250\241\346\213\237\346\223\215\344\275\234/4-7-4 triggerHandler.html"
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
-trigger
-triggerHandler
-
-
+
+
+
+
+
+
+
+
+
+
+trigger
+triggerHandler
+
+
\ No newline at end of file
diff --git "a/Ch4/8-\306\344\313\374\323\303\267\250/4-8-1\312\302\274\376\300\340\320\315\266\340\270\366.html" "b/Ch4/8-\345\205\266\345\256\203\347\224\250\346\263\225/4-8-1\344\272\213\344\273\266\347\261\273\345\236\213\345\244\232\344\270\252.html"
similarity index 96%
rename from "Ch4/8-\306\344\313\374\323\303\267\250/4-8-1\312\302\274\376\300\340\320\315\266\340\270\366.html"
rename to "Ch4/8-\345\205\266\345\256\203\347\224\250\346\263\225/4-8-1\344\272\213\344\273\266\347\261\273\345\236\213\345\244\232\344\270\252.html"
index 3f1a78c..524df44 100644
--- "a/Ch4/8-\306\344\313\374\323\303\267\250/4-8-1\312\302\274\376\300\340\320\315\266\340\270\366.html"
+++ "b/Ch4/8-\345\205\266\345\256\203\347\224\250\346\263\225/4-8-1\344\272\213\344\273\266\347\261\273\345\236\213\345\244\232\344\270\252.html"
@@ -1,28 +1,28 @@
-
-
-
-
-
-
-
-
-
-
-滑入.
-
+
+
+
+
+
+
+
+
+
+
+滑入.
+
\ No newline at end of file
diff --git "a/Ch4/8-\306\344\313\374\323\303\267\250/4-8-2\312\302\274\376\303\374\303\373\277\325\274\344, \261\343\323\332\271\334\300\355.html" "b/Ch4/8-\345\205\266\345\256\203\347\224\250\346\263\225/4-8-2\344\272\213\344\273\266\345\221\275\345\220\215\347\251\272\351\227\264, \344\276\277\344\272\216\347\256\241\347\220\206.html"
similarity index 96%
rename from "Ch4/8-\306\344\313\374\323\303\267\250/4-8-2\312\302\274\376\303\374\303\373\277\325\274\344, \261\343\323\332\271\334\300\355.html"
rename to "Ch4/8-\345\205\266\345\256\203\347\224\250\346\263\225/4-8-2\344\272\213\344\273\266\345\221\275\345\220\215\347\251\272\351\227\264, \344\276\277\344\272\216\347\256\241\347\220\206.html"
index 716ca9b..6b69eae 100644
--- "a/Ch4/8-\306\344\313\374\323\303\267\250/4-8-2\312\302\274\376\303\374\303\373\277\325\274\344, \261\343\323\332\271\334\300\355.html"
+++ "b/Ch4/8-\345\205\266\345\256\203\347\224\250\346\263\225/4-8-2\344\272\213\344\273\266\345\221\275\345\220\215\347\251\272\351\227\264, \344\276\277\344\272\216\347\256\241\347\220\206.html"
@@ -1,34 +1,34 @@
-
-
-
-
-
-
-
-
-
-
-test.
-根据命名空间,删除事件
-
+
+
+
+
+
+
+
+
+
+
+test.
+根据命名空间,删除事件
+
\ No newline at end of file
diff --git "a/Ch4/8-\306\344\313\374\323\303\267\250/4-8-3\317\340\315\254\312\302\274\376\303\373\263\306,\262\273\315\254\303\374\303\373\277\325\274\344\326\264\320\320\267\275\267\250.html" "b/Ch4/8-\345\205\266\345\256\203\347\224\250\346\263\225/4-8-3\347\233\270\345\220\214\344\272\213\344\273\266\345\220\215\347\247\260,\344\270\215\345\220\214\345\221\275\345\220\215\347\251\272\351\227\264\346\211\247\350\241\214\346\226\271\346\263\225.html"
similarity index 96%
rename from "Ch4/8-\306\344\313\374\323\303\267\250/4-8-3\317\340\315\254\312\302\274\376\303\373\263\306,\262\273\315\254\303\374\303\373\277\325\274\344\326\264\320\320\267\275\267\250.html"
rename to "Ch4/8-\345\205\266\345\256\203\347\224\250\346\263\225/4-8-3\347\233\270\345\220\214\344\272\213\344\273\266\345\220\215\347\247\260,\344\270\215\345\220\214\345\221\275\345\220\215\347\251\272\351\227\264\346\211\247\350\241\214\346\226\271\346\263\225.html"
index 4656823..5d20c33 100644
--- "a/Ch4/8-\306\344\313\374\323\303\267\250/4-8-3\317\340\315\254\312\302\274\376\303\373\263\306,\262\273\315\254\303\374\303\373\277\325\274\344\326\264\320\320\267\275\267\250.html"
+++ "b/Ch4/8-\345\205\266\345\256\203\347\224\250\346\263\225/4-8-3\347\233\270\345\220\214\344\272\213\344\273\266\345\220\215\347\247\260,\344\270\215\345\220\214\345\221\275\345\220\215\347\251\272\351\227\264\346\211\247\350\241\214\346\226\271\346\263\225.html"
@@ -1,28 +1,28 @@
-
-
-
-
-
-
-
-
-
-
-test.
-根据命名空间,触发事件
-
-
+
+
+
+
+
+
+
+
+
+
+test.
+根据命名空间,触发事件
+
+
diff --git "a/Ch4/9-\266\257\273\255/9-1(show\272\315hide).html" "b/Ch4/9-\345\212\250\347\224\273/9-1(show\345\222\214hide).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-1(show\272\315hide).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-1(show\345\222\214hide).html"
index 6af8855..28efce7 100644
--- "a/Ch4/9-\266\257\273\255/9-1(show\272\315hide).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-1(show\345\222\214hide).html"
@@ -1,32 +1,32 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\345\212\250\347\224\273/9-10(css()\346\216\222\351\230\237)-queue().html" "b/Ch4/9-\345\212\250\347\224\273/9-10(css()\346\216\222\351\230\237)-queue().html"
new file mode 100644
index 0000000..810d0c7
--- /dev/null
+++ "b/Ch4/9-\345\212\250\347\224\273/9-10(css()\346\216\222\351\230\237)-queue().html"
@@ -0,0 +1,31 @@
+
+
+
+
+Panel
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-10(css()\305\305\266\323).html" "b/Ch4/9-\345\212\250\347\224\273/9-10(css()\346\216\222\351\230\237)-\345\233\236\350\260\203\345\207\275\346\225\260.html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-10(css()\305\305\266\323).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-10(css()\346\216\222\351\230\237)-\345\233\236\350\260\203\345\207\275\346\225\260.html"
index d04e40e..9f5d839 100644
--- "a/Ch4/9-\266\257\273\255/9-10(css()\305\305\266\323).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-10(css()\346\216\222\351\230\237)-\345\233\236\350\260\203\345\207\275\346\225\260.html"
@@ -1,28 +1,28 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo1-.stop(\277\354\313\331\273\254\271\375\323\320\316\312\314\342).html" "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo1-.stop(\345\277\253\351\200\237\346\273\221\350\277\207\346\234\211\351\227\256\351\242\230).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo1-.stop(\277\354\313\331\273\254\271\375\323\320\316\312\314\342).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo1-.stop(\345\277\253\351\200\237\346\273\221\350\277\207\346\234\211\351\227\256\351\242\230).html"
index 1f58165..69e3d3a 100644
--- "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo1-.stop(\277\354\313\331\273\254\271\375\323\320\316\312\314\342).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo1-.stop(\345\277\253\351\200\237\346\273\221\350\277\207\346\234\211\351\227\256\351\242\230).html"
@@ -1,32 +1,32 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo2-.stop()(\275\342\276\366\316\312\314\342).html" "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo2-.stop()(\350\247\243\345\206\263\351\227\256\351\242\230).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo2-.stop()(\275\342\276\366\316\312\314\342).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo2-.stop()(\350\247\243\345\206\263\351\227\256\351\242\230).html"
index 0ac9162..7f79e3b 100644
--- "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo2-.stop()(\275\342\276\366\316\312\314\342).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo2-.stop()(\350\247\243\345\206\263\351\227\256\351\242\230).html"
@@ -1,32 +1,32 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo3-.stop().html" "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo3-.stop().html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo3-.stop().html"
rename to "Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo3-.stop().html"
index 554918f..0aa4a89 100644
--- "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo3-.stop().html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo3-.stop().html"
@@ -1,36 +1,36 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo4-.stop().html" "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo4-.stop().html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo4-.stop().html"
rename to "Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo4-.stop().html"
index fbe5cb3..6549b76 100644
--- "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo4-.stop().html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo4-.stop().html"
@@ -1,36 +1,36 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo5-.stop().html" "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo5-.stop().html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo5-.stop().html"
rename to "Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo5-.stop().html"
index 5ee2bf7..2afe294 100644
--- "a/Ch4/9-\266\257\273\255/9-11(stop\267\275\267\250)/demo5-.stop().html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-11(stop\346\226\271\346\263\225)/demo5-.stop().html"
@@ -1,57 +1,57 @@
-
-
-
-
-Panel
-
-
-
-
-
- 开始一连串动画
- stop()
- stop(true)
- stop(false,true)
- stop(true,true)
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+ 开始一连串动画
+ stop()
+ stop(true)
+ stop(false,true)
+ stop(true,true)
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-12(\305\320\266\317\312\307\267\361\266\257\273\255).html" "b/Ch4/9-\345\212\250\347\224\273/9-12(\345\210\244\346\226\255\346\230\257\345\220\246\345\212\250\347\224\273).html"
similarity index 96%
rename from "Ch4/9-\266\257\273\255/9-12(\305\320\266\317\312\307\267\361\266\257\273\255).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-12(\345\210\244\346\226\255\346\230\257\345\220\246\345\212\250\347\224\273).html"
index fb95b18..7858bee 100644
--- "a/Ch4/9-\266\257\273\255/9-12(\305\320\266\317\312\307\267\361\266\257\273\255).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-12(\345\210\244\346\226\255\346\230\257\345\220\246\345\212\250\347\224\273).html"
@@ -1,40 +1,40 @@
-
-
-
-
-Panel
-
-
-
-
-
-click
-动画元素
-
+
+
+
+
+Panel
+
+
+
+
+
+click
+动画元素
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-13(\321\323\263\331\266\257\273\255).html" "b/Ch4/9-\345\212\250\347\224\273/9-13(\345\273\266\350\277\237\345\212\250\347\224\273).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-13(\321\323\263\331\266\257\273\255).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-13(\345\273\266\350\277\237\345\212\250\347\224\273).html"
index cc6efb9..db131af 100644
--- "a/Ch4/9-\266\257\273\255/9-13(\321\323\263\331\266\257\273\255).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-13(\345\273\266\350\277\237\345\212\250\347\224\273).html"
@@ -1,28 +1,28 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-14(toggle).html" "b/Ch4/9-\345\212\250\347\224\273/9-14(toggle).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-14(toggle).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-14(toggle).html"
index 9c89082..e4e5145 100644
--- "a/Ch4/9-\266\257\273\255/9-14(toggle).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-14(toggle).html"
@@ -1,30 +1,30 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-15(slideToggle).html" "b/Ch4/9-\345\212\250\347\224\273/9-15(slideToggle).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-15(slideToggle).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-15(slideToggle).html"
index b92d67c..9130156 100644
--- "a/Ch4/9-\266\257\273\255/9-15(slideToggle).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-15(slideToggle).html"
@@ -1,30 +1,30 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-16(fadeTo).html" "b/Ch4/9-\345\212\250\347\224\273/9-16(fadeTo).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-16(fadeTo).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-16(fadeTo).html"
index 726816c..7aeeb24 100644
--- "a/Ch4/9-\266\257\273\255/9-16(fadeTo).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-16(fadeTo).html"
@@ -1,30 +1,30 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-17(fadeToggle).html" "b/Ch4/9-\345\212\250\347\224\273/9-17(fadeToggle).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-17(fadeToggle).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-17(fadeToggle).html"
index 5bb4ada..6622f4f 100644
--- "a/Ch4/9-\266\257\273\255/9-17(fadeToggle).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-17(fadeToggle).html"
@@ -1,30 +1,30 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-18(animate\267\302\306\344\313\373\267\275\267\250).html" "b/Ch4/9-\345\212\250\347\224\273/9-18(animate\344\273\277\345\205\266\344\273\226\346\226\271\346\263\225).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-18(animate\267\302\306\344\313\373\267\275\267\250).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-18(animate\344\273\277\345\205\266\344\273\226\346\226\271\346\263\225).html"
index df77cf1..f27eb74 100644
--- "a/Ch4/9-\266\257\273\255/9-18(animate\267\302\306\344\313\373\267\275\267\250).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-18(animate\344\273\277\345\205\266\344\273\226\346\226\271\346\263\225).html"
@@ -1,56 +1,56 @@
-
-
-
-
-Panel
-
-
-
-
-
- 隐藏元素并取消透明度
- 用animate仿show()
- 用animate仿slideDown()
- 用animate仿fadeIn()
- 用animate仿fadeTo()
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+ 隐藏元素并取消透明度
+ 用animate仿show()
+ 用animate仿slideDown()
+ 用animate仿fadeIn()
+ 用animate仿fadeTo()
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-2(show\272\315hide\264\370\312\261\274\344).html" "b/Ch4/9-\345\212\250\347\224\273/9-2(show\345\222\214hide\345\270\246\346\227\266\351\227\264).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-2(show\272\315hide\264\370\312\261\274\344).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-2(show\345\222\214hide\345\270\246\346\227\266\351\227\264).html"
index 61ff880..bc17e44 100644
--- "a/Ch4/9-\266\257\273\255/9-2(show\272\315hide\264\370\312\261\274\344).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-2(show\345\222\214hide\345\270\246\346\227\266\351\227\264).html"
@@ -1,32 +1,32 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-3(fade).html" "b/Ch4/9-\345\212\250\347\224\273/9-3(fade).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-3(fade).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-3(fade).html"
index 084b485..18d6b14 100644
--- "a/Ch4/9-\266\257\273\255/9-3(fade).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-3(fade).html"
@@ -1,32 +1,32 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-4(slide).html" "b/Ch4/9-\345\212\250\347\224\273/9-4(slide).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-4(slide).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-4(slide).html"
index 1b4079c..6eb93e9 100644
--- "a/Ch4/9-\266\257\273\255/9-4(slide).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-4(slide).html"
@@ -1,32 +1,32 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
什么是jQuery?
-
- jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
什么是jQuery?
+
+ jQuery是继Prototype之后又一个优秀的JavaScript库,它是一个由 John Resig 创建于2006年1月的开源项目。jQuery凭借简洁的语法和跨平台的兼容性,极大地简化了JavaScript开发人员遍历HTML文档、操作DOM、处理事件、执行动画和开发Ajax。它独特而又优雅的代码风格改变了JavaScript程序员的设计思路和编写程序的方式。
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-5(animate\274\362\265\245\312\271\323\303).html" "b/Ch4/9-\345\212\250\347\224\273/9-5(animate\347\256\200\345\215\225\344\275\277\347\224\250).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-5(animate\274\362\265\245\312\271\323\303).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-5(animate\347\256\200\345\215\225\344\275\277\347\224\250).html"
index 2a3ad5a..0b6bd8a 100644
--- "a/Ch4/9-\266\257\273\255/9-5(animate\274\362\265\245\312\271\323\303).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-5(animate\347\256\200\345\215\225\344\275\277\347\224\250).html"
@@ -1,23 +1,23 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-6(animate\266\340\326\330\266\257\273\2551).html" "b/Ch4/9-\345\212\250\347\224\273/9-6(animate\345\244\232\351\207\215\345\212\250\347\224\2731).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-6(animate\266\340\326\330\266\257\273\2551).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-6(animate\345\244\232\351\207\215\345\212\250\347\224\2731).html"
index 6b0104c..3f4c069 100644
--- "a/Ch4/9-\266\257\273\255/9-6(animate\266\340\326\330\266\257\273\2551).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-6(animate\345\244\232\351\207\215\345\212\250\347\224\2731).html"
@@ -1,23 +1,23 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-7(animate\266\340\326\330\266\257\273\2552).html" "b/Ch4/9-\345\212\250\347\224\273/9-7(animate\345\244\232\351\207\215\345\212\250\347\224\2732).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-7(animate\266\340\326\330\266\257\273\2552).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-7(animate\345\244\232\351\207\215\345\212\250\347\224\2732).html"
index dc61332..1f1a95c 100644
--- "a/Ch4/9-\266\257\273\255/9-7(animate\266\340\326\330\266\257\273\2552).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-7(animate\345\244\232\351\207\215\345\212\250\347\224\2732).html"
@@ -1,24 +1,24 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-8(\327\333\272\317\266\257\273\255).html" "b/Ch4/9-\345\212\250\347\224\273/9-8(\347\273\274\345\220\210\345\212\250\347\224\273).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-8(\327\333\272\317\266\257\273\255).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-8(\347\273\274\345\220\210\345\212\250\347\224\273).html"
index e1dc221..1058589 100644
--- "a/Ch4/9-\266\257\273\255/9-8(\327\333\272\317\266\257\273\255).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-8(\347\273\274\345\220\210\345\212\250\347\224\273).html"
@@ -1,26 +1,26 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch4/9-\266\257\273\255/9-9(css()\316\264\305\305\266\323).html" "b/Ch4/9-\345\212\250\347\224\273/9-9(css()\346\234\252\346\216\222\351\230\237).html"
similarity index 97%
rename from "Ch4/9-\266\257\273\255/9-9(css()\316\264\305\305\266\323).html"
rename to "Ch4/9-\345\212\250\347\224\273/9-9(css()\346\234\252\346\216\222\351\230\237).html"
index 1017858..070cd36 100644
--- "a/Ch4/9-\266\257\273\255/9-9(css()\316\264\305\305\266\323).html"
+++ "b/Ch4/9-\345\212\250\347\224\273/9-9(css()\346\234\252\346\216\222\351\230\237).html"
@@ -1,26 +1,26 @@
-
-
-
-
-Panel
-
-
-
-
-
-
-
+
+
+
+
+Panel
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch4/css/style.css b/Ch4/css/style.css
index acdcee5..feabfd3 100644
--- a/Ch4/css/style.css
+++ b/Ch4/css/style.css
@@ -1,5 +1,5 @@
-*{margin:0;padding:0;}
-body { font-size: 13px; line-height: 130%; padding: 60px }
-#panel { width: 300px; border: 1px solid #0050D0 }
-.head { height:24px;line-height:24px;text-indent:10px;background: #96E555; cursor: pointer;width:100%; }
+*{margin:0;padding:0;}
+body { font-size: 13px; line-height: 130%; padding: 60px }
+#panel { width: 300px; border: 1px solid #0050D0 }
+.head { height:24px;line-height:24px;text-indent:10px;background: #96E555; cursor: pointer;width:100%; }
.content { padding: 10px; text-indent:24px; border-top: 1px solid #0050D0;display:block;display:none; }
\ No newline at end of file
diff --git "a/Ch5/demo1-\316\304\261\276\277\362\265\303\265\275\312\247\310\245\275\271\265\343/demo1.html" "b/Ch5/demo1-\346\226\207\346\234\254\346\241\206\345\276\227\345\210\260\345\244\261\345\216\273\347\204\246\347\202\271/demo1.html"
similarity index 96%
rename from "Ch5/demo1-\316\304\261\276\277\362\265\303\265\275\312\247\310\245\275\271\265\343/demo1.html"
rename to "Ch5/demo1-\346\226\207\346\234\254\346\241\206\345\276\227\345\210\260\345\244\261\345\216\273\347\204\246\347\202\271/demo1.html"
index d092b74..05bd6d4 100644
--- "a/Ch5/demo1-\316\304\261\276\277\362\265\303\265\275\312\247\310\245\275\271\265\343/demo1.html"
+++ "b/Ch5/demo1-\346\226\207\346\234\254\346\241\206\345\276\227\345\210\260\345\244\261\345\216\273\347\204\246\347\202\271/demo1.html"
@@ -1,53 +1,53 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 个人基本信息
-
- 名称:
-
-
-
- 密码:
-
-
-
- 详细信息:
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 个人基本信息
+
+ 名称:
+
+
+
+ 密码:
+
+
+
+ 详细信息:
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo1-\316\304\261\276\277\362\265\303\265\275\312\247\310\245\275\271\265\343/demo2.html" "b/Ch5/demo1-\346\226\207\346\234\254\346\241\206\345\276\227\345\210\260\345\244\261\345\216\273\347\204\246\347\202\271/demo2.html"
similarity index 96%
rename from "Ch5/demo1-\316\304\261\276\277\362\265\303\265\275\312\247\310\245\275\271\265\343/demo2.html"
rename to "Ch5/demo1-\346\226\207\346\234\254\346\241\206\345\276\227\345\210\260\345\244\261\345\216\273\347\204\246\347\202\271/demo2.html"
index e582179..e2f0bb8 100644
--- "a/Ch5/demo1-\316\304\261\276\277\362\265\303\265\275\312\247\310\245\275\271\265\343/demo2.html"
+++ "b/Ch5/demo1-\346\226\207\346\234\254\346\241\206\345\276\227\345\210\260\345\244\261\345\216\273\347\204\246\347\202\271/demo2.html"
@@ -1,61 +1,61 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 个人基本信息
-
- 名称:
-
-
-
- 密码:
-
-
-
- 详细信息:
- 详细信息
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 个人基本信息
+
+ 名称:
+
+
+
+ 密码:
+
+
+
+ 详细信息:
+ 详细信息
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo10-\321\241\317\356\277\250/css/style.css" "b/Ch5/demo10-\351\200\211\351\241\271\345\215\241/css/style.css"
similarity index 98%
rename from "Ch5/demo10-\321\241\317\356\277\250/css/style.css"
rename to "Ch5/demo10-\351\200\211\351\241\271\345\215\241/css/style.css"
index b328c4d..195c027 100644
--- "a/Ch5/demo10-\321\241\317\356\277\250/css/style.css"
+++ "b/Ch5/demo10-\351\200\211\351\241\271\345\215\241/css/style.css"
@@ -1,9 +1,9 @@
- *{ margin:0; padding:0;}
- body { font:12px/19px Arial, Helvetica, sans-serif; color:#666;}
- .tab { width:240px;margin:50px;}
- .tab_menu { clear:both;}
- .tab_menu li { float:left; text-align:center; cursor:pointer; list-style:none; padding:1px 6px; margin-right:4px; background:#F1F1F1; border:1px solid #898989; border-bottom:none;}
- .tab_menu li.hover { background:#DFDFDF;}
- .tab_menu li.selected { color:#FFF; background:#6D84B4;}
- .tab_box { clear:both; border:1px solid #898989; height:100px;}
+ *{ margin:0; padding:0;}
+ body { font:12px/19px Arial, Helvetica, sans-serif; color:#666;}
+ .tab { width:240px;margin:50px;}
+ .tab_menu { clear:both;}
+ .tab_menu li { float:left; text-align:center; cursor:pointer; list-style:none; padding:1px 6px; margin-right:4px; background:#F1F1F1; border:1px solid #898989; border-bottom:none;}
+ .tab_menu li.hover { background:#DFDFDF;}
+ .tab_menu li.selected { color:#FFF; background:#6D84B4;}
+ .tab_box { clear:both; border:1px solid #898989; height:100px;}
.hide{display:none}
\ No newline at end of file
diff --git "a/Ch5/demo10-\321\241\317\356\277\250/demo1.html" "b/Ch5/demo10-\351\200\211\351\241\271\345\215\241/demo1.html"
similarity index 96%
rename from "Ch5/demo10-\321\241\317\356\277\250/demo1.html"
rename to "Ch5/demo10-\351\200\211\351\241\271\345\215\241/demo1.html"
index ba4b16a..4a3460d 100644
--- "a/Ch5/demo10-\321\241\317\356\277\250/demo1.html"
+++ "b/Ch5/demo10-\351\200\211\351\241\271\345\215\241/demo1.html"
@@ -1,39 +1,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/Ch5/demo10-\321\241\317\356\277\250/demo2.html" "b/Ch5/demo10-\351\200\211\351\241\271\345\215\241/demo2.html"
similarity index 96%
rename from "Ch5/demo10-\321\241\317\356\277\250/demo2.html"
rename to "Ch5/demo10-\351\200\211\351\241\271\345\215\241/demo2.html"
index 97d85cf..ea810c0 100644
--- "a/Ch5/demo10-\321\241\317\356\277\250/demo2.html"
+++ "b/Ch5/demo10-\351\200\211\351\241\271\345\215\241/demo2.html"
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo10-\321\241\317\356\277\250/demo3.html" "b/Ch5/demo10-\351\200\211\351\241\271\345\215\241/demo3.html"
similarity index 96%
rename from "Ch5/demo10-\321\241\317\356\277\250/demo3.html"
rename to "Ch5/demo10-\351\200\211\351\241\271\345\215\241/demo3.html"
index c9d8f28..3625265 100644
--- "a/Ch5/demo10-\321\241\317\356\277\250/demo3.html"
+++ "b/Ch5/demo10-\351\200\211\351\241\271\345\215\241/demo3.html"
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/default.css" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/default.css"
similarity index 94%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/css/default.css"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/default.css"
index bad7d83..9d1f88f 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/default.css"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/default.css"
@@ -1,93 +1,93 @@
-*{
- margin:0px;
- padding:0px;
-}
-body {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 12px;
-}
-#div_side_0,#div_side_1
-{
- float:left;
- width:120px;
- height:450px;
- }
-#skin
-{
- margin:10px;
- padding:5px;
- width:210px;
- padding-right:0px;
- list-style:none;
- border: 1px solid #CCCCCC;
- overflow:hidden;
- }
-#skin li{
- float:left;
- margin-right:5px;
- width:15px;
- height:15px;
- text-indent:-999px;
- overflow:hidden;
- display:block;
- cursor:pointer;
- background-image:url(theme.gif);
-}
-#skin_0{
- background-position:0px 0px;
-}
-#skin_1{
- background-position:15px 0px;
-}
-#skin_2{
- background-position:35px 0px;
-}
-#skin_3{
- background-position:55px 0px;
-}
-#skin_4{
- background-position:75px 0px;
-}
-#skin_5{
- background-position:95px 0px;
-}
-#skin_0.selected{
- background-position:0px 15px !important;
-}
-#skin_1.selected{
- background-position:15px 15px !important;
-}
-#skin_2.selected{
- background-position:35px 15px !important;
-}
-#skin_3.selected{
- background-position:55px 15px !important;
-}
-#skin_4.selected{
- background-position:75px 15px !important;
-}
-#skin_5.selected{
- background-position:95px 15px !important;
-}
-.title
-{
- cursor:pointer;}
-h1{
- margin:10px;
- padding:10px 20px;
- width:60px;
- color:#ffffff;
- font-size:14px;
-}
-a:link {
- text-decoration: none;
- color: #333333;
-}
-a:visited {
- color: #333333;
- text-decoration: none;
-}
-a:hover {
- color: #000000;
- text-decoration: underline;
-}
+*{
+ margin:0px;
+ padding:0px;
+}
+body {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+}
+#div_side_0,#div_side_1
+{
+ float:left;
+ width:120px;
+ height:450px;
+ }
+#skin
+{
+ margin:10px;
+ padding:5px;
+ width:210px;
+ padding-right:0px;
+ list-style:none;
+ border: 1px solid #CCCCCC;
+ overflow:hidden;
+ }
+#skin li{
+ float:left;
+ margin-right:5px;
+ width:15px;
+ height:15px;
+ text-indent:-999px;
+ overflow:hidden;
+ display:block;
+ cursor:pointer;
+ background-image:url(theme.gif);
+}
+#skin_0{
+ background-position:0px 0px;
+}
+#skin_1{
+ background-position:15px 0px;
+}
+#skin_2{
+ background-position:35px 0px;
+}
+#skin_3{
+ background-position:55px 0px;
+}
+#skin_4{
+ background-position:75px 0px;
+}
+#skin_5{
+ background-position:95px 0px;
+}
+#skin_0.selected{
+ background-position:0px 15px !important;
+}
+#skin_1.selected{
+ background-position:15px 15px !important;
+}
+#skin_2.selected{
+ background-position:35px 15px !important;
+}
+#skin_3.selected{
+ background-position:55px 15px !important;
+}
+#skin_4.selected{
+ background-position:75px 15px !important;
+}
+#skin_5.selected{
+ background-position:95px 15px !important;
+}
+.title
+{
+ cursor:pointer;}
+h1{
+ margin:10px;
+ padding:10px 20px;
+ width:60px;
+ color:#ffffff;
+ font-size:14px;
+}
+a:link {
+ text-decoration: none;
+ color: #333333;
+}
+a:visited {
+ color: #333333;
+ text-decoration: none;
+}
+a:hover {
+ color: #000000;
+ text-decoration: underline;
+}
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_0.css" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_0.css"
similarity index 93%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_0.css"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_0.css"
index 095eddb..061a4e2 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_0.css"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_0.css"
@@ -1,3 +1,3 @@
-h1{
- background:#999999;
+h1{
+ background:#999999;
}
\ No newline at end of file
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_1.css" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_1.css"
similarity index 93%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_1.css"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_1.css"
index 2fd6ea7..71f54df 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_1.css"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_1.css"
@@ -1,3 +1,3 @@
-h1{
- background:#BB3BD9;
+h1{
+ background:#BB3BD9;
}
\ No newline at end of file
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_2.css" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_2.css"
similarity index 93%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_2.css"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_2.css"
index 8858761..ee0e0fb 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_2.css"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_2.css"
@@ -1,3 +1,3 @@
-h1{
- background:#E31559;
+h1{
+ background:#E31559;
}
\ No newline at end of file
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_3.css" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_3.css"
similarity index 93%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_3.css"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_3.css"
index 0953d6f..3c0b47d 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_3.css"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_3.css"
@@ -1,3 +1,3 @@
-h1{
- background:#08BECE;
+h1{
+ background:#08BECE;
}
\ No newline at end of file
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_4.css" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_4.css"
similarity index 93%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_4.css"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_4.css"
index f1d9660..f4d5467 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_4.css"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_4.css"
@@ -1,3 +1,3 @@
-h1{
- background:#FBA60A;
+h1{
+ background:#FBA60A;
}
\ No newline at end of file
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_5.css" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_5.css"
similarity index 90%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_5.css"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_5.css"
index e920ae2..bf49722 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/skin_5.css"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/skin_5.css"
@@ -1,3 +1,3 @@
-h1{
- background:#AFD400;
-}
+h1{
+ background:#AFD400;
+}
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/css/theme.gif" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/theme.gif"
similarity index 100%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/css/theme.gif"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/css/theme.gif"
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo1.html" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo1.html"
similarity index 96%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/demo1.html"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo1.html"
index 5cfad95..6028260 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo1.html"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo1.html"
@@ -1,28 +1,28 @@
-
-
-
-
-
-
-
-
-
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+
+
+
+
+
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo2.html" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo2.html"
similarity index 96%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/demo2.html"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo2.html"
index c80f9c2..c9eceab 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo2.html"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo2.html"
@@ -1,44 +1,44 @@
-
-
-
-
-
-
-
-
-
-
-
-
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+
+
+
+
+
+
+
+
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo3.html" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo3.html"
similarity index 96%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/demo3.html"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo3.html"
index d094ff5..400b7c5 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo3.html"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo3.html"
@@ -1,45 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+
+
+
+
+
+
+
+
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo4.html" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo4.html"
similarity index 97%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/demo4.html"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo4.html"
index 33d8392..85eb2e4 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo4.html"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo4.html"
@@ -1,55 +1,55 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+
+
+
+
+
+
+
+
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo5.html" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo5.html"
similarity index 96%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/demo5.html"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo5.html"
index 3124b16..7e8666e 100644
--- "a/Ch5/demo11-\315\370\322\263\273\273\267\364/demo5.html"
+++ "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/demo5.html"
@@ -1,55 +1,55 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
- ɫ
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+ ɫ
+
+
+
+
+
+
+
+
diff --git "a/Ch5/demo11-\315\370\322\263\273\273\267\364/js/jquery.cookie.js" "b/Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/js/jquery.cookie.js"
similarity index 100%
rename from "Ch5/demo11-\315\370\322\263\273\273\267\364/js/jquery.cookie.js"
rename to "Ch5/demo11-\347\275\221\351\241\265\346\215\242\350\202\244/js/jquery.cookie.js"
diff --git "a/Ch5/demo2-\266\340\320\320\316\304\261\276\277\362\270\337\266\310\261\344\273\257/demo1-1\316\304\261\276\277\362\270\337\266\310\261\344\273\257.html" "b/Ch5/demo2-\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226/demo1-1\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226.html"
similarity index 97%
rename from "Ch5/demo2-\266\340\320\320\316\304\261\276\277\362\270\337\266\310\261\344\273\257/demo1-1\316\304\261\276\277\362\270\337\266\310\261\344\273\257.html"
rename to "Ch5/demo2-\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226/demo1-1\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226.html"
index 3c72067..2f8d58c 100644
--- "a/Ch5/demo2-\266\340\320\320\316\304\261\276\277\362\270\337\266\310\261\344\273\257/demo1-1\316\304\261\276\277\362\270\337\266\310\261\344\273\257.html"
+++ "b/Ch5/demo2-\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226/demo1-1\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226.html"
@@ -1,44 +1,44 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo2-\266\340\320\320\316\304\261\276\277\362\270\337\266\310\261\344\273\257/demo1-2\316\304\261\276\277\362\270\337\266\310\261\344\273\257.html" "b/Ch5/demo2-\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226/demo1-2\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226.html"
similarity index 97%
rename from "Ch5/demo2-\266\340\320\320\316\304\261\276\277\362\270\337\266\310\261\344\273\257/demo1-2\316\304\261\276\277\362\270\337\266\310\261\344\273\257.html"
rename to "Ch5/demo2-\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226/demo1-2\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226.html"
index 11e815f..2e9a62a 100644
--- "a/Ch5/demo2-\266\340\320\320\316\304\261\276\277\362\270\337\266\310\261\344\273\257/demo1-2\316\304\261\276\277\362\270\337\266\310\261\344\273\257.html"
+++ "b/Ch5/demo2-\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226/demo1-2\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226.html"
@@ -1,48 +1,48 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo2-\266\340\320\320\316\304\261\276\277\362\270\337\266\310\261\344\273\257/demo2-\316\304\261\276\277\362\304\332\310\335\271\366\266\257.html" "b/Ch5/demo2-\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226/demo2-\346\226\207\346\234\254\346\241\206\345\206\205\345\256\271\346\273\232\345\212\250.html"
similarity index 98%
rename from "Ch5/demo2-\266\340\320\320\316\304\261\276\277\362\270\337\266\310\261\344\273\257/demo2-\316\304\261\276\277\362\304\332\310\335\271\366\266\257.html"
rename to "Ch5/demo2-\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226/demo2-\346\226\207\346\234\254\346\241\206\345\206\205\345\256\271\346\273\232\345\212\250.html"
index f0fa010..572c8fd 100644
--- "a/Ch5/demo2-\266\340\320\320\316\304\261\276\277\362\270\337\266\310\261\344\273\257/demo2-\316\304\261\276\277\362\304\332\310\335\271\366\266\257.html"
+++ "b/Ch5/demo2-\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206\351\253\230\345\272\246\345\217\230\345\214\226/demo2-\346\226\207\346\234\254\346\241\206\345\206\205\345\256\271\346\273\232\345\212\250.html"
@@ -1,44 +1,44 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo3-\270\264\321\241\277\362\310\253\321\241\267\264\321\241/demo1.html" "b/Ch5/demo3-\345\244\215\351\200\211\346\241\206\345\205\250\351\200\211\345\217\215\351\200\211/demo1.html"
similarity index 97%
rename from "Ch5/demo3-\270\264\321\241\277\362\310\253\321\241\267\264\321\241/demo1.html"
rename to "Ch5/demo3-\345\244\215\351\200\211\346\241\206\345\205\250\351\200\211\345\217\215\351\200\211/demo1.html"
index 6b11f63..3a1aba6 100644
--- "a/Ch5/demo3-\270\264\321\241\277\362\310\253\321\241\267\264\321\241/demo1.html"
+++ "b/Ch5/demo3-\345\244\215\351\200\211\346\241\206\345\205\250\351\200\211\345\217\215\351\200\211/demo1.html"
@@ -1,57 +1,57 @@
-
-
-
-
-
-
-
-
-
-
-
- 你爱好的运动是?
-
- 足球
- 篮球
- 羽毛球
- 乒乓球
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ 你爱好的运动是?
+
+ 足球
+ 篮球
+ 羽毛球
+ 乒乓球
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo3-\270\264\321\241\277\362\310\253\321\241\267\264\321\241/demo2.html" "b/Ch5/demo3-\345\244\215\351\200\211\346\241\206\345\205\250\351\200\211\345\217\215\351\200\211/demo2.html"
similarity index 96%
rename from "Ch5/demo3-\270\264\321\241\277\362\310\253\321\241\267\264\321\241/demo2.html"
rename to "Ch5/demo3-\345\244\215\351\200\211\346\241\206\345\205\250\351\200\211\345\217\215\351\200\211/demo2.html"
index 335db0d..8deabd9 100644
--- "a/Ch5/demo3-\270\264\321\241\277\362\310\253\321\241\267\264\321\241/demo2.html"
+++ "b/Ch5/demo3-\345\244\215\351\200\211\346\241\206\345\205\250\351\200\211\345\217\215\351\200\211/demo2.html"
@@ -1,56 +1,56 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 你爱好的运动是? 全选/全不选
- 足球
- 篮球
- 羽毛球
- 乒乓球
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 你爱好的运动是? 全选/全不选
+ 足球
+ 篮球
+ 羽毛球
+ 乒乓球
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo3-\270\264\321\241\277\362\310\253\321\241\267\264\321\241/demo3.html" "b/Ch5/demo3-\345\244\215\351\200\211\346\241\206\345\205\250\351\200\211\345\217\215\351\200\211/demo3.html"
similarity index 97%
rename from "Ch5/demo3-\270\264\321\241\277\362\310\253\321\241\267\264\321\241/demo3.html"
rename to "Ch5/demo3-\345\244\215\351\200\211\346\241\206\345\205\250\351\200\211\345\217\215\351\200\211/demo3.html"
index 25402a9..6069f99 100644
--- "a/Ch5/demo3-\270\264\321\241\277\362\310\253\321\241\267\264\321\241/demo3.html"
+++ "b/Ch5/demo3-\345\244\215\351\200\211\346\241\206\345\205\250\351\200\211\345\217\215\351\200\211/demo3.html"
@@ -1,50 +1,50 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 你爱好的运动是? 全选/全不选
- 足球
- 篮球
- 羽毛球
- 乒乓球
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 你爱好的运动是? 全选/全不选
+ 足球
+ 篮球
+ 羽毛球
+ 乒乓球
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo4-\317\302\300\255\277\362\327\363\323\322\321\241\324\361/demo1.html" "b/Ch5/demo4-\344\270\213\346\213\211\346\241\206\345\267\246\345\217\263\351\200\211\346\213\251/demo1.html"
similarity index 96%
rename from "Ch5/demo4-\317\302\300\255\277\362\327\363\323\322\321\241\324\361/demo1.html"
rename to "Ch5/demo4-\344\270\213\346\213\211\346\241\206\345\267\246\345\217\263\351\200\211\346\213\251/demo1.html"
index cce8839..4246574 100644
--- "a/Ch5/demo4-\317\302\300\255\277\362\327\363\323\322\321\241\324\361/demo1.html"
+++ "b/Ch5/demo4-\344\270\213\346\213\211\346\241\206\345\267\246\345\217\263\351\200\211\346\213\251/demo1.html"
@@ -1,87 +1,87 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 选项1
- 选项2
- 选项3
- 选项4
- 选项5
- 选项6
- 选项7
-
-
- 选中添加到右边>>
- 全部添加到右边>>
-
-
-
-
-
- 选项8
-
-
- <<选中删除到左边
- <<全部删除到左边
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选项1
+ 选项2
+ 选项3
+ 选项4
+ 选项5
+ 选项6
+ 选项7
+
+
+ 选中添加到右边>>
+ 全部添加到右边>>
+
+
+
+
+
+ 选项8
+
+
+ <<选中删除到左边
+ <<全部删除到左边
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo5-\261\355\265\245\321\351\326\244/css/style.css" "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/css/style.css"
similarity index 96%
rename from "Ch5/demo5-\261\355\265\245\321\351\326\244/css/style.css"
rename to "Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/css/style.css"
index 4aaa247..3f4a47e 100644
--- "a/Ch5/demo5-\261\355\265\245\321\351\326\244/css/style.css"
+++ "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/css/style.css"
@@ -1,18 +1,18 @@
-body { font:12px/19px Arial, Helvetica, sans-serif; color:#666;}
-form div { margin:5px 0;}
-.int label { float:left; width:100px; text-align:right;}
-.int input { padding:1px 1px; border:1px solid #ccc;height:16px;}
-.sub { padding-left:100px;}
-.sub input { margin-right:10px; }
-.formtips{width: 200px;margin:2px;padding:2px;}
-.onError{
- background:#FFE0E9 url(../img/reg3.gif) no-repeat 0 center;
- padding-left:25px;
-}
-.onSuccess{
- background:#E9FBEB url(../img/reg4.gif) no-repeat 0 center;
- padding-left:25px;
-}
-.high{
- color:red;
+body { font:12px/19px Arial, Helvetica, sans-serif; color:#666;}
+form div { margin:5px 0;}
+.int label { float:left; width:100px; text-align:right;}
+.int input { padding:1px 1px; border:1px solid #ccc;height:16px;}
+.sub { padding-left:100px;}
+.sub input { margin-right:10px; }
+.formtips{width: 200px;margin:2px;padding:2px;}
+.onError{
+ background:#FFE0E9 url(../img/reg3.gif) no-repeat 0 center;
+ padding-left:25px;
+}
+.onSuccess{
+ background:#E9FBEB url(../img/reg4.gif) no-repeat 0 center;
+ padding-left:25px;
+}
+.high{
+ color:red;
}
\ No newline at end of file
diff --git "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo1.html" "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo1.html"
similarity index 96%
rename from "Ch5/demo5-\261\355\265\245\321\351\326\244/demo1.html"
rename to "Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo1.html"
index 55f2dd5..0ad9a1d 100644
--- "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo1.html"
+++ "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo1.html"
@@ -1,29 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
- 用户名:
-
-
-
- 邮箱:
-
-
-
- 个人资料:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ 用户名:
+
+
+
+ 邮箱:
+
+
+
+ 个人资料:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo2.html" "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo2.html"
similarity index 96%
rename from "Ch5/demo5-\261\355\265\245\321\351\326\244/demo2.html"
rename to "Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo2.html"
index 391cc2d..613c763 100644
--- "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo2.html"
+++ "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo2.html"
@@ -1,42 +1,42 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 用户名:
-
-
-
- 邮箱:
-
-
-
- 个人资料:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 用户名:
+
+
+
+ 邮箱:
+
+
+
+ 个人资料:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo3.html" "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo3.html"
similarity index 97%
rename from "Ch5/demo5-\261\355\265\245\321\351\326\244/demo3.html"
rename to "Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo3.html"
index e14f090..eb00917 100644
--- "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo3.html"
+++ "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo3.html"
@@ -1,66 +1,66 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 用户名:
-
-
-
- 邮箱:
-
-
-
- 个人资料:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 用户名:
+
+
+
+ 邮箱:
+
+
+
+ 个人资料:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo4.html" "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo4.html"
similarity index 97%
rename from "Ch5/demo5-\261\355\265\245\321\351\326\244/demo4.html"
rename to "Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo4.html"
index e865189..c8068bb 100644
--- "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo4.html"
+++ "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo4.html"
@@ -1,67 +1,67 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 用户名:
-
-
-
- 邮箱:
-
-
-
- 个人资料:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 用户名:
+
+
+
+ 邮箱:
+
+
+
+ 个人资料:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo5.html" "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo5.html"
similarity index 97%
rename from "Ch5/demo5-\261\355\265\245\321\351\326\244/demo5.html"
rename to "Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo5.html"
index f487c3a..4202f73 100644
--- "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo5.html"
+++ "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo5.html"
@@ -1,82 +1,82 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 用户名:
-
-
-
- 邮箱:
-
-
-
- 个人资料:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 用户名:
+
+
+
+ 邮箱:
+
+
+
+ 个人资料:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo6.html" "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo6.html"
similarity index 96%
rename from "Ch5/demo5-\261\355\265\245\321\351\326\244/demo6.html"
rename to "Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo6.html"
index b4eb35a..edca0f2 100644
--- "a/Ch5/demo5-\261\355\265\245\321\351\326\244/demo6.html"
+++ "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/demo6.html"
@@ -1,87 +1,87 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 用户名:
-
-
-
- 邮箱:
-
-
-
- 个人资料:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 用户名:
+
+
+
+ 邮箱:
+
+
+
+ 个人资料:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo5-\261\355\265\245\321\351\326\244/img/reg3.gif" "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/img/reg3.gif"
similarity index 100%
rename from "Ch5/demo5-\261\355\265\245\321\351\326\244/img/reg3.gif"
rename to "Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/img/reg3.gif"
diff --git "a/Ch5/demo5-\261\355\265\245\321\351\326\244/img/reg4.gif" "b/Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/img/reg4.gif"
similarity index 100%
rename from "Ch5/demo5-\261\355\265\245\321\351\326\244/img/reg4.gif"
rename to "Ch5/demo5-\350\241\250\345\215\225\351\252\214\350\257\201/img/reg4.gif"
diff --git "a/Ch5/demo6-\261\355\270\361\261\344\311\253/css/style.css" "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/css/style.css"
similarity index 98%
rename from "Ch5/demo6-\261\355\270\361\261\344\311\253/css/style.css"
rename to "Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/css/style.css"
index 385dc46..a0aa325 100644
--- "a/Ch5/demo6-\261\355\270\361\261\344\311\253/css/style.css"
+++ "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/css/style.css"
@@ -1,6 +1,6 @@
-table { border:0;border-collapse:collapse;}
-td { font:normal 12px/17px Arial;padding:2px;width:100px;}
-th { font:bold 12px/17px Arial;text-align:left;padding:4px;border-bottom:1px solid #333;}
-.even { background:#FFF38F;} /* 偶数行样式*/
-.odd { background:#FFFFEE;} /* 奇数行样式*/
+table { border:0;border-collapse:collapse;}
+td { font:normal 12px/17px Arial;padding:2px;width:100px;}
+th { font:bold 12px/17px Arial;text-align:left;padding:4px;border-bottom:1px solid #333;}
+.even { background:#FFF38F;} /* 偶数行样式*/
+.odd { background:#FFFFEE;} /* 奇数行样式*/
.selected { background:#FF6500;color:#fff;}
\ No newline at end of file
diff --git "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo1.html" "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo1.html"
similarity index 97%
rename from "Ch5/demo6-\261\355\270\361\261\344\311\253/demo1.html"
rename to "Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo1.html"
index 637ecee..f8a067d 100644
--- "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo1.html"
+++ "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo1.html"
@@ -1,30 +1,30 @@
-
-
-
-
-
-
-
-
-
-
-
-
- Ա ס
-
-
- ɽ 㽭
- Ů 㽭
- ϳɳ
- 㽭
- Rain 㽭
- MAXMAN Ů 㽭
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ Ա ס
+
+
+ ɽ 㽭
+ Ů 㽭
+ ϳɳ
+ 㽭
+ Rain 㽭
+ MAXMAN Ů 㽭
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo2.html" "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo2.html"
similarity index 97%
rename from "Ch5/demo6-\261\355\270\361\261\344\311\253/demo2.html"
rename to "Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo2.html"
index e79a744..5357055 100644
--- "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo2.html"
+++ "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo2.html"
@@ -1,30 +1,30 @@
-
-
-
-
-
-
-
-
-
-
-
-
- Ա ס
-
-
- ɽ 㽭
- Ů 㽭
- ϳɳ
- 㽭
- Rain 㽭
- MAXMAN Ů 㽭
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ Ա ס
+
+
+ ɽ 㽭
+ Ů 㽭
+ ϳɳ
+ 㽭
+ Rain 㽭
+ MAXMAN Ů 㽭
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo3.html" "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo3.html"
similarity index 97%
rename from "Ch5/demo6-\261\355\270\361\261\344\311\253/demo3.html"
rename to "Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo3.html"
index 775bbd3..7dd327a 100644
--- "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo3.html"
+++ "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo3.html"
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
- Ա ס
-
-
- ɽ 㽭
- Ů 㽭
- ϳɳ
- 㽭
- Rain 㽭
- MAXMAN Ů 㽭
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ Ա ס
+
+
+ ɽ 㽭
+ Ů 㽭
+ ϳɳ
+ 㽭
+ Rain 㽭
+ MAXMAN Ů 㽭
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo4.html" "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo4.html"
similarity index 97%
rename from "Ch5/demo6-\261\355\270\361\261\344\311\253/demo4.html"
rename to "Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo4.html"
index acd8e8d..861b12d 100644
--- "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo4.html"
+++ "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo4.html"
@@ -1,50 +1,50 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo5.html" "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo5.html"
similarity index 97%
rename from "Ch5/demo6-\261\355\270\361\261\344\311\253/demo5.html"
rename to "Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo5.html"
index d08c328..6b10d86 100644
--- "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo5.html"
+++ "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo5.html"
@@ -1,52 +1,52 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo6.html" "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo6.html"
similarity index 97%
rename from "Ch5/demo6-\261\355\270\361\261\344\311\253/demo6.html"
rename to "Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo6.html"
index 932c3ae..79fae50 100644
--- "a/Ch5/demo6-\261\355\270\361\261\344\311\253/demo6.html"
+++ "b/Ch5/demo6-\350\241\250\346\240\274\345\217\230\350\211\262/demo6.html"
@@ -1,46 +1,46 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo7-\261\355\270\361\325\271\277\252\311\354\313\365/css/style.css" "b/Ch5/demo7-\350\241\250\346\240\274\345\261\225\345\274\200\344\274\270\347\274\251/css/style.css"
similarity index 98%
rename from "Ch5/demo7-\261\355\270\361\325\271\277\252\311\354\313\365/css/style.css"
rename to "Ch5/demo7-\350\241\250\346\240\274\345\261\225\345\274\200\344\274\270\347\274\251/css/style.css"
index f083036..ec21cea 100644
--- "a/Ch5/demo7-\261\355\270\361\325\271\277\252\311\354\313\365/css/style.css"
+++ "b/Ch5/demo7-\350\241\250\346\240\274\345\261\225\345\274\200\344\274\270\347\274\251/css/style.css"
@@ -1,6 +1,6 @@
-table { border:0;border-collapse:collapse;}
-td { font:normal 12px/17px Arial;padding:2px;width:100px;}
-th { font:bold 12px/17px Arial;text-align:left;padding:4px;border-bottom:1px solid #333;width:100px;}
-.parent { background:#FFF38F;cursor:pointer;} /* 偶数行样式*/
-.odd { background:#FFFFEE;} /* 奇数行样式*/
+table { border:0;border-collapse:collapse;}
+td { font:normal 12px/17px Arial;padding:2px;width:100px;}
+th { font:bold 12px/17px Arial;text-align:left;padding:4px;border-bottom:1px solid #333;width:100px;}
+.parent { background:#FFF38F;cursor:pointer;} /* 偶数行样式*/
+.odd { background:#FFFFEE;} /* 奇数行样式*/
.selected { background:#FF6500;color:#fff;}
\ No newline at end of file
diff --git "a/Ch5/demo7-\261\355\270\361\325\271\277\252\311\354\313\365/demo1.html" "b/Ch5/demo7-\350\241\250\346\240\274\345\261\225\345\274\200\344\274\270\347\274\251/demo1.html"
similarity index 97%
rename from "Ch5/demo7-\261\355\270\361\325\271\277\252\311\354\313\365/demo1.html"
rename to "Ch5/demo7-\350\241\250\346\240\274\345\261\225\345\274\200\344\274\270\347\274\251/demo1.html"
index 19095b4..f7daccd 100644
--- "a/Ch5/demo7-\261\355\270\361\325\271\277\252\311\354\313\365/demo1.html"
+++ "b/Ch5/demo7-\350\241\250\346\240\274\345\261\225\345\274\200\344\274\270\347\274\251/demo1.html"
@@ -1,39 +1,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
- Ա ס
-
-
- ǰ̨
- ɽ 㽭
- Ů 㽭
-
- ǰ̨
- ϳɳ
- 㽭
-
- ̨
- Rain 㽭
- MAXMAN Ů 㽭
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ Ա ס
+
+
+ ǰ̨
+ ɽ 㽭
+ Ů 㽭
+
+ ǰ̨
+ ϳɳ
+ 㽭
+
+ ̨
+ Rain 㽭
+ MAXMAN Ů 㽭
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo7-\261\355\270\361\325\271\277\252\311\354\313\365/demo2.html" "b/Ch5/demo7-\350\241\250\346\240\274\345\261\225\345\274\200\344\274\270\347\274\251/demo2.html"
similarity index 97%
rename from "Ch5/demo7-\261\355\270\361\325\271\277\252\311\354\313\365/demo2.html"
rename to "Ch5/demo7-\350\241\250\346\240\274\345\261\225\345\274\200\344\274\270\347\274\251/demo2.html"
index 319ee10..615a4d0 100644
--- "a/Ch5/demo7-\261\355\270\361\325\271\277\252\311\354\313\365/demo2.html"
+++ "b/Ch5/demo7-\350\241\250\346\240\274\345\261\225\345\274\200\344\274\270\347\274\251/demo2.html"
@@ -1,38 +1,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
- Ա ס
-
-
- ǰ̨
- ɽ 㽭
- Ů 㽭
-
- ǰ̨
- ϳɳ
- 㽭
-
- ̨
- Rain 㽭
- MAXMAN Ů 㽭
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ Ա ס
+
+
+ ǰ̨
+ ɽ 㽭
+ Ů 㽭
+
+ ǰ̨
+ ϳɳ
+ 㽭
+
+ ̨
+ Rain 㽭
+ MAXMAN Ů 㽭
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/css/style.css" "b/Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/css/style.css"
similarity index 98%
rename from "Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/css/style.css"
rename to "Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/css/style.css"
index b7cd915..f0701e8 100644
--- "a/Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/css/style.css"
+++ "b/Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/css/style.css"
@@ -1,7 +1,7 @@
-table { border:0;border-collapse:collapse;}
-div{font:normal 12px/17px Arial;}
-td { font:normal 12px/17px Arial;padding:2px;width:100px;}
-th { font:bold 12px/17px Arial;text-align:left;padding:4px;border-bottom:1px solid #333;width:100px;}
-.even { background:#FFF38F;} /* 偶数行样式*/
-.odd { background:#FFFFEE;} /* 奇数行样式*/
+table { border:0;border-collapse:collapse;}
+div{font:normal 12px/17px Arial;}
+td { font:normal 12px/17px Arial;padding:2px;width:100px;}
+th { font:bold 12px/17px Arial;text-align:left;padding:4px;border-bottom:1px solid #333;width:100px;}
+.even { background:#FFF38F;} /* 偶数行样式*/
+.odd { background:#FFFFEE;} /* 奇数行样式*/
.selected { background:#FF6500;color:#fff;}
\ No newline at end of file
diff --git "a/Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/demo1.html" "b/Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/demo1.html"
similarity index 96%
rename from "Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/demo1.html"
rename to "Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/demo1.html"
index 34e933d..6b26ea5 100644
--- "a/Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/demo1.html"
+++ "b/Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/demo1.html"
@@ -1,37 +1,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- Ա ס
-
-
- ɽ 㽭
- Ů 㽭
- ϳɳ
- 㽭
- Rain 㽭
- MAXMAN Ů 㽭
- 㽭
- Ů 㽭
- ϳɳ
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Ա ס
+
+
+ ɽ 㽭
+ Ů 㽭
+ ϳɳ
+ 㽭
+ Rain 㽭
+ MAXMAN Ů 㽭
+ 㽭
+ Ů 㽭
+ ϳɳ
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/demo2.html" "b/Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/demo2.html"
similarity index 96%
rename from "Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/demo2.html"
rename to "Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/demo2.html"
index 87695c5..6e2a933 100644
--- "a/Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/demo2.html"
+++ "b/Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/demo2.html"
@@ -1,46 +1,46 @@
-
-
-
-
-
-
-
-
-
-
-
-
-ɸѡ
-
-
-
-
-
-
-
- Ա ס
-
-
- ɽ 㽭
- Ů 㽭
- ϳɳ
- 㽭
- Rain 㽭
- MAXMAN Ů 㽭
- 㽭
- Ů 㽭
- ϳɳ
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ɸѡ
+
+
+
+
+
+
+
+ Ա ס
+
+
+ ɽ 㽭
+ Ů 㽭
+ ϳɳ
+ 㽭
+ Rain 㽭
+ MAXMAN Ů 㽭
+ 㽭
+ Ů 㽭
+ ϳɳ
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/demo3.html" "b/Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/demo3.html"
similarity index 96%
rename from "Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/demo3.html"
rename to "Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/demo3.html"
index 7c282d5..095b9a2 100644
--- "a/Ch5/demo8-\261\355\270\361\304\332\310\335\271\375\302\313/demo3.html"
+++ "b/Ch5/demo8-\350\241\250\346\240\274\345\206\205\345\256\271\350\277\207\346\273\244/demo3.html"
@@ -1,46 +1,46 @@
-
-
-
-
-
-
-
-
-
-
-
-
-ɸѡ
-
-
-
-
-
-
-
- Ա ס
-
-
- ɽ 㽭
- Ů 㽭
- ϳɳ
- 㽭
- Rain 㽭
- MAXMAN Ů 㽭
- 㽭
- Ů 㽭
- ϳɳ
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ɸѡ
+
+
+
+
+
+
+
+ Ա ס
+
+
+ ɽ 㽭
+ Ů 㽭
+ ϳɳ
+ 㽭
+ Rain 㽭
+ MAXMAN Ů 㽭
+ 㽭
+ Ů 㽭
+ ϳɳ
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo9-\277\330\326\306\327\326\314\345\264\363\320\241/css/style.css" "b/Ch5/demo9-\346\216\247\345\210\266\345\255\227\344\275\223\345\244\247\345\260\217/css/style.css"
similarity index 98%
rename from "Ch5/demo9-\277\330\326\306\327\326\314\345\264\363\320\241/css/style.css"
rename to "Ch5/demo9-\346\216\247\345\210\266\345\255\227\344\275\223\345\244\247\345\260\217/css/style.css"
index c1440aa..91ad358 100644
--- "a/Ch5/demo9-\277\330\326\306\327\326\314\345\264\363\320\241/css/style.css"
+++ "b/Ch5/demo9-\346\216\247\345\210\266\345\255\227\344\275\223\345\244\247\345\260\217/css/style.css"
@@ -1,5 +1,5 @@
-* { margin:0; padding:0; }
-.msg {width:300px; margin:100px; }
-.msg_caption { width:100%; overflow:hidden; margin-bottom:1px;}
-.msg_caption span { display:block; float:left; margin:0 2px; padding:4px 10px; background:#898989; cursor:pointer;font-size:12px;color:white; }
+* { margin:0; padding:0; }
+.msg {width:300px; margin:100px; }
+.msg_caption { width:100%; overflow:hidden; margin-bottom:1px;}
+.msg_caption span { display:block; float:left; margin:0 2px; padding:4px 10px; background:#898989; cursor:pointer;font-size:12px;color:white; }
.msg textarea{ width:300px; height:80px;height:100px;border:1px solid #000;}
\ No newline at end of file
diff --git "a/Ch5/demo9-\277\330\326\306\327\326\314\345\264\363\320\241/demo1.html" "b/Ch5/demo9-\346\216\247\345\210\266\345\255\227\344\275\223\345\244\247\345\260\217/demo1.html"
similarity index 97%
rename from "Ch5/demo9-\277\330\326\306\327\326\314\345\264\363\320\241/demo1.html"
rename to "Ch5/demo9-\346\216\247\345\210\266\345\255\227\344\275\223\345\244\247\345\260\217/demo1.html"
index f25beef..b8c916d 100644
--- "a/Ch5/demo9-\277\330\326\306\327\326\314\345\264\363\320\241/demo1.html"
+++ "b/Ch5/demo9-\346\216\247\345\210\266\345\255\227\344\275\223\345\244\247\345\260\217/demo1.html"
@@ -1,45 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 放大
- 缩小
-
-
-
- This is some text. This is some text. This is some text. This is some text. This
- is some text. This is some text. This is some text. This is some text. This is some
- text. This is some text. This is some text. This is some text. This is some text.
- This is some text. This is some text. This is some text. This is some text. This
- is some text. This is some text.
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 放大
+ 缩小
+
+
+
+ This is some text. This is some text. This is some text. This is some text. This
+ is some text. This is some text. This is some text. This is some text. This is some
+ text. This is some text. This is some text. This is some text. This is some text.
+ This is some text. This is some text. This is some text. This is some text. This
+ is some text. This is some text.
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch5/demo9-\277\330\326\306\327\326\314\345\264\363\320\241/demo2.html" "b/Ch5/demo9-\346\216\247\345\210\266\345\255\227\344\275\223\345\244\247\345\260\217/demo2.html"
similarity index 96%
rename from "Ch5/demo9-\277\330\326\306\327\326\314\345\264\363\320\241/demo2.html"
rename to "Ch5/demo9-\346\216\247\345\210\266\345\255\227\344\275\223\345\244\247\345\260\217/demo2.html"
index d35c8e6..566adea 100644
--- "a/Ch5/demo9-\277\330\326\306\327\326\314\345\264\363\320\241/demo2.html"
+++ "b/Ch5/demo9-\346\216\247\345\210\266\345\255\227\344\275\223\345\244\247\345\260\217/demo2.html"
@@ -1,49 +1,49 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 放大
- 缩小
-
-
-
- This is some text. This is some text. This is some text. This is some text. This
- is some text. This is some text. This is some text. This is some text. This is some
- text. This is some text. This is some text. This is some text. This is some text.
- This is some text. This is some text. This is some text. This is some text. This
- is some text. This is some text.
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 放大
+ 缩小
+
+
+
+ This is some text. This is some text. This is some text. This is some text. This
+ is some text. This is some text. This is some text. This is some text. This is some
+ text. This is some text. This is some text. This is some text. This is some text.
+ This is some text. This is some text. This is some text. This is some text. This
+ is some text. This is some text.
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo1-javascript/demo1.html b/Ch6/asp/demo1-javascript/demo1.html
index 94e42ea..480c670 100644
--- a/Ch6/asp/demo1-javascript/demo1.html
+++ b/Ch6/asp/demo1-javascript/demo1.html
@@ -1,36 +1,36 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo1-javascript/test.asp b/Ch6/asp/demo1-javascript/test.asp
index 7c9938d..5a5372d 100644
--- a/Ch6/asp/demo1-javascript/test.asp
+++ b/Ch6/asp/demo1-javascript/test.asp
@@ -1,3 +1,3 @@
-<%
-response.Write("Hello Ajax!")
+<%
+response.Write("Hello Ajax!")
%>
\ No newline at end of file
diff --git a/Ch6/asp/demo2-load/demo1.html b/Ch6/asp/demo2-load/demo1.html
index a857480..24acd30 100644
--- a/Ch6/asp/demo2-load/demo1.html
+++ b/Ch6/asp/demo2-load/demo1.html
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/asp/demo2-load/demo2.html b/Ch6/asp/demo2-load/demo2.html
index b2f3dba..442c37c 100644
--- a/Ch6/asp/demo2-load/demo2.html
+++ b/Ch6/asp/demo2-load/demo2.html
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/asp/demo2-load/demo3.html b/Ch6/asp/demo2-load/demo3.html
index 8a26304..ae84f8d 100644
--- a/Ch6/asp/demo2-load/demo3.html
+++ b/Ch6/asp/demo2-load/demo3.html
@@ -1,37 +1,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo2-load/test.html b/Ch6/asp/demo2-load/test.html
index 7df1def..703aa13 100644
--- a/Ch6/asp/demo2-load/test.html
+++ b/Ch6/asp/demo2-load/test.html
@@ -1,21 +1,21 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/asp/demo3-get/get1.asp b/Ch6/asp/demo3-get/get1.asp
index afd930a..ecdf0cc 100644
--- a/Ch6/asp/demo3-get/get1.asp
+++ b/Ch6/asp/demo3-get/get1.asp
@@ -1,7 +1,7 @@
-<%@ codepage=65001%>
-<%
-dim username,content
-username=request.QueryString("username")
-content=request.QueryString("content")
-response.Write("")
+<%@ codepage=65001%>
+<%
+dim username,content
+username=request.QueryString("username")
+content=request.QueryString("content")
+response.Write("")
%>
\ No newline at end of file
diff --git a/Ch6/asp/demo3-get/get1.html b/Ch6/asp/demo3-get/get1.html
index e2fffcb..4132bc6 100644
--- a/Ch6/asp/demo3-get/get1.html
+++ b/Ch6/asp/demo3-get/get1.html
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo3-get/get2.asp b/Ch6/asp/demo3-get/get2.asp
index c199ae7..0ee7e8a 100644
--- a/Ch6/asp/demo3-get/get2.asp
+++ b/Ch6/asp/demo3-get/get2.asp
@@ -1,26 +1,26 @@
-<%@ codepage=65001%>
-<%
-dim username,content
-username=request("username")
-content=request("content")
-
-Response.ContentType="application/xml"
-Response.Charset="utf-8"
-Response.Write("")
-response.Write("")
-response.Write("")
-response.Write(""&content&" ")
-response.Write(" ")
-response.write (" ")
-
-'ֱΪXMLļ
-'With Response
-' .ContentType = "text/XML"
-' .write("")
-' .write("")
-' .write("")
-' .write(""&content&" ")
-' .write(" ")
-' .write(" ")
-'End with
+<%@ codepage=65001%>
+<%
+dim username,content
+username=request("username")
+content=request("content")
+
+Response.ContentType="application/xml"
+Response.Charset="utf-8"
+Response.Write("")
+response.Write("")
+response.Write("")
+response.Write(""&content&" ")
+response.Write(" ")
+response.write (" ")
+
+'ֱΪXMLļ
+'With Response
+' .ContentType = "text/XML"
+' .write("")
+' .write("")
+' .write("")
+' .write(""&content&" ")
+' .write(" ")
+' .write(" ")
+'End with
%>
\ No newline at end of file
diff --git a/Ch6/asp/demo3-get/get2.html b/Ch6/asp/demo3-get/get2.html
index 92eef60..d7097ce 100644
--- a/Ch6/asp/demo3-get/get2.html
+++ b/Ch6/asp/demo3-get/get2.html
@@ -1,45 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/asp/demo3-get/get3.asp b/Ch6/asp/demo3-get/get3.asp
index 8b039e5..61c200d 100644
--- a/Ch6/asp/demo3-get/get3.asp
+++ b/Ch6/asp/demo3-get/get3.asp
@@ -1,9 +1,9 @@
-<%@ codepage=65001%>
-<%
- dim username,content
- username=request("username")
- content=request("content")
-
- response.Write("{ \"username\" : '"&username&"' , \"content\" : '"&content&"'}")
-
+<%@ codepage=65001%>
+<%
+ dim username,content
+ username=request("username")
+ content=request("content")
+
+ response.Write("{ \"username\" : '"&username&"' , \"content\" : '"&content&"'}")
+
%>
\ No newline at end of file
diff --git a/Ch6/asp/demo3-get/get3.html b/Ch6/asp/demo3-get/get3.html
index 37b005c..8fdab57 100644
--- a/Ch6/asp/demo3-get/get3.html
+++ b/Ch6/asp/demo3-get/get3.html
@@ -1,45 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/asp/demo3-get/get4.html b/Ch6/asp/demo3-get/get4.html
index 2a15267..9dd8e09 100644
--- a/Ch6/asp/demo3-get/get4.html
+++ b/Ch6/asp/demo3-get/get4.html
@@ -1,37 +1,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo4-post/post1.asp b/Ch6/asp/demo4-post/post1.asp
index 593f1a1..0a3b2c2 100644
--- a/Ch6/asp/demo4-post/post1.asp
+++ b/Ch6/asp/demo4-post/post1.asp
@@ -1,8 +1,8 @@
-<%@ codepage=65001%>
-<%
-dim username,content
-'POST GET Request.Form Request.QueryString
-username=request.Form("username")
-content=request.Form("content")
-response.Write("")
+<%@ codepage=65001%>
+<%
+dim username,content
+'POST GET Request.Form Request.QueryString
+username=request.Form("username")
+content=request.Form("content")
+response.Write("")
%>
\ No newline at end of file
diff --git a/Ch6/asp/demo4-post/post1.html b/Ch6/asp/demo4-post/post1.html
index 0331103..471dff1 100644
--- a/Ch6/asp/demo4-post/post1.html
+++ b/Ch6/asp/demo4-post/post1.html
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo4-post/post2.asp b/Ch6/asp/demo4-post/post2.asp
index 163416f..118f175 100644
--- a/Ch6/asp/demo4-post/post2.asp
+++ b/Ch6/asp/demo4-post/post2.asp
@@ -1,26 +1,26 @@
-<%@ codepage=65001%>
-<%
-dim username,content
-username=request.Form("username")
-content=request.Form("content")
-'POST GET Request.Form Request.QueryString
-Response.ContentType="application/xml"
-Response.Charset="utf-8"
-Response.Write("")
-response.Write("")
-response.Write("")
-response.Write(""&content&" ")
-response.Write(" ")
-response.write (" ")
-
-'ֱΪXMLļ
-'With Response
-' .ContentType = "text/XML"
-' .write("")
-' .write("")
-' .write("")
-' .write(""&content&" ")
-' .write(" ")
-' .write(" ")
-'End with
+<%@ codepage=65001%>
+<%
+dim username,content
+username=request.Form("username")
+content=request.Form("content")
+'POST GET Request.Form Request.QueryString
+Response.ContentType="application/xml"
+Response.Charset="utf-8"
+Response.Write("")
+response.Write("")
+response.Write("")
+response.Write(""&content&" ")
+response.Write(" ")
+response.write (" ")
+
+'ֱΪXMLļ
+'With Response
+' .ContentType = "text/XML"
+' .write("")
+' .write("")
+' .write("")
+' .write(""&content&" ")
+' .write(" ")
+' .write(" ")
+'End with
%>
\ No newline at end of file
diff --git a/Ch6/asp/demo4-post/post2.html b/Ch6/asp/demo4-post/post2.html
index d13defc..ab26c76 100644
--- a/Ch6/asp/demo4-post/post2.html
+++ b/Ch6/asp/demo4-post/post2.html
@@ -1,45 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/asp/demo4-post/post3.asp b/Ch6/asp/demo4-post/post3.asp
index 99eda41..cead768 100644
--- a/Ch6/asp/demo4-post/post3.asp
+++ b/Ch6/asp/demo4-post/post3.asp
@@ -1,9 +1,9 @@
-<%@ codepage=65001%>
-<%
-dim username,content
-username=request.Form("username")
-content=request.Form("content")
-'POST GET Request.Form Request.QueryString
-response.Write("{ \"username\" : '"&username&"' , \"content\" : '"&content&"'}")
-
+<%@ codepage=65001%>
+<%
+dim username,content
+username=request.Form("username")
+content=request.Form("content")
+'POST GET Request.Form Request.QueryString
+response.Write("{ \"username\" : '"&username&"' , \"content\" : '"&content&"'}")
+
%>
\ No newline at end of file
diff --git a/Ch6/asp/demo4-post/post3.html b/Ch6/asp/demo4-post/post3.html
index 9c1cf40..8c701cb 100644
--- a/Ch6/asp/demo4-post/post3.html
+++ b/Ch6/asp/demo4-post/post3.html
@@ -1,45 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/asp/demo4-post/post4.html b/Ch6/asp/demo4-post/post4.html
index f4c5d37..31e6bfe 100644
--- a/Ch6/asp/demo4-post/post4.html
+++ b/Ch6/asp/demo4-post/post4.html
@@ -1,40 +1,40 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo5-getScriptJSON/demo1.html b/Ch6/asp/demo5-getScriptJSON/demo1.html
index 7bd1275..a50bce9 100644
--- a/Ch6/asp/demo5-getScriptJSON/demo1.html
+++ b/Ch6/asp/demo5-getScriptJSON/demo1.html
@@ -1,35 +1,35 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo5-getScriptJSON/demo2.html b/Ch6/asp/demo5-getScriptJSON/demo2.html
index 7dcf2bf..02b1a97 100644
--- a/Ch6/asp/demo5-getScriptJSON/demo2.html
+++ b/Ch6/asp/demo5-getScriptJSON/demo2.html
@@ -1,34 +1,34 @@
-
-
-
-
-
-
-
-
-
-
-
-
-运行
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+运行
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo5-getScriptJSON/demo3.html b/Ch6/asp/demo5-getScriptJSON/demo3.html
index af813bd..132cb4b 100644
--- a/Ch6/asp/demo5-getScriptJSON/demo3.html
+++ b/Ch6/asp/demo5-getScriptJSON/demo3.html
@@ -1,42 +1,42 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo5-getScriptJSON/demo4.html b/Ch6/asp/demo5-getScriptJSON/demo4.html
index 4c456ff..97409f3 100644
--- a/Ch6/asp/demo5-getScriptJSON/demo4.html
+++ b/Ch6/asp/demo5-getScriptJSON/demo4.html
@@ -1,46 +1,46 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo6-ajax/demo1.html b/Ch6/asp/demo6-ajax/demo1.html
index 39f0540..ddbbf29 100644
--- a/Ch6/asp/demo6-ajax/demo1.html
+++ b/Ch6/asp/demo6-ajax/demo1.html
@@ -1,39 +1,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo6-ajax/demo2.html b/Ch6/asp/demo6-ajax/demo2.html
index f1554bf..38925e4 100644
--- a/Ch6/asp/demo6-ajax/demo2.html
+++ b/Ch6/asp/demo6-ajax/demo2.html
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo6-ajax/demo3.html b/Ch6/asp/demo6-ajax/demo3.html
index 642f258..e6ebc94 100644
--- a/Ch6/asp/demo6-ajax/demo3.html
+++ b/Ch6/asp/demo6-ajax/demo3.html
@@ -1,52 +1,52 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo7-serialize()/demo1.html b/Ch6/asp/demo7-serialize()/demo1.html
index 4b0ff58..120f1c1 100644
--- a/Ch6/asp/demo7-serialize()/demo1.html
+++ b/Ch6/asp/demo7-serialize()/demo1.html
@@ -1,39 +1,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo7-serialize()/demo2.html b/Ch6/asp/demo7-serialize()/demo2.html
index 0edcfd2..0c304a3 100644
--- a/Ch6/asp/demo7-serialize()/demo2.html
+++ b/Ch6/asp/demo7-serialize()/demo2.html
@@ -1,41 +1,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
-提交
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+提交
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo7-serialize()/demo3.html b/Ch6/asp/demo7-serialize()/demo3.html
index 6564a5d..236a01a 100644
--- a/Ch6/asp/demo7-serialize()/demo3.html
+++ b/Ch6/asp/demo7-serialize()/demo3.html
@@ -1,39 +1,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo7-serialize()/demo4-firebug.html b/Ch6/asp/demo7-serialize()/demo4-firebug.html
index 05e5494..a462ad6 100644
--- a/Ch6/asp/demo7-serialize()/demo4-firebug.html
+++ b/Ch6/asp/demo7-serialize()/demo4-firebug.html
@@ -1,34 +1,34 @@
-
-
-
-
-
-
-
-
-
-
-结果:
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
-
+
+
+
+
+
+
+
+
+
+
+结果:
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo7-serialize()/demo5.html b/Ch6/asp/demo7-serialize()/demo5.html
index 0558d7e..1e4b7e4 100644
--- a/Ch6/asp/demo7-serialize()/demo5.html
+++ b/Ch6/asp/demo7-serialize()/demo5.html
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo7-serialize()/get1.asp b/Ch6/asp/demo7-serialize()/get1.asp
index afd930a..ecdf0cc 100644
--- a/Ch6/asp/demo7-serialize()/get1.asp
+++ b/Ch6/asp/demo7-serialize()/get1.asp
@@ -1,7 +1,7 @@
-<%@ codepage=65001%>
-<%
-dim username,content
-username=request.QueryString("username")
-content=request.QueryString("content")
-response.Write("")
+<%@ codepage=65001%>
+<%
+dim username,content
+username=request.QueryString("username")
+content=request.QueryString("content")
+response.Write("")
%>
\ No newline at end of file
diff --git a/Ch6/asp/demo8-AjaxEvent/demo1.html b/Ch6/asp/demo8-AjaxEvent/demo1.html
index a53e741..0c3b4e8 100644
--- a/Ch6/asp/demo8-AjaxEvent/demo1.html
+++ b/Ch6/asp/demo8-AjaxEvent/demo1.html
@@ -1,92 +1,92 @@
-
-
-
-
-
-
-
-
-
-
-
-
-加载中...
-
-
-Demo1:
-
-
-
-
-
-
-Demo2:
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+加载中...
+
+
+Demo1:
+
+
+
+
+
+
+Demo2:
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/asp/demo8-AjaxEvent/get1.asp b/Ch6/asp/demo8-AjaxEvent/get1.asp
index afd930a..ecdf0cc 100644
--- a/Ch6/asp/demo8-AjaxEvent/get1.asp
+++ b/Ch6/asp/demo8-AjaxEvent/get1.asp
@@ -1,7 +1,7 @@
-<%@ codepage=65001%>
-<%
-dim username,content
-username=request.QueryString("username")
-content=request.QueryString("content")
-response.Write("")
+<%@ codepage=65001%>
+<%
+dim username,content
+username=request.QueryString("username")
+content=request.QueryString("content")
+response.Write("")
%>
\ No newline at end of file
diff --git a/Ch6/jsp/demo1-javascript/demo1.html b/Ch6/jsp/demo1-javascript/demo1.html
index b66295d..75e25b0 100644
--- a/Ch6/jsp/demo1-javascript/demo1.html
+++ b/Ch6/jsp/demo1-javascript/demo1.html
@@ -1,36 +1,36 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo1-javascript/test.jsp b/Ch6/jsp/demo1-javascript/test.jsp
index 11b7f7e..cfa766e 100644
--- a/Ch6/jsp/demo1-javascript/test.jsp
+++ b/Ch6/jsp/demo1-javascript/test.jsp
@@ -1,2 +1,2 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%out.println("Hello Ajax!");%>
\ No newline at end of file
diff --git a/Ch6/jsp/demo2-load/demo1.html b/Ch6/jsp/demo2-load/demo1.html
index a857480..24acd30 100644
--- a/Ch6/jsp/demo2-load/demo1.html
+++ b/Ch6/jsp/demo2-load/demo1.html
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/jsp/demo2-load/demo2.html b/Ch6/jsp/demo2-load/demo2.html
index b2f3dba..442c37c 100644
--- a/Ch6/jsp/demo2-load/demo2.html
+++ b/Ch6/jsp/demo2-load/demo2.html
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/jsp/demo2-load/demo3.html b/Ch6/jsp/demo2-load/demo3.html
index 8a26304..ae84f8d 100644
--- a/Ch6/jsp/demo2-load/demo3.html
+++ b/Ch6/jsp/demo2-load/demo3.html
@@ -1,37 +1,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo2-load/test.html b/Ch6/jsp/demo2-load/test.html
index 7df1def..703aa13 100644
--- a/Ch6/jsp/demo2-load/test.html
+++ b/Ch6/jsp/demo2-load/test.html
@@ -1,21 +1,21 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/jsp/demo3-get/get1.html b/Ch6/jsp/demo3-get/get1.html
index 4dde71b..c48d347 100644
--- a/Ch6/jsp/demo3-get/get1.html
+++ b/Ch6/jsp/demo3-get/get1.html
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo3-get/get1.jsp b/Ch6/jsp/demo3-get/get1.jsp
index 3981a4b..0558d53 100644
--- a/Ch6/jsp/demo3-get/get1.jsp
+++ b/Ch6/jsp/demo3-get/get1.jsp
@@ -1,6 +1,6 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%
- String username = request.getParameter("username");
- String content = request.getParameter("content");
- out.println("");
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%
+ String username = request.getParameter("username");
+ String content = request.getParameter("content");
+ out.println("");
%>
\ No newline at end of file
diff --git a/Ch6/jsp/demo3-get/get2.html b/Ch6/jsp/demo3-get/get2.html
index 6efea37..7266746 100644
--- a/Ch6/jsp/demo3-get/get2.html
+++ b/Ch6/jsp/demo3-get/get2.html
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/jsp/demo3-get/get2.jsp b/Ch6/jsp/demo3-get/get2.jsp
index 1f09a84..aae0c3e 100644
--- a/Ch6/jsp/demo3-get/get2.jsp
+++ b/Ch6/jsp/demo3-get/get2.jsp
@@ -1,12 +1,12 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%
- String username = request.getParameter("username");
- String content = request.getParameter("content");
- response.setContentType("text/xml");
- out.println("");
- out.println("");
- out.println("");
- out.println(""+content+" ");
- out.println(" ");
- out.println(" ");
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%
+ String username = request.getParameter("username");
+ String content = request.getParameter("content");
+ response.setContentType("text/xml");
+ out.println("");
+ out.println("");
+ out.println("");
+ out.println(""+content+" ");
+ out.println(" ");
+ out.println(" ");
%>
\ No newline at end of file
diff --git a/Ch6/jsp/demo3-get/get3.html b/Ch6/jsp/demo3-get/get3.html
index 0681e52..d31d654 100644
--- a/Ch6/jsp/demo3-get/get3.html
+++ b/Ch6/jsp/demo3-get/get3.html
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/jsp/demo3-get/get3.jsp b/Ch6/jsp/demo3-get/get3.jsp
index e64fb35..6a4adb8 100644
--- a/Ch6/jsp/demo3-get/get3.jsp
+++ b/Ch6/jsp/demo3-get/get3.jsp
@@ -1,6 +1,6 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%
- String username = request.getParameter("username");
- String content = request.getParameter("content");
- out.println("{ \"username\" : '"+username+"' , \"content\" : '"+content+"'}");
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%
+ String username = request.getParameter("username");
+ String content = request.getParameter("content");
+ out.println("{ \"username\" : '"+username+"' , \"content\" : '"+content+"'}");
%>
\ No newline at end of file
diff --git a/Ch6/jsp/demo3-get/get4.html b/Ch6/jsp/demo3-get/get4.html
index 89c8119..96750bf 100644
--- a/Ch6/jsp/demo3-get/get4.html
+++ b/Ch6/jsp/demo3-get/get4.html
@@ -1,37 +1,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo4-post/post1.html b/Ch6/jsp/demo4-post/post1.html
index 84c10f0..3bfe3aa 100644
--- a/Ch6/jsp/demo4-post/post1.html
+++ b/Ch6/jsp/demo4-post/post1.html
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo4-post/post1.jsp b/Ch6/jsp/demo4-post/post1.jsp
index f6604cd..8acbec3 100644
--- a/Ch6/jsp/demo4-post/post1.jsp
+++ b/Ch6/jsp/demo4-post/post1.jsp
@@ -1,7 +1,7 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%
- request.setCharacterEncoding("UTF-8");
- String username = request.getParameter("username");
- String content = request.getParameter("content");
- out.println("");
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%
+ request.setCharacterEncoding("UTF-8");
+ String username = request.getParameter("username");
+ String content = request.getParameter("content");
+ out.println("");
%>
\ No newline at end of file
diff --git a/Ch6/jsp/demo4-post/post2.html b/Ch6/jsp/demo4-post/post2.html
index e02aad8..ca16299 100644
--- a/Ch6/jsp/demo4-post/post2.html
+++ b/Ch6/jsp/demo4-post/post2.html
@@ -1,45 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/jsp/demo4-post/post2.jsp b/Ch6/jsp/demo4-post/post2.jsp
index 7abb4aa..e3e474e 100644
--- a/Ch6/jsp/demo4-post/post2.jsp
+++ b/Ch6/jsp/demo4-post/post2.jsp
@@ -1,13 +1,13 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%
- request.setCharacterEncoding("UTF-8");
- String username = request.getParameter("username");
- String content = request.getParameter("content");
- response.setContentType("text/xml");
- out.println("");
- out.println("");
- out.println("");
- out.println(""+content+" ");
- out.println(" ");
- out.println(" ");
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%
+ request.setCharacterEncoding("UTF-8");
+ String username = request.getParameter("username");
+ String content = request.getParameter("content");
+ response.setContentType("text/xml");
+ out.println("");
+ out.println("");
+ out.println("");
+ out.println(""+content+" ");
+ out.println(" ");
+ out.println(" ");
%>
\ No newline at end of file
diff --git a/Ch6/jsp/demo4-post/post3.html b/Ch6/jsp/demo4-post/post3.html
index 2919325..249e255 100644
--- a/Ch6/jsp/demo4-post/post3.html
+++ b/Ch6/jsp/demo4-post/post3.html
@@ -1,45 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/jsp/demo4-post/post3.jsp b/Ch6/jsp/demo4-post/post3.jsp
index 69a2242..79766ef 100644
--- a/Ch6/jsp/demo4-post/post3.jsp
+++ b/Ch6/jsp/demo4-post/post3.jsp
@@ -1,7 +1,7 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%
- request.setCharacterEncoding("UTF-8");
- String username = request.getParameter("username");
- String content = request.getParameter("content");
- out.println("{ \"username\" : '"+username+"' , \"content\" : '"+content+"'}");
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%
+ request.setCharacterEncoding("UTF-8");
+ String username = request.getParameter("username");
+ String content = request.getParameter("content");
+ out.println("{ \"username\" : '"+username+"' , \"content\" : '"+content+"'}");
%>
\ No newline at end of file
diff --git a/Ch6/jsp/demo4-post/post4.html b/Ch6/jsp/demo4-post/post4.html
index 3b69ad7..b98f761 100644
--- a/Ch6/jsp/demo4-post/post4.html
+++ b/Ch6/jsp/demo4-post/post4.html
@@ -1,40 +1,40 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo5-getScriptJSON/demo1.html b/Ch6/jsp/demo5-getScriptJSON/demo1.html
index 7bd1275..a50bce9 100644
--- a/Ch6/jsp/demo5-getScriptJSON/demo1.html
+++ b/Ch6/jsp/demo5-getScriptJSON/demo1.html
@@ -1,35 +1,35 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo5-getScriptJSON/demo2.html b/Ch6/jsp/demo5-getScriptJSON/demo2.html
index 7dcf2bf..02b1a97 100644
--- a/Ch6/jsp/demo5-getScriptJSON/demo2.html
+++ b/Ch6/jsp/demo5-getScriptJSON/demo2.html
@@ -1,34 +1,34 @@
-
-
-
-
-
-
-
-
-
-
-
-
-运行
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+运行
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo5-getScriptJSON/demo3.html b/Ch6/jsp/demo5-getScriptJSON/demo3.html
index af813bd..132cb4b 100644
--- a/Ch6/jsp/demo5-getScriptJSON/demo3.html
+++ b/Ch6/jsp/demo5-getScriptJSON/demo3.html
@@ -1,42 +1,42 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo5-getScriptJSON/demo4.html b/Ch6/jsp/demo5-getScriptJSON/demo4.html
index 4c456ff..97409f3 100644
--- a/Ch6/jsp/demo5-getScriptJSON/demo4.html
+++ b/Ch6/jsp/demo5-getScriptJSON/demo4.html
@@ -1,46 +1,46 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo6-ajax/demo1.html b/Ch6/jsp/demo6-ajax/demo1.html
index 39f0540..ddbbf29 100644
--- a/Ch6/jsp/demo6-ajax/demo1.html
+++ b/Ch6/jsp/demo6-ajax/demo1.html
@@ -1,39 +1,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo6-ajax/demo2.html b/Ch6/jsp/demo6-ajax/demo2.html
index f1554bf..38925e4 100644
--- a/Ch6/jsp/demo6-ajax/demo2.html
+++ b/Ch6/jsp/demo6-ajax/demo2.html
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo6-ajax/demo3.html b/Ch6/jsp/demo6-ajax/demo3.html
index 642f258..e6ebc94 100644
--- a/Ch6/jsp/demo6-ajax/demo3.html
+++ b/Ch6/jsp/demo6-ajax/demo3.html
@@ -1,52 +1,52 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo7-serialize()/demo1.html b/Ch6/jsp/demo7-serialize()/demo1.html
index 5008e8a..efef91e 100644
--- a/Ch6/jsp/demo7-serialize()/demo1.html
+++ b/Ch6/jsp/demo7-serialize()/demo1.html
@@ -1,39 +1,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo7-serialize()/demo2.html b/Ch6/jsp/demo7-serialize()/demo2.html
index 0edcfd2..0c304a3 100644
--- a/Ch6/jsp/demo7-serialize()/demo2.html
+++ b/Ch6/jsp/demo7-serialize()/demo2.html
@@ -1,41 +1,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
-提交
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+提交
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo7-serialize()/demo3.html b/Ch6/jsp/demo7-serialize()/demo3.html
index af34238..f13e6f7 100644
--- a/Ch6/jsp/demo7-serialize()/demo3.html
+++ b/Ch6/jsp/demo7-serialize()/demo3.html
@@ -1,39 +1,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo7-serialize()/demo4-firebug.html b/Ch6/jsp/demo7-serialize()/demo4-firebug.html
index 05e5494..a462ad6 100644
--- a/Ch6/jsp/demo7-serialize()/demo4-firebug.html
+++ b/Ch6/jsp/demo7-serialize()/demo4-firebug.html
@@ -1,34 +1,34 @@
-
-
-
-
-
-
-
-
-
-
-结果:
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
-
+
+
+
+
+
+
+
+
+
+
+结果:
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo7-serialize()/demo5.html b/Ch6/jsp/demo7-serialize()/demo5.html
index 0558d7e..1e4b7e4 100644
--- a/Ch6/jsp/demo7-serialize()/demo5.html
+++ b/Ch6/jsp/demo7-serialize()/demo5.html
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo7-serialize()/get1.jsp b/Ch6/jsp/demo7-serialize()/get1.jsp
index feb9784..a55f0ef 100644
--- a/Ch6/jsp/demo7-serialize()/get1.jsp
+++ b/Ch6/jsp/demo7-serialize()/get1.jsp
@@ -1,7 +1,7 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%
- request.setCharacterEncoding("UTF-8");
- String username = request.getParameter("username");
- String content = request.getParameter("content");
- out.println("");
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%
+ request.setCharacterEncoding("UTF-8");
+ String username = request.getParameter("username");
+ String content = request.getParameter("content");
+ out.println("");
%>
\ No newline at end of file
diff --git a/Ch6/jsp/demo8-AjaxEvent/demo1.html b/Ch6/jsp/demo8-AjaxEvent/demo1.html
index 4b8ae1e..2616103 100644
--- a/Ch6/jsp/demo8-AjaxEvent/demo1.html
+++ b/Ch6/jsp/demo8-AjaxEvent/demo1.html
@@ -1,92 +1,92 @@
-
-
-
-
-
-
-
-
-
-
-
-
-加载中...
-
-
-Demo1:
-
-
-
-
-
-
-Demo2:
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+加载中...
+
+
+Demo1:
+
+
+
+
+
+
+Demo2:
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/jsp/demo8-AjaxEvent/get1.jsp b/Ch6/jsp/demo8-AjaxEvent/get1.jsp
index f6604cd..8acbec3 100644
--- a/Ch6/jsp/demo8-AjaxEvent/get1.jsp
+++ b/Ch6/jsp/demo8-AjaxEvent/get1.jsp
@@ -1,7 +1,7 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%
- request.setCharacterEncoding("UTF-8");
- String username = request.getParameter("username");
- String content = request.getParameter("content");
- out.println("");
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%
+ request.setCharacterEncoding("UTF-8");
+ String username = request.getParameter("username");
+ String content = request.getParameter("content");
+ out.println("");
%>
\ No newline at end of file
diff --git a/Ch6/php/demo1-javascript/demo1.html b/Ch6/php/demo1-javascript/demo1.html
index 062b741..5ada6f0 100644
--- a/Ch6/php/demo1-javascript/demo1.html
+++ b/Ch6/php/demo1-javascript/demo1.html
@@ -1,36 +1,36 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo1-javascript/test.php b/Ch6/php/demo1-javascript/test.php
index 99661a2..d0c24c4 100644
--- a/Ch6/php/demo1-javascript/test.php
+++ b/Ch6/php/demo1-javascript/test.php
@@ -1,3 +1,3 @@
-
\ No newline at end of file
diff --git a/Ch6/php/demo2-load/demo1.html b/Ch6/php/demo2-load/demo1.html
index 35cfe38..6365f0f 100644
--- a/Ch6/php/demo2-load/demo1.html
+++ b/Ch6/php/demo2-load/demo1.html
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/php/demo2-load/demo2.html b/Ch6/php/demo2-load/demo2.html
index 43cb80b..02ad6c8 100644
--- a/Ch6/php/demo2-load/demo2.html
+++ b/Ch6/php/demo2-load/demo2.html
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/php/demo2-load/demo3.html b/Ch6/php/demo2-load/demo3.html
index 6f31749..4afdd05 100644
--- a/Ch6/php/demo2-load/demo3.html
+++ b/Ch6/php/demo2-load/demo3.html
@@ -1,37 +1,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo2-load/test.html b/Ch6/php/demo2-load/test.html
index 266f386..b65433b 100644
--- a/Ch6/php/demo2-load/test.html
+++ b/Ch6/php/demo2-load/test.html
@@ -1,21 +1,21 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/php/demo3-get/get1.html b/Ch6/php/demo3-get/get1.html
index 7a38b3c..f3665b2 100644
--- a/Ch6/php/demo3-get/get1.html
+++ b/Ch6/php/demo3-get/get1.html
@@ -1,45 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo3-get/get1.php b/Ch6/php/demo3-get/get1.php
index 4f01c29..ec71c00 100644
--- a/Ch6/php/demo3-get/get1.php
+++ b/Ch6/php/demo3-get/get1.php
@@ -1,4 +1,4 @@
-{$_REQUEST['username']}: {$_REQUEST['content']}
";
-?>
+{$_REQUEST['username']}: {$_REQUEST['content']}
";
+?>
diff --git a/Ch6/php/demo3-get/get2.html b/Ch6/php/demo3-get/get2.html
index 3cb6159..7624277 100644
--- a/Ch6/php/demo3-get/get2.html
+++ b/Ch6/php/demo3-get/get2.html
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/php/demo3-get/get2.php b/Ch6/php/demo3-get/get2.php
index 4cbb507..6924caf 100644
--- a/Ch6/php/demo3-get/get2.php
+++ b/Ch6/php/demo3-get/get2.php
@@ -1,9 +1,9 @@
-".
- "".
- "".
- "{$_REQUEST['content']} ".
- " ".
- " ";
-?>
+".
+ "".
+ "".
+ "{$_REQUEST['content']} ".
+ " ".
+ " ";
+?>
diff --git a/Ch6/php/demo3-get/get3.html b/Ch6/php/demo3-get/get3.html
index 5669dd2..14344a7 100644
--- a/Ch6/php/demo3-get/get3.html
+++ b/Ch6/php/demo3-get/get3.html
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/php/demo3-get/get3.php b/Ch6/php/demo3-get/get3.php
index 16ef3ba..89c7ec1 100644
--- a/Ch6/php/demo3-get/get3.php
+++ b/Ch6/php/demo3-get/get3.php
@@ -1,4 +1,4 @@
-
+
diff --git a/Ch6/php/demo3-get/get4.html b/Ch6/php/demo3-get/get4.html
index 48c026e..77cb876 100644
--- a/Ch6/php/demo3-get/get4.html
+++ b/Ch6/php/demo3-get/get4.html
@@ -1,40 +1,40 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo4-post/post1.html b/Ch6/php/demo4-post/post1.html
index 676f0ec..e3a055f 100644
--- a/Ch6/php/demo4-post/post1.html
+++ b/Ch6/php/demo4-post/post1.html
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo4-post/post1.php b/Ch6/php/demo4-post/post1.php
index 4f01c29..ec71c00 100644
--- a/Ch6/php/demo4-post/post1.php
+++ b/Ch6/php/demo4-post/post1.php
@@ -1,4 +1,4 @@
-{$_REQUEST['username']}: {$_REQUEST['content']}
";
-?>
+{$_REQUEST['username']}: {$_REQUEST['content']}
";
+?>
diff --git a/Ch6/php/demo4-post/post2.html b/Ch6/php/demo4-post/post2.html
index 4c4f024..5fcb7e1 100644
--- a/Ch6/php/demo4-post/post2.html
+++ b/Ch6/php/demo4-post/post2.html
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/php/demo4-post/post2.php b/Ch6/php/demo4-post/post2.php
index 4cbb507..6924caf 100644
--- a/Ch6/php/demo4-post/post2.php
+++ b/Ch6/php/demo4-post/post2.php
@@ -1,9 +1,9 @@
-".
- "".
- "".
- "{$_REQUEST['content']} ".
- " ".
- " ";
-?>
+".
+ "".
+ "".
+ "{$_REQUEST['content']} ".
+ " ".
+ " ";
+?>
diff --git a/Ch6/php/demo4-post/post3.html b/Ch6/php/demo4-post/post3.html
index e892a43..2ba026d 100644
--- a/Ch6/php/demo4-post/post3.html
+++ b/Ch6/php/demo4-post/post3.html
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch6/php/demo4-post/post3.php b/Ch6/php/demo4-post/post3.php
index 16ef3ba..89c7ec1 100644
--- a/Ch6/php/demo4-post/post3.php
+++ b/Ch6/php/demo4-post/post3.php
@@ -1,4 +1,4 @@
-
+
diff --git a/Ch6/php/demo4-post/post4.html b/Ch6/php/demo4-post/post4.html
index 756bc8d..db149d2 100644
--- a/Ch6/php/demo4-post/post4.html
+++ b/Ch6/php/demo4-post/post4.html
@@ -1,40 +1,40 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo5-getScriptJSON/demo1.html b/Ch6/php/demo5-getScriptJSON/demo1.html
index 480b854..b119e37 100644
--- a/Ch6/php/demo5-getScriptJSON/demo1.html
+++ b/Ch6/php/demo5-getScriptJSON/demo1.html
@@ -1,35 +1,35 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo5-getScriptJSON/demo2.html b/Ch6/php/demo5-getScriptJSON/demo2.html
index d1bc6f0..f7e1756 100644
--- a/Ch6/php/demo5-getScriptJSON/demo2.html
+++ b/Ch6/php/demo5-getScriptJSON/demo2.html
@@ -1,36 +1,36 @@
-
-
-
-
-
-
-
-
-
-
-
-
-运行
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+运行
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo5-getScriptJSON/demo3.html b/Ch6/php/demo5-getScriptJSON/demo3.html
index 9432f80..129617b 100644
--- a/Ch6/php/demo5-getScriptJSON/demo3.html
+++ b/Ch6/php/demo5-getScriptJSON/demo3.html
@@ -1,44 +1,44 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo5-getScriptJSON/demo4.html b/Ch6/php/demo5-getScriptJSON/demo4.html
index a3981ca..09ee22f 100644
--- a/Ch6/php/demo5-getScriptJSON/demo4.html
+++ b/Ch6/php/demo5-getScriptJSON/demo4.html
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo6-ajax/demo1.html b/Ch6/php/demo6-ajax/demo1.html
index 10618ed..7244bb3 100644
--- a/Ch6/php/demo6-ajax/demo1.html
+++ b/Ch6/php/demo6-ajax/demo1.html
@@ -1,41 +1,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo6-ajax/demo2.html b/Ch6/php/demo6-ajax/demo2.html
index 9131500..605e140 100644
--- a/Ch6/php/demo6-ajax/demo2.html
+++ b/Ch6/php/demo6-ajax/demo2.html
@@ -1,49 +1,49 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo6-ajax/demo3.html b/Ch6/php/demo6-ajax/demo3.html
index ff3afa3..53ff810 100644
--- a/Ch6/php/demo6-ajax/demo3.html
+++ b/Ch6/php/demo6-ajax/demo3.html
@@ -1,49 +1,49 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo7-serialize()/demo1.html b/Ch6/php/demo7-serialize()/demo1.html
index 32fa932..e55b739 100644
--- a/Ch6/php/demo7-serialize()/demo1.html
+++ b/Ch6/php/demo7-serialize()/demo1.html
@@ -1,39 +1,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo7-serialize()/demo2.html b/Ch6/php/demo7-serialize()/demo2.html
index c88faf7..3321550 100644
--- a/Ch6/php/demo7-serialize()/demo2.html
+++ b/Ch6/php/demo7-serialize()/demo2.html
@@ -1,41 +1,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
-提交
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+提交
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo7-serialize()/demo3.html b/Ch6/php/demo7-serialize()/demo3.html
index b9dac20..e4d8326 100644
--- a/Ch6/php/demo7-serialize()/demo3.html
+++ b/Ch6/php/demo7-serialize()/demo3.html
@@ -1,41 +1,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo7-serialize()/demo4-firebug.html b/Ch6/php/demo7-serialize()/demo4-firebug.html
index 05e5494..a462ad6 100644
--- a/Ch6/php/demo7-serialize()/demo4-firebug.html
+++ b/Ch6/php/demo7-serialize()/demo4-firebug.html
@@ -1,34 +1,34 @@
-
-
-
-
-
-
-
-
-
-
-结果:
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
- 篮球
- 足球
- 乒乓球
- 羽毛球
-
-
-
+
+
+
+
+
+
+
+
+
+
+结果:
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+ 篮球
+ 足球
+ 乒乓球
+ 羽毛球
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo7-serialize()/demo5.html b/Ch6/php/demo7-serialize()/demo5.html
index 0558d7e..1e4b7e4 100644
--- a/Ch6/php/demo7-serialize()/demo5.html
+++ b/Ch6/php/demo7-serialize()/demo5.html
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo7-serialize()/get1.php b/Ch6/php/demo7-serialize()/get1.php
index 4f01c29..ec71c00 100644
--- a/Ch6/php/demo7-serialize()/get1.php
+++ b/Ch6/php/demo7-serialize()/get1.php
@@ -1,4 +1,4 @@
-{$_REQUEST['username']}: {$_REQUEST['content']}
";
-?>
+{$_REQUEST['username']}: {$_REQUEST['content']}
";
+?>
diff --git a/Ch6/php/demo8-AjaxEvent/demo1.html b/Ch6/php/demo8-AjaxEvent/demo1.html
index 9bb9dc0..9f58dc9 100644
--- a/Ch6/php/demo8-AjaxEvent/demo1.html
+++ b/Ch6/php/demo8-AjaxEvent/demo1.html
@@ -1,94 +1,94 @@
-
-
-
-
-
-
-
-
-
-
-
-
-加载中...
-
-
-Demo1:
-
-
-
-
-
-
-Demo2:
-
-
-评论:
- 姓名:
- 内容:
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+加载中...
+
+
+Demo1:
+
+
+
+
+
+
+Demo2:
+
+
+评论:
+ 姓名:
+ 内容:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch6/php/demo8-AjaxEvent/get1.php b/Ch6/php/demo8-AjaxEvent/get1.php
index 4f01c29..ec71c00 100644
--- a/Ch6/php/demo8-AjaxEvent/get1.php
+++ b/Ch6/php/demo8-AjaxEvent/get1.php
@@ -1,4 +1,4 @@
-{$_REQUEST['username']}: {$_REQUEST['content']}
";
-?>
+{$_REQUEST['username']}: {$_REQUEST['content']}
";
+?>
diff --git a/Ch6/php/demo9-chat/demo.xml b/Ch6/php/demo9-chat/demo.xml
index 7b58bb8..2b99b63 100644
--- a/Ch6/php/demo9-chat/demo.xml
+++ b/Ch6/php/demo9-chat/demo.xml
@@ -1,13 +1,13 @@
-
-
- 1
- 1170323512
-
-
- ɳ!
-
-
-
- !
-
+
+
+ 1
+ 1170323512
+
+
+ ɳ!
+
+
+
+ !
+
\ No newline at end of file
diff --git a/Ch6/php/demo9-chat/demo1.html b/Ch6/php/demo9-chat/demo1.html
index 8e18e9f..0a59162 100644
--- a/Ch6/php/demo9-chat/demo1.html
+++ b/Ch6/php/demo9-chat/demo1.html
@@ -1,89 +1,89 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch7/7-1-Validation/7-1-1.html b/Ch7/7-1-Validation/7-1-1.html
index d7f0123..50d2992 100644
--- a/Ch7/7-1-Validation/7-1-1.html
+++ b/Ch7/7-1-Validation/7-1-1.html
@@ -1,50 +1,50 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch7/7-1-Validation/7-1-2.html b/Ch7/7-1-Validation/7-1-2.html
index b4b178d..a2c6df7 100644
--- a/Ch7/7-1-Validation/7-1-2.html
+++ b/Ch7/7-1-Validation/7-1-2.html
@@ -1,52 +1,52 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch7/7-1-Validation/7-1-3.html b/Ch7/7-1-Validation/7-1-3.html
index 690b6b1..5f64d47 100644
--- a/Ch7/7-1-Validation/7-1-3.html
+++ b/Ch7/7-1-Validation/7-1-3.html
@@ -1,66 +1,66 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch7/7-1-Validation/7-1-4.html b/Ch7/7-1-Validation/7-1-4.html
index d30dcb8..0a52286 100644
--- a/Ch7/7-1-Validation/7-1-4.html
+++ b/Ch7/7-1-Validation/7-1-4.html
@@ -1,67 +1,67 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch7/7-1-Validation/7-1-5.html b/Ch7/7-1-Validation/7-1-5.html
index 11ff3b8..c1f1cd8 100644
--- a/Ch7/7-1-Validation/7-1-5.html
+++ b/Ch7/7-1-Validation/7-1-5.html
@@ -1,55 +1,55 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch7/7-1-Validation/7-1-6.html b/Ch7/7-1-Validation/7-1-6.html
index 18e53ae..3ecf7cb 100644
--- a/Ch7/7-1-Validation/7-1-6.html
+++ b/Ch7/7-1-Validation/7-1-6.html
@@ -1,97 +1,97 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch7/7-1-Validation/7-1-7.html b/Ch7/7-1-Validation/7-1-7.html
index 0deede1..45fbb92 100644
--- a/Ch7/7-1-Validation/7-1-7.html
+++ b/Ch7/7-1-Validation/7-1-7.html
@@ -1,114 +1,114 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch7/7-1-Validation/lib/jquery.metadata.js b/Ch7/7-1-Validation/lib/jquery.metadata.js
index ad8bfba..b7fae5b 100644
--- a/Ch7/7-1-Validation/lib/jquery.metadata.js
+++ b/Ch7/7-1-Validation/lib/jquery.metadata.js
@@ -1,122 +1,122 @@
-/*
- * Metadata - jQuery plugin for parsing metadata from elements
- *
- * Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan
- *
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- *
- * Revision: $Id: jquery.metadata.js 4187 2007-12-16 17:15:27Z joern.zaefferer $
- *
- */
-
-/**
- * Sets the type of metadata to use. Metadata is encoded in JSON, and each property
- * in the JSON will become a property of the element itself.
- *
- * There are three supported types of metadata storage:
- *
- * attr: Inside an attribute. The name parameter indicates *which* attribute.
- *
- * class: Inside the class attribute, wrapped in curly braces: { }
- *
- * elem: Inside a child element (e.g. a script tag). The
- * name parameter indicates *which* element.
- *
- * The metadata for an element is loaded the first time the element is accessed via jQuery.
- *
- * As a result, you can define the metadata type, use $(expr) to load the metadata into the elements
- * matched by expr, then redefine the metadata type and run another $(expr) for other elements.
- *
- * @name $.metadata.setType
- *
- * @example This is a p
- * @before $.metadata.setType("class")
- * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
- * @desc Reads metadata from the class attribute
- *
- * @example This is a p
- * @before $.metadata.setType("attr", "data")
- * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
- * @desc Reads metadata from a "data" attribute
- *
- * @example This is a p
- * @before $.metadata.setType("elem", "script")
- * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
- * @desc Reads metadata from a nested script element
- *
- * @param String type The encoding type
- * @param String name The name of the attribute to be used to get metadata (optional)
- * @cat Plugins/Metadata
- * @descr Sets the type of encoding to be used when loading metadata for the first time
- * @type undefined
- * @see metadata()
- */
-
-(function($) {
-
-$.extend({
- metadata : {
- defaults : {
- type: 'class',
- name: 'metadata',
- cre: /({.*})/,
- single: 'metadata'
- },
- setType: function( type, name ){
- this.defaults.type = type;
- this.defaults.name = name;
- },
- get: function( elem, opts ){
- var settings = $.extend({},this.defaults,opts);
- // check for empty string in single property
- if ( !settings.single.length ) settings.single = 'metadata';
-
- var data = $.data(elem, settings.single);
- // returned cached data if it already exists
- if ( data ) return data;
-
- data = "{}";
-
- if ( settings.type == "class" ) {
- var m = settings.cre.exec( elem.className );
- if ( m )
- data = m[1];
- } else if ( settings.type == "elem" ) {
- if( !elem.getElementsByTagName )
- return undefined;
- var e = elem.getElementsByTagName(settings.name);
- if ( e.length )
- data = $.trim(e[0].innerHTML);
- } else if ( elem.getAttribute != undefined ) {
- var attr = elem.getAttribute( settings.name );
- if ( attr )
- data = attr;
- }
-
- if ( data.indexOf( '{' ) <0 )
- data = "{" + data + "}";
-
- data = eval("(" + data + ")");
-
- $.data( elem, settings.single, data );
- return data;
- }
- }
-});
-
-/**
- * Returns the metadata object for the first member of the jQuery object.
- *
- * @name metadata
- * @descr Returns element's metadata object
- * @param Object opts An object contianing settings to override the defaults
- * @type jQuery
- * @cat Plugins/Metadata
- */
-$.fn.metadata = function( opts ){
- return $.metadata.get( this[0], opts );
-};
-
+/*
+ * Metadata - jQuery plugin for parsing metadata from elements
+ *
+ * Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * Revision: $Id: jquery.metadata.js 4187 2007-12-16 17:15:27Z joern.zaefferer $
+ *
+ */
+
+/**
+ * Sets the type of metadata to use. Metadata is encoded in JSON, and each property
+ * in the JSON will become a property of the element itself.
+ *
+ * There are three supported types of metadata storage:
+ *
+ * attr: Inside an attribute. The name parameter indicates *which* attribute.
+ *
+ * class: Inside the class attribute, wrapped in curly braces: { }
+ *
+ * elem: Inside a child element (e.g. a script tag). The
+ * name parameter indicates *which* element.
+ *
+ * The metadata for an element is loaded the first time the element is accessed via jQuery.
+ *
+ * As a result, you can define the metadata type, use $(expr) to load the metadata into the elements
+ * matched by expr, then redefine the metadata type and run another $(expr) for other elements.
+ *
+ * @name $.metadata.setType
+ *
+ * @example This is a p
+ * @before $.metadata.setType("class")
+ * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
+ * @desc Reads metadata from the class attribute
+ *
+ * @example This is a p
+ * @before $.metadata.setType("attr", "data")
+ * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
+ * @desc Reads metadata from a "data" attribute
+ *
+ * @example This is a p
+ * @before $.metadata.setType("elem", "script")
+ * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
+ * @desc Reads metadata from a nested script element
+ *
+ * @param String type The encoding type
+ * @param String name The name of the attribute to be used to get metadata (optional)
+ * @cat Plugins/Metadata
+ * @descr Sets the type of encoding to be used when loading metadata for the first time
+ * @type undefined
+ * @see metadata()
+ */
+
+(function($) {
+
+$.extend({
+ metadata : {
+ defaults : {
+ type: 'class',
+ name: 'metadata',
+ cre: /({.*})/,
+ single: 'metadata'
+ },
+ setType: function( type, name ){
+ this.defaults.type = type;
+ this.defaults.name = name;
+ },
+ get: function( elem, opts ){
+ var settings = $.extend({},this.defaults,opts);
+ // check for empty string in single property
+ if ( !settings.single.length ) settings.single = 'metadata';
+
+ var data = $.data(elem, settings.single);
+ // returned cached data if it already exists
+ if ( data ) return data;
+
+ data = "{}";
+
+ if ( settings.type == "class" ) {
+ var m = settings.cre.exec( elem.className );
+ if ( m )
+ data = m[1];
+ } else if ( settings.type == "elem" ) {
+ if( !elem.getElementsByTagName )
+ return undefined;
+ var e = elem.getElementsByTagName(settings.name);
+ if ( e.length )
+ data = $.trim(e[0].innerHTML);
+ } else if ( elem.getAttribute != undefined ) {
+ var attr = elem.getAttribute( settings.name );
+ if ( attr )
+ data = attr;
+ }
+
+ if ( data.indexOf( '{' ) <0 )
+ data = "{" + data + "}";
+
+ data = eval("(" + data + ")");
+
+ $.data( elem, settings.single, data );
+ return data;
+ }
+ }
+});
+
+/**
+ * Returns the metadata object for the first member of the jQuery object.
+ *
+ * @name metadata
+ * @descr Returns element's metadata object
+ * @param Object opts An object contianing settings to override the defaults
+ * @type jQuery
+ * @cat Plugins/Metadata
+ */
+$.fn.metadata = function( opts ){
+ return $.metadata.get( this[0], opts );
+};
+
})(jQuery);
\ No newline at end of file
diff --git a/Ch7/7-1-Validation/lib/jquery.validate.messages_cn.js b/Ch7/7-1-Validation/lib/jquery.validate.messages_cn.js
index 537848b..2ac5c83 100644
--- a/Ch7/7-1-Validation/lib/jquery.validate.messages_cn.js
+++ b/Ch7/7-1-Validation/lib/jquery.validate.messages_cn.js
@@ -1,24 +1,24 @@
-/*
- * Translated default messages for the jQuery validation plugin.
- * Language: CN
- * Author: Fayland Lam
- */
-jQuery.extend(jQuery.validator.messages, {
- required: "必选字段",
- remote: "请修正该字段",
- email: "请输入正确格式的电子邮件",
- url: "请输入合法的网址",
- date: "请输入合法的日期",
- dateISO: "请输入合法的日期 (ISO).",
- number: "请输入合法的数字",
- digits: "只能输入整数",
- creditcard: "请输入合法的信用卡号",
- equalTo: "请再次输入相同的值",
- accept: "请输入拥有合法后缀名的字符串",
- maxlength: jQuery.format("请输入一个长度最多是 {0} 的字符串"),
- minlength: jQuery.format("请输入一个长度最少是 {0} 的字符串"),
- rangelength: jQuery.format("请输入一个长度介于 {0} 和 {1} 之间的字符串"),
- range: jQuery.format("请输入一个介于 {0} 和 {1} 之间的值"),
- max: jQuery.format("请输入一个最大为 {0} 的值"),
- min: jQuery.format("请输入一个最小为 {0} 的值")
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Language: CN
+ * Author: Fayland Lam
+ */
+jQuery.extend(jQuery.validator.messages, {
+ required: "必选字段",
+ remote: "请修正该字段",
+ email: "请输入正确格式的电子邮件",
+ url: "请输入合法的网址",
+ date: "请输入合法的日期",
+ dateISO: "请输入合法的日期 (ISO).",
+ number: "请输入合法的数字",
+ digits: "只能输入整数",
+ creditcard: "请输入合法的信用卡号",
+ equalTo: "请再次输入相同的值",
+ accept: "请输入拥有合法后缀名的字符串",
+ maxlength: jQuery.format("请输入一个长度最多是 {0} 的字符串"),
+ minlength: jQuery.format("请输入一个长度最少是 {0} 的字符串"),
+ rangelength: jQuery.format("请输入一个长度介于 {0} 和 {1} 之间的字符串"),
+ range: jQuery.format("请输入一个介于 {0} 和 {1} 之间的值"),
+ max: jQuery.format("请输入一个最大为 {0} 的值"),
+ min: jQuery.format("请输入一个最小为 {0} 的值")
});
\ No newline at end of file
diff --git a/Ch7/7-2-Form/ajax2.php b/Ch7/7-2-Form/ajax2.php
new file mode 100644
index 0000000..e1129c7
--- /dev/null
+++ b/Ch7/7-2-Form/ajax2.php
@@ -0,0 +1,4 @@
+{$_REQUEST['name']},{$_REQUEST['address']},{$_REQUEST['comment']}";
+?>
\ No newline at end of file
diff --git a/Ch7/7-2-Form/demo.php b/Ch7/7-2-Form/demo.php
new file mode 100644
index 0000000..074e866
--- /dev/null
+++ b/Ch7/7-2-Form/demo.php
@@ -0,0 +1,4 @@
+{$_REQUEST['name']}";
+?>
diff --git a/Ch7/7-2-Form/demo1.html b/Ch7/7-2-Form/demo1.html
new file mode 100644
index 0000000..4c68537
--- /dev/null
+++ b/Ch7/7-2-Form/demo1.html
@@ -0,0 +1,27 @@
+
+
+
+ demo1.html
+
+
+
+
+
+
+
+ Demo 1 : form插件的使用--ajaxForm().
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
diff --git a/Ch7/7-2-Form/demo2.html b/Ch7/7-2-Form/demo2.html
new file mode 100644
index 0000000..15eda74
--- /dev/null
+++ b/Ch7/7-2-Form/demo2.html
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+ Demo 2 : form插件的使用---ajaxSubmit().
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
diff --git a/Ch7/7-2-Form/demo3.html b/Ch7/7-2-Form/demo3.html
new file mode 100644
index 0000000..cbf9246
--- /dev/null
+++ b/Ch7/7-2-Form/demo3.html
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+ Demo 3 : form插件的使用--formSerialize()组装表单数据,用于jQuery中的.ajax().
+
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
+
+
+
+ 名称:
+ 地址:
+ 自我介绍:
+ 单选:男
+ 女
+
+
+
+
+
+ (提示:发现单选框以前选中的,也被清除了,跟重置有点区别!)
+
+
+
+
diff --git a/Ch7/7-2-Form/demo4.html b/Ch7/7-2-Form/demo4.html
new file mode 100644
index 0000000..22122c0
--- /dev/null
+++ b/Ch7/7-2-Form/demo4.html
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+ Demo 4 : form插件的使用--ajaxForm()和ajaxSubmit().
+
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
+
+
diff --git a/Ch7/7-2-Form/demo5.html b/Ch7/7-2-Form/demo5.html
new file mode 100644
index 0000000..44329ef
--- /dev/null
+++ b/Ch7/7-2-Form/demo5.html
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+ Demo 5 : form插件的使用--验证后提交(简单验证).
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
+
diff --git a/Ch7/7-2-Form/demo6.html b/Ch7/7-2-Form/demo6.html
new file mode 100644
index 0000000..7b3ec09
--- /dev/null
+++ b/Ch7/7-2-Form/demo6.html
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+ Demo 6 : form插件的使用--验证后提交.
+
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
+
+
diff --git a/Ch7/7-2-Form/demo7.html b/Ch7/7-2-Form/demo7.html
new file mode 100644
index 0000000..ce0f68d
--- /dev/null
+++ b/Ch7/7-2-Form/demo7.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+ Demo 7 : form插件的使用--验证后提交.
+
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
+
+
diff --git a/Ch7/7-2-Form/demo8.html b/Ch7/7-2-Form/demo8.html
new file mode 100644
index 0000000..6ffeba7
--- /dev/null
+++ b/Ch7/7-2-Form/demo8.html
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+ Demo 8 : form插件的使用--dataType的其他方式.
+
+json方式返回
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
+xml方式返回
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
+html方式返回
+
+ 名称:
+ 地址:
+ 自我介绍:
+
+
+
+
+
diff --git a/Ch7/7-2-Form/html.php b/Ch7/7-2-Form/html.php
new file mode 100644
index 0000000..04cf0e7
--- /dev/null
+++ b/Ch7/7-2-Form/html.php
@@ -0,0 +1,4 @@
+{$_REQUEST['htmlname']},{$_REQUEST['htmladdress']},{$_REQUEST['htmlcomment']}";
+?>
\ No newline at end of file
diff --git a/Ch7/7-2-Form/index.html b/Ch7/7-2-Form/index.html
new file mode 100644
index 0000000..e15da9e
--- /dev/null
+++ b/Ch7/7-2-Form/index.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+ jQuery Form插件例子
+ demo1.html
+ demo2.html
+ demo3.html
+ demo4.html
+ demo5.html
+ demo6.html
+ demo7.html
+ demo8.html
+
+
diff --git a/Ch7/7-2-Form/json.php b/Ch7/7-2-Form/json.php
new file mode 100644
index 0000000..1048bca
--- /dev/null
+++ b/Ch7/7-2-Form/json.php
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/Ch7/7-2-Form/lib/jquery.form.js b/Ch7/7-2-Form/lib/jquery.form.js
new file mode 100644
index 0000000..b96260d
--- /dev/null
+++ b/Ch7/7-2-Form/lib/jquery.form.js
@@ -0,0 +1,980 @@
+/*!
+ * jQuery Form Plugin
+ * version: 2.95 (30-JAN-2012)
+ * @requires jQuery v1.3.2 or later
+ *
+ * Examples and documentation at: http://malsup.com/jquery/form/
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+ */
+;(function($) {
+
+/*
+ Usage Note:
+ -----------
+ Do not use both ajaxSubmit and ajaxForm on the same form. These
+ functions are intended to be exclusive. Use ajaxSubmit if you want
+ to bind your own submit handler to the form. For example,
+
+ $(document).ready(function() {
+ $('#myForm').bind('submit', function(e) {
+ e.preventDefault(); // <-- important
+ $(this).ajaxSubmit({
+ target: '#output'
+ });
+ });
+ });
+
+ Use ajaxForm when you want the plugin to manage all the event binding
+ for you. For example,
+
+ $(document).ready(function() {
+ $('#myForm').ajaxForm({
+ target: '#output'
+ });
+ });
+
+ When using ajaxForm, the ajaxSubmit function will be invoked for you
+ at the appropriate time.
+*/
+
+/**
+ * ajaxSubmit() provides a mechanism for immediately submitting
+ * an HTML form using AJAX.
+ */
+$.fn.ajaxSubmit = function(options) {
+ // fast fail if nothing selected (http://dev.jquery.com/ticket/2752)
+ if (!this.length) {
+ log('ajaxSubmit: skipping submit process - no element selected');
+ return this;
+ }
+
+ var method, action, url, $form = this;
+
+ if (typeof options == 'function') {
+ options = { success: options };
+ }
+
+ method = this.attr('method');
+ action = this.attr('action');
+ url = (typeof action === 'string') ? $.trim(action) : '';
+ url = url || window.location.href || '';
+ if (url) {
+ // clean url (don't include hash vaue)
+ url = (url.match(/^([^#]+)/)||[])[1];
+ }
+
+ options = $.extend(true, {
+ url: url,
+ success: $.ajaxSettings.success,
+ type: method || 'GET',
+ iframeSrc: /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank'
+ }, options);
+
+ // hook for manipulating the form data before it is extracted;
+ // convenient for use with rich editors like tinyMCE or FCKEditor
+ var veto = {};
+ this.trigger('form-pre-serialize', [this, options, veto]);
+ if (veto.veto) {
+ log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');
+ return this;
+ }
+
+ // provide opportunity to alter form data before it is serialized
+ if (options.beforeSerialize && options.beforeSerialize(this, options) === false) {
+ log('ajaxSubmit: submit aborted via beforeSerialize callback');
+ return this;
+ }
+
+ var traditional = options.traditional;
+ if ( traditional === undefined ) {
+ traditional = $.ajaxSettings.traditional;
+ }
+
+ var qx,n,v,a = this.formToArray(options.semantic);
+ if (options.data) {
+ options.extraData = options.data;
+ qx = $.param(options.data, traditional);
+ }
+
+ // give pre-submit callback an opportunity to abort the submit
+ if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) {
+ log('ajaxSubmit: submit aborted via beforeSubmit callback');
+ return this;
+ }
+
+ // fire vetoable 'validate' event
+ this.trigger('form-submit-validate', [a, this, options, veto]);
+ if (veto.veto) {
+ log('ajaxSubmit: submit vetoed via form-submit-validate trigger');
+ return this;
+ }
+
+ var q = $.param(a, traditional);
+ if (qx) {
+ q = ( q ? (q + '&' + qx) : qx );
+ }
+ if (options.type.toUpperCase() == 'GET') {
+ options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q;
+ options.data = null; // data is null for 'get'
+ }
+ else {
+ options.data = q; // data is the query string for 'post'
+ }
+
+ var callbacks = [];
+ if (options.resetForm) {
+ callbacks.push(function() { $form.resetForm(); });
+ }
+ if (options.clearForm) {
+ callbacks.push(function() { $form.clearForm(options.includeHidden); });
+ }
+
+ // perform a load on the target only if dataType is not provided
+ if (!options.dataType && options.target) {
+ var oldSuccess = options.success || function(){};
+ callbacks.push(function(data) {
+ var fn = options.replaceTarget ? 'replaceWith' : 'html';
+ $(options.target)[fn](data).each(oldSuccess, arguments);
+ });
+ }
+ else if (options.success) {
+ callbacks.push(options.success);
+ }
+
+ options.success = function(data, status, xhr) { // jQuery 1.4+ passes xhr as 3rd arg
+ var context = options.context || options; // jQuery 1.4+ supports scope context
+ for (var i=0, max=callbacks.length; i < max; i++) {
+ callbacks[i].apply(context, [data, status, xhr || $form, $form]);
+ }
+ };
+
+ // are there files to upload?
+ var fileInputs = $('input:file:enabled[value]', this); // [value] (issue #113)
+ var hasFileInputs = fileInputs.length > 0;
+ var mp = 'multipart/form-data';
+ var multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp);
+
+ var fileAPI = !!(hasFileInputs && fileInputs.get(0).files && window.FormData);
+ log("fileAPI :" + fileAPI);
+ var shouldUseFrame = (hasFileInputs || multipart) && !fileAPI;
+
+ // options.iframe allows user to force iframe mode
+ // 06-NOV-09: now defaulting to iframe mode if file input is detected
+ if (options.iframe !== false && (options.iframe || shouldUseFrame)) {
+ // hack to fix Safari hang (thanks to Tim Molendijk for this)
+ // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d
+ if (options.closeKeepAlive) {
+ $.get(options.closeKeepAlive, function() {
+ fileUploadIframe(a);
+ });
+ }
+ else {
+ fileUploadIframe(a);
+ }
+ }
+ else if ((hasFileInputs || multipart) && fileAPI) {
+ options.progress = options.progress || $.noop;
+ fileUploadXhr(a);
+ }
+ else {
+ $.ajax(options);
+ }
+
+ // fire 'notify' event
+ this.trigger('form-submit-notify', [this, options]);
+ return this;
+
+ // XMLHttpRequest Level 2 file uploads (big hat tip to francois2metz)
+ function fileUploadXhr(a) {
+ var formdata = new FormData();
+
+ for (var i=0; i < a.length; i++) {
+ if (a[i].type == 'file')
+ continue;
+ formdata.append(a[i].name, a[i].value);
+ }
+
+ $form.find('input:file:enabled').each(function(){
+ var name = $(this).attr('name'), files = this.files;
+ if (name) {
+ for (var i=0; i < files.length; i++)
+ formdata.append(name, files[i]);
+ }
+ });
+
+ if (options.extraData) {
+ for (var k in options.extraData)
+ formdata.append(k, options.extraData[k])
+ }
+
+ options.data = null;
+
+ var s = $.extend(true, {}, $.ajaxSettings, options, {
+ contentType: false,
+ processData: false,
+ cache: false,
+ type: 'POST'
+ });
+
+ //s.context = s.context || s;
+
+ s.data = null;
+ var beforeSend = s.beforeSend;
+ s.beforeSend = function(xhr, o) {
+ o.data = formdata;
+ if(xhr.upload) { // unfortunately, jQuery doesn't expose this prop (http://bugs.jquery.com/ticket/10190)
+ xhr.upload.onprogress = function(event) {
+ o.progress(event.position, event.total);
+ };
+ }
+ if(beforeSend)
+ beforeSend.call(o, xhr, options);
+ };
+ $.ajax(s);
+ }
+
+ // private function for handling file uploads (hat tip to YAHOO!)
+ function fileUploadIframe(a) {
+ var form = $form[0], el, i, s, g, id, $io, io, xhr, sub, n, timedOut, timeoutHandle;
+ var useProp = !!$.fn.prop;
+
+ if (a) {
+ if ( useProp ) {
+ // ensure that every serialized input is still enabled
+ for (i=0; i < a.length; i++) {
+ el = $(form[a[i].name]);
+ el.prop('disabled', false);
+ }
+ } else {
+ for (i=0; i < a.length; i++) {
+ el = $(form[a[i].name]);
+ el.removeAttr('disabled');
+ }
+ };
+ }
+
+ if ($(':input[name=submit],:input[id=submit]', form).length) {
+ // if there is an input with a name or id of 'submit' then we won't be
+ // able to invoke the submit fn on the form (at least not x-browser)
+ alert('Error: Form elements must not have name or id of "submit".');
+ return;
+ }
+
+ s = $.extend(true, {}, $.ajaxSettings, options);
+ s.context = s.context || s;
+ id = 'jqFormIO' + (new Date().getTime());
+ if (s.iframeTarget) {
+ $io = $(s.iframeTarget);
+ n = $io.attr('name');
+ if (n == null)
+ $io.attr('name', id);
+ else
+ id = n;
+ }
+ else {
+ $io = $('');
+ $io.css({ position: 'absolute', top: '-1000px', left: '-1000px' });
+ }
+ io = $io[0];
+
+
+ xhr = { // mock object
+ aborted: 0,
+ responseText: null,
+ responseXML: null,
+ status: 0,
+ statusText: 'n/a',
+ getAllResponseHeaders: function() {},
+ getResponseHeader: function() {},
+ setRequestHeader: function() {},
+ abort: function(status) {
+ var e = (status === 'timeout' ? 'timeout' : 'aborted');
+ log('aborting upload... ' + e);
+ this.aborted = 1;
+ $io.attr('src', s.iframeSrc); // abort op in progress
+ xhr.error = e;
+ s.error && s.error.call(s.context, xhr, e, status);
+ g && $.event.trigger("ajaxError", [xhr, s, e]);
+ s.complete && s.complete.call(s.context, xhr, e);
+ }
+ };
+
+ g = s.global;
+ // trigger ajax global events so that activity/block indicators work like normal
+ if (g && ! $.active++) {
+ $.event.trigger("ajaxStart");
+ }
+ if (g) {
+ $.event.trigger("ajaxSend", [xhr, s]);
+ }
+
+ if (s.beforeSend && s.beforeSend.call(s.context, xhr, s) === false) {
+ if (s.global) {
+ $.active--;
+ }
+ return;
+ }
+ if (xhr.aborted) {
+ return;
+ }
+
+ // add submitting element to data if we know it
+ sub = form.clk;
+ if (sub) {
+ n = sub.name;
+ if (n && !sub.disabled) {
+ s.extraData = s.extraData || {};
+ s.extraData[n] = sub.value;
+ if (sub.type == "image") {
+ s.extraData[n+'.x'] = form.clk_x;
+ s.extraData[n+'.y'] = form.clk_y;
+ }
+ }
+ }
+
+ var CLIENT_TIMEOUT_ABORT = 1;
+ var SERVER_ABORT = 2;
+
+ function getDoc(frame) {
+ var doc = frame.contentWindow ? frame.contentWindow.document : frame.contentDocument ? frame.contentDocument : frame.document;
+ return doc;
+ }
+
+ // Rails CSRF hack (thanks to Yvan Barthelemy)
+ var csrf_token = $('meta[name=csrf-token]').attr('content');
+ var csrf_param = $('meta[name=csrf-param]').attr('content');
+ if (csrf_param && csrf_token) {
+ s.extraData = s.extraData || {};
+ s.extraData[csrf_param] = csrf_token;
+ }
+
+ // take a breath so that pending repaints get some cpu time before the upload starts
+ function doSubmit() {
+ // make sure form attrs are set
+ var t = $form.attr('target'), a = $form.attr('action');
+
+ // update form attrs in IE friendly way
+ form.setAttribute('target',id);
+ if (!method) {
+ form.setAttribute('method', 'POST');
+ }
+ if (a != s.url) {
+ form.setAttribute('action', s.url);
+ }
+
+ // ie borks in some cases when setting encoding
+ if (! s.skipEncodingOverride && (!method || /post/i.test(method))) {
+ $form.attr({
+ encoding: 'multipart/form-data',
+ enctype: 'multipart/form-data'
+ });
+ }
+
+ // support timout
+ if (s.timeout) {
+ timeoutHandle = setTimeout(function() { timedOut = true; cb(CLIENT_TIMEOUT_ABORT); }, s.timeout);
+ }
+
+ // look for server aborts
+ function checkState() {
+ try {
+ var state = getDoc(io).readyState;
+ log('state = ' + state);
+ if (state.toLowerCase() == 'uninitialized')
+ setTimeout(checkState,50);
+ }
+ catch(e) {
+ log('Server abort: ' , e, ' (', e.name, ')');
+ cb(SERVER_ABORT);
+ timeoutHandle && clearTimeout(timeoutHandle);
+ timeoutHandle = undefined;
+ }
+ }
+
+ // add "extra" data to form if provided in options
+ var extraInputs = [];
+ try {
+ if (s.extraData) {
+ for (var n in s.extraData) {
+ extraInputs.push(
+ $(' ').attr('value',s.extraData[n])
+ .appendTo(form)[0]);
+ }
+ }
+
+ if (!s.iframeTarget) {
+ // add iframe to doc and submit the form
+ $io.appendTo('body');
+ io.attachEvent ? io.attachEvent('onload', cb) : io.addEventListener('load', cb, false);
+ }
+ setTimeout(checkState,15);
+ form.submit();
+ }
+ finally {
+ // reset attrs and remove "extra" input elements
+ form.setAttribute('action',a);
+ if(t) {
+ form.setAttribute('target', t);
+ } else {
+ $form.removeAttr('target');
+ }
+ $(extraInputs).remove();
+ }
+ }
+
+ if (s.forceSync) {
+ doSubmit();
+ }
+ else {
+ setTimeout(doSubmit, 10); // this lets dom updates render
+ }
+
+ var data, doc, domCheckCount = 50, callbackProcessed;
+
+ function cb(e) {
+ if (xhr.aborted || callbackProcessed) {
+ return;
+ }
+ try {
+ doc = getDoc(io);
+ }
+ catch(ex) {
+ log('cannot access response document: ', ex);
+ e = SERVER_ABORT;
+ }
+ if (e === CLIENT_TIMEOUT_ABORT && xhr) {
+ xhr.abort('timeout');
+ return;
+ }
+ else if (e == SERVER_ABORT && xhr) {
+ xhr.abort('server abort');
+ return;
+ }
+
+ if (!doc || doc.location.href == s.iframeSrc) {
+ // response not received yet
+ if (!timedOut)
+ return;
+ }
+ io.detachEvent ? io.detachEvent('onload', cb) : io.removeEventListener('load', cb, false);
+
+ var status = 'success', errMsg;
+ try {
+ if (timedOut) {
+ throw 'timeout';
+ }
+
+ var isXml = s.dataType == 'xml' || doc.XMLDocument || $.isXMLDoc(doc);
+ log('isXml='+isXml);
+ if (!isXml && window.opera && (doc.body == null || doc.body.innerHTML == '')) {
+ if (--domCheckCount) {
+ // in some browsers (Opera) the iframe DOM is not always traversable when
+ // the onload callback fires, so we loop a bit to accommodate
+ log('requeing onLoad callback, DOM not available');
+ setTimeout(cb, 250);
+ return;
+ }
+ // let this fall through because server response could be an empty document
+ //log('Could not access iframe DOM after mutiple tries.');
+ //throw 'DOMException: not available';
+ }
+
+ //log('response detected');
+ var docRoot = doc.body ? doc.body : doc.documentElement;
+ xhr.responseText = docRoot ? docRoot.innerHTML : null;
+ xhr.responseXML = doc.XMLDocument ? doc.XMLDocument : doc;
+ if (isXml)
+ s.dataType = 'xml';
+ xhr.getResponseHeader = function(header){
+ var headers = {'content-type': s.dataType};
+ return headers[header];
+ };
+ // support for XHR 'status' & 'statusText' emulation :
+ if (docRoot) {
+ xhr.status = Number( docRoot.getAttribute('status') ) || xhr.status;
+ xhr.statusText = docRoot.getAttribute('statusText') || xhr.statusText;
+ }
+
+ var dt = (s.dataType || '').toLowerCase();
+ var scr = /(json|script|text)/.test(dt);
+ if (scr || s.textarea) {
+ // see if user embedded response in textarea
+ var ta = doc.getElementsByTagName('textarea')[0];
+ if (ta) {
+ xhr.responseText = ta.value;
+ // support for XHR 'status' & 'statusText' emulation :
+ xhr.status = Number( ta.getAttribute('status') ) || xhr.status;
+ xhr.statusText = ta.getAttribute('statusText') || xhr.statusText;
+ }
+ else if (scr) {
+ // account for browsers injecting pre around json response
+ var pre = doc.getElementsByTagName('pre')[0];
+ var b = doc.getElementsByTagName('body')[0];
+ if (pre) {
+ xhr.responseText = pre.textContent ? pre.textContent : pre.innerText;
+ }
+ else if (b) {
+ xhr.responseText = b.textContent ? b.textContent : b.innerText;
+ }
+ }
+ }
+ else if (dt == 'xml' && !xhr.responseXML && xhr.responseText != null) {
+ xhr.responseXML = toXml(xhr.responseText);
+ }
+
+ try {
+ data = httpData(xhr, dt, s);
+ }
+ catch (e) {
+ status = 'parsererror';
+ xhr.error = errMsg = (e || status);
+ }
+ }
+ catch (e) {
+ log('error caught: ',e);
+ status = 'error';
+ xhr.error = errMsg = (e || status);
+ }
+
+ if (xhr.aborted) {
+ log('upload aborted');
+ status = null;
+ }
+
+ if (xhr.status) { // we've set xhr.status
+ status = (xhr.status >= 200 && xhr.status < 300 || xhr.status === 304) ? 'success' : 'error';
+ }
+
+ // ordering of these callbacks/triggers is odd, but that's how $.ajax does it
+ if (status === 'success') {
+ s.success && s.success.call(s.context, data, 'success', xhr);
+ g && $.event.trigger("ajaxSuccess", [xhr, s]);
+ }
+ else if (status) {
+ if (errMsg == undefined)
+ errMsg = xhr.statusText;
+ s.error && s.error.call(s.context, xhr, status, errMsg);
+ g && $.event.trigger("ajaxError", [xhr, s, errMsg]);
+ }
+
+ g && $.event.trigger("ajaxComplete", [xhr, s]);
+
+ if (g && ! --$.active) {
+ $.event.trigger("ajaxStop");
+ }
+
+ s.complete && s.complete.call(s.context, xhr, status);
+
+ callbackProcessed = true;
+ if (s.timeout)
+ clearTimeout(timeoutHandle);
+
+ // clean up
+ setTimeout(function() {
+ if (!s.iframeTarget)
+ $io.remove();
+ xhr.responseXML = null;
+ }, 100);
+ }
+
+ var toXml = $.parseXML || function(s, doc) { // use parseXML if available (jQuery 1.5+)
+ if (window.ActiveXObject) {
+ doc = new ActiveXObject('Microsoft.XMLDOM');
+ doc.async = 'false';
+ doc.loadXML(s);
+ }
+ else {
+ doc = (new DOMParser()).parseFromString(s, 'text/xml');
+ }
+ return (doc && doc.documentElement && doc.documentElement.nodeName != 'parsererror') ? doc : null;
+ };
+ var parseJSON = $.parseJSON || function(s) {
+ return window['eval']('(' + s + ')');
+ };
+
+ var httpData = function( xhr, type, s ) { // mostly lifted from jq1.4.4
+
+ var ct = xhr.getResponseHeader('content-type') || '',
+ xml = type === 'xml' || !type && ct.indexOf('xml') >= 0,
+ data = xml ? xhr.responseXML : xhr.responseText;
+
+ if (xml && data.documentElement.nodeName === 'parsererror') {
+ $.error && $.error('parsererror');
+ }
+ if (s && s.dataFilter) {
+ data = s.dataFilter(data, type);
+ }
+ if (typeof data === 'string') {
+ if (type === 'json' || !type && ct.indexOf('json') >= 0) {
+ data = parseJSON(data);
+ } else if (type === "script" || !type && ct.indexOf("javascript") >= 0) {
+ $.globalEval(data);
+ }
+ }
+ return data;
+ };
+ }
+};
+
+/**
+ * ajaxForm() provides a mechanism for fully automating form submission.
+ *
+ * The advantages of using this method instead of ajaxSubmit() are:
+ *
+ * 1: This method will include coordinates for elements (if the element
+ * is used to submit the form).
+ * 2. This method will include the submit element's name/value data (for the element that was
+ * used to submit the form).
+ * 3. This method binds the submit() method to the form for you.
+ *
+ * The options argument for ajaxForm works exactly as it does for ajaxSubmit. ajaxForm merely
+ * passes the options argument along after properly binding events for submit elements and
+ * the form itself.
+ */
+$.fn.ajaxForm = function(options) {
+ // in jQuery 1.3+ we can fix mistakes with the ready state
+ if (this.length === 0) {
+ var o = { s: this.selector, c: this.context };
+ if (!$.isReady && o.s) {
+ log('DOM not ready, queuing ajaxForm');
+ $(function() {
+ $(o.s,o.c).ajaxForm(options);
+ });
+ return this;
+ }
+ // is your DOM ready? http://docs.jquery.com/Tutorials:Introducing_$(document).ready()
+ log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)'));
+ return this;
+ }
+
+ return this.ajaxFormUnbind().bind('submit.form-plugin', function(e) {
+ if (!e.isDefaultPrevented()) { // if event has been canceled, don't proceed
+ e.preventDefault();
+ $(this).ajaxSubmit(options);
+ }
+ }).bind('click.form-plugin', function(e) {
+ var target = e.target;
+ var $el = $(target);
+ if (!($el.is(":submit,input:image"))) {
+ // is this a child element of the submit el? (ex: a span within a button)
+ var t = $el.closest(':submit');
+ if (t.length == 0) {
+ return;
+ }
+ target = t[0];
+ }
+ var form = this;
+ form.clk = target;
+ if (target.type == 'image') {
+ if (e.offsetX != undefined) {
+ form.clk_x = e.offsetX;
+ form.clk_y = e.offsetY;
+ } else if (typeof $.fn.offset == 'function') { // try to use dimensions plugin
+ var offset = $el.offset();
+ form.clk_x = e.pageX - offset.left;
+ form.clk_y = e.pageY - offset.top;
+ } else {
+ form.clk_x = e.pageX - target.offsetLeft;
+ form.clk_y = e.pageY - target.offsetTop;
+ }
+ }
+ // clear form vars
+ setTimeout(function() { form.clk = form.clk_x = form.clk_y = null; }, 100);
+ });
+};
+
+// ajaxFormUnbind unbinds the event handlers that were bound by ajaxForm
+$.fn.ajaxFormUnbind = function() {
+ return this.unbind('submit.form-plugin click.form-plugin');
+};
+
+/**
+ * formToArray() gathers form element data into an array of objects that can
+ * be passed to any of the following ajax functions: $.get, $.post, or load.
+ * Each object in the array has both a 'name' and 'value' property. An example of
+ * an array for a simple login form might be:
+ *
+ * [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ]
+ *
+ * It is this array that is passed to pre-submit callback functions provided to the
+ * ajaxSubmit() and ajaxForm() methods.
+ */
+$.fn.formToArray = function(semantic) {
+ var a = [];
+ if (this.length === 0) {
+ return a;
+ }
+
+ var form = this[0];
+ var els = semantic ? form.getElementsByTagName('*') : form.elements;
+ if (!els) {
+ return a;
+ }
+
+ var i,j,n,v,el,max,jmax;
+ for(i=0, max=els.length; i < max; i++) {
+ el = els[i];
+ n = el.name;
+ if (!n) {
+ continue;
+ }
+
+ if (semantic && form.clk && el.type == "image") {
+ // handle image inputs on the fly when semantic == true
+ if(!el.disabled && form.clk == el) {
+ a.push({name: n, value: $(el).val(), type: el.type });
+ a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
+ }
+ continue;
+ }
+
+ v = $.fieldValue(el, true);
+ if (v && v.constructor == Array) {
+ for(j=0, jmax=v.length; j < jmax; j++) {
+ a.push({name: n, value: v[j]});
+ }
+ }
+ else if (v !== null && typeof v != 'undefined') {
+ a.push({name: n, value: v, type: el.type});
+ }
+ }
+
+ if (!semantic && form.clk) {
+ // input type=='image' are not found in elements array! handle it here
+ var $input = $(form.clk), input = $input[0];
+ n = input.name;
+ if (n && !input.disabled && input.type == 'image') {
+ a.push({name: n, value: $input.val()});
+ a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
+ }
+ }
+ return a;
+};
+
+/**
+ * Serializes form data into a 'submittable' string. This method will return a string
+ * in the format: name1=value1&name2=value2
+ */
+$.fn.formSerialize = function(semantic) {
+ //hand off to jQuery.param for proper encoding
+ return $.param(this.formToArray(semantic));
+};
+
+/**
+ * Serializes all field elements in the jQuery object into a query string.
+ * This method will return a string in the format: name1=value1&name2=value2
+ */
+$.fn.fieldSerialize = function(successful) {
+ var a = [];
+ this.each(function() {
+ var n = this.name;
+ if (!n) {
+ return;
+ }
+ var v = $.fieldValue(this, successful);
+ if (v && v.constructor == Array) {
+ for (var i=0,max=v.length; i < max; i++) {
+ a.push({name: n, value: v[i]});
+ }
+ }
+ else if (v !== null && typeof v != 'undefined') {
+ a.push({name: this.name, value: v});
+ }
+ });
+ //hand off to jQuery.param for proper encoding
+ return $.param(a);
+};
+
+/**
+ * Returns the value(s) of the element in the matched set. For example, consider the following form:
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ * var v = $(':text').fieldValue();
+ * // if no values are entered into the text inputs
+ * v == ['','']
+ * // if values entered into the text inputs are 'foo' and 'bar'
+ * v == ['foo','bar']
+ *
+ * var v = $(':checkbox').fieldValue();
+ * // if neither checkbox is checked
+ * v === undefined
+ * // if both checkboxes are checked
+ * v == ['B1', 'B2']
+ *
+ * var v = $(':radio').fieldValue();
+ * // if neither radio is checked
+ * v === undefined
+ * // if first radio is checked
+ * v == ['C1']
+ *
+ * The successful argument controls whether or not the field element must be 'successful'
+ * (per http://www.w3.org/TR/html4/interact/forms.html#successful-controls).
+ * The default value of the successful argument is true. If this value is false the value(s)
+ * for each element is returned.
+ *
+ * Note: This method *always* returns an array. If no valid value can be determined the
+ * array will be empty, otherwise it will contain one or more values.
+ */
+$.fn.fieldValue = function(successful) {
+ for (var val=[], i=0, max=this.length; i < max; i++) {
+ var el = this[i];
+ var v = $.fieldValue(el, successful);
+ if (v === null || typeof v == 'undefined' || (v.constructor == Array && !v.length)) {
+ continue;
+ }
+ v.constructor == Array ? $.merge(val, v) : val.push(v);
+ }
+ return val;
+};
+
+/**
+ * Returns the value of the field element.
+ */
+$.fieldValue = function(el, successful) {
+ var n = el.name, t = el.type, tag = el.tagName.toLowerCase();
+ if (successful === undefined) {
+ successful = true;
+ }
+
+ if (successful && (!n || el.disabled || t == 'reset' || t == 'button' ||
+ (t == 'checkbox' || t == 'radio') && !el.checked ||
+ (t == 'submit' || t == 'image') && el.form && el.form.clk != el ||
+ tag == 'select' && el.selectedIndex == -1)) {
+ return null;
+ }
+
+ if (tag == 'select') {
+ var index = el.selectedIndex;
+ if (index < 0) {
+ return null;
+ }
+ var a = [], ops = el.options;
+ var one = (t == 'select-one');
+ var max = (one ? index+1 : ops.length);
+ for(var i=(one ? index : 0); i < max; i++) {
+ var op = ops[i];
+ if (op.selected) {
+ var v = op.value;
+ if (!v) { // extra pain for IE...
+ v = (op.attributes && op.attributes['value'] && !(op.attributes['value'].specified)) ? op.text : op.value;
+ }
+ if (one) {
+ return v;
+ }
+ a.push(v);
+ }
+ }
+ return a;
+ }
+ return $(el).val();
+};
+
+/**
+ * Clears the form data. Takes the following actions on the form's input fields:
+ * - input text fields will have their 'value' property set to the empty string
+ * - select elements will have their 'selectedIndex' property set to -1
+ * - checkbox and radio inputs will have their 'checked' property set to false
+ * - inputs of type submit, button, reset, and hidden will *not* be effected
+ * - button elements will *not* be effected
+ */
+$.fn.clearForm = function(includeHidden) {
+ return this.each(function() {
+ $('input,select,textarea', this).clearFields(includeHidden);
+ });
+};
+
+/**
+ * Clears the selected form elements.
+ */
+$.fn.clearFields = $.fn.clearInputs = function(includeHidden) {
+ var re = /^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i; // 'hidden' is not in this list
+ return this.each(function() {
+ var t = this.type, tag = this.tagName.toLowerCase();
+ if (re.test(t) || tag == 'textarea' || (includeHidden && /hidden/.test(t)) ) {
+ this.value = '';
+ }
+ else if (t == 'checkbox' || t == 'radio') {
+ this.checked = false;
+ }
+ else if (tag == 'select') {
+ this.selectedIndex = -1;
+ }
+ });
+};
+
+/**
+ * Resets the form data. Causes all form elements to be reset to their original value.
+ */
+$.fn.resetForm = function() {
+ return this.each(function() {
+ // guard against an input with the name of 'reset'
+ // note that IE reports the reset function as an 'object'
+ if (typeof this.reset == 'function' || (typeof this.reset == 'object' && !this.reset.nodeType)) {
+ this.reset();
+ }
+ });
+};
+
+/**
+ * Enables or disables any matching elements.
+ */
+$.fn.enable = function(b) {
+ if (b === undefined) {
+ b = true;
+ }
+ return this.each(function() {
+ this.disabled = !b;
+ });
+};
+
+/**
+ * Checks/unchecks any matching checkboxes or radio buttons and
+ * selects/deselects and matching option elements.
+ */
+$.fn.selected = function(select) {
+ if (select === undefined) {
+ select = true;
+ }
+ return this.each(function() {
+ var t = this.type;
+ if (t == 'checkbox' || t == 'radio') {
+ this.checked = select;
+ }
+ else if (this.tagName.toLowerCase() == 'option') {
+ var $sel = $(this).parent('select');
+ if (select && $sel[0] && $sel[0].type == 'select-one') {
+ // deselect all other options
+ $sel.find('option').selected(false);
+ }
+ this.selected = select;
+ }
+ });
+};
+
+// expose debug var
+$.fn.ajaxSubmit.debug = false;
+
+// helper fn for console logging
+function log() {
+ if (!$.fn.ajaxSubmit.debug)
+ return;
+ var msg = '[jquery.form] ' + Array.prototype.join.call(arguments,'');
+ if (window.console && window.console.log) {
+ window.console.log(msg);
+ }
+ else if (window.opera && window.opera.postError) {
+ window.opera.postError(msg);
+ }
+};
+
+})(jQuery);
\ No newline at end of file
diff --git a/Ch7/7-2-Form/xml.php b/Ch7/7-2-Form/xml.php
new file mode 100644
index 0000000..ab9063f
--- /dev/null
+++ b/Ch7/7-2-Form/xml.php
@@ -0,0 +1,9 @@
+".
+ "".
+ "{$_REQUEST['xmlname']} ".
+ "{$_REQUEST['xmladdress']} ".
+ "{$_REQUEST['xmlcomment']} ".
+ " ";
+?>
\ No newline at end of file
diff --git a/Ch7/7-3-simplemodal/css/box.css b/Ch7/7-3-simplemodal/css/box.css
index fe133ea..9b6b9b1 100644
--- a/Ch7/7-3-simplemodal/css/box.css
+++ b/Ch7/7-3-simplemodal/css/box.css
@@ -1,47 +1,47 @@
-.simplemodal-container .ico-ok, .simplemodal-container .ico-error, .simplemodal-container .ico-info, .simplemodal-container .ico-question, .simplemodal-container .ico-warn, .simplemodal-container .ico-wait,.simplemodal-container .modalCloseImg,.simplemodal-container .btn-close, .simplemodal-container .btn-close-b{background:url(../img/box.png) no-repeat;display:inline-block;width:32px;height:32px;}
-.simplemodal-container .ico-ok{background-position:-66px 0;}
-.simplemodal-container .ico-error{background-position:0 0;}
-.simplemodal-container .ico-info{background-position:-33px 0;}
-.simplemodal-container .ico-question{background-position:-99px 0;}
-.simplemodal-container .ico-warn{background-position:-165px 0;}
-.simplemodal-container .ico-wait{background-position:-132px 0;}
-
-.simplemodal-container .tips{padding:34px 0 0;}
-.simplemodal-container .tips-ico{float:left;position:relative;top:-9px;width:auto;padding-left:5%;margin-right:16px;_margin-right:13px;text-align:right;}
-.simplemodal-container .tips-content{overflow:hidden;height:1%;padding-right:5%;}
-.simplemodal-container .tips-title, .simplemodal-container .tips-line{padding:0 0 8px;}
-.simplemodal-container .tips-title{font-weight:700;font-size:14px;}
-.simplemodal-container .tips-line{line-height:20px;}
-.simplemodal-container .font-red{color:#c00;}
-.simplemodal-container .tips-buttons{margin-top:23px;text-align:right;}
-.simplemodal-container .tips-buttons .btn-blue, .simplemodal-container .tips-buttons .btn-blue-s, .simplemodal-container .tips-buttons .btn-white, .simplemodal-container .tips-buttons .btn-white-s{margin-right:16px;}
-
-.simplemodal-container{position:relative;height:100%;*width:100%;margin:-9px;padding:9px;font-size:12px;line-height:1.5;background-color:rgba(0,0,0,0.2);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr=#30000000, endColorstr=#30000000);}
-.simplemodal-container .btn-close{background-position:-286px 0;position:absolute;z-index:1;right:13px;top:13px;width:16px;height:16px;overflow:hidden;text-indent:-99em;text-decoration:none;}
-.simplemodal-container .btn-close:hover{background-position:-302px 0;}
-.simplemodal-container .btn-close-b{background-position:-249px 0;position:absolute;z-index:1;right:17px;_right:19px;top:19px;width:18px;height:18px;overflow:hidden;text-indent:-99em;text-decoration:none;}
-.simplemodal-container .btn-close-b:hover{background-position:-267px 0;}
-
-.box-title{position:relative;border:1px solid #369;border-bottom:none;margin:-1px -1px 0;background-color:#EBF2FA;padding:1px 0;}
-.box-title h2{height:2em;line-height:2em;color:#666;font-size:100%;text-indent:12px;}
-.simplemodal-data{height:100%;overflow:hidden;}
-.box-main{position:relative;background-color:#fff;border:1px solid #369;margin:0 -1px -1px;border-top:none;zoom:1;}
-.box-buttons{margin-top:23px;padding:0 9px 9px 0;text-align:right;}
-.box-buttons button{margin-left:8px;min-width:68px;min-width:52px\9;*min-width:auto;height:24px;padding:0 5px 1px;*padding:0 10px 1px;}
-.simplemodal-container iframe.box-iframe{position:relative;height:100%;width:100%;margin:-1px;overflow:hidden;border:1px solid #6685A2;background-color:#fff;}
-
-.simplemodal-container .modalCloseImg{
- background-position:-286px 0;
- position:absolute;
- right:13px;
- top:13px;
- width:16px;
- height:16px;
- overflow:hidden;
- text-indent:-99em;
- text-decoration:none;
- cursor:pointer;
- display:inline;
- z-index:3200;
-}
-.simplemodal-container .modalCloseImg:hover{background-position:-302px 0;}
+.simplemodal-container .ico-ok, .simplemodal-container .ico-error, .simplemodal-container .ico-info, .simplemodal-container .ico-question, .simplemodal-container .ico-warn, .simplemodal-container .ico-wait,.simplemodal-container .modalCloseImg,.simplemodal-container .btn-close, .simplemodal-container .btn-close-b{background:url(../img/box.png) no-repeat;display:inline-block;width:32px;height:32px;}
+.simplemodal-container .ico-ok{background-position:-66px 0;}
+.simplemodal-container .ico-error{background-position:0 0;}
+.simplemodal-container .ico-info{background-position:-33px 0;}
+.simplemodal-container .ico-question{background-position:-99px 0;}
+.simplemodal-container .ico-warn{background-position:-165px 0;}
+.simplemodal-container .ico-wait{background-position:-132px 0;}
+
+.simplemodal-container .tips{padding:34px 0 0;}
+.simplemodal-container .tips-ico{float:left;position:relative;top:-9px;width:auto;padding-left:5%;margin-right:16px;_margin-right:13px;text-align:right;}
+.simplemodal-container .tips-content{overflow:hidden;height:1%;padding-right:5%;}
+.simplemodal-container .tips-title, .simplemodal-container .tips-line{padding:0 0 8px;}
+.simplemodal-container .tips-title{font-weight:700;font-size:14px;}
+.simplemodal-container .tips-line{line-height:20px;}
+.simplemodal-container .font-red{color:#c00;}
+.simplemodal-container .tips-buttons{margin-top:23px;text-align:right;}
+.simplemodal-container .tips-buttons .btn-blue, .simplemodal-container .tips-buttons .btn-blue-s, .simplemodal-container .tips-buttons .btn-white, .simplemodal-container .tips-buttons .btn-white-s{margin-right:16px;}
+
+.simplemodal-container{position:relative;height:100%;*width:100%;margin:-9px;padding:9px;font-size:12px;line-height:1.5;background-color:rgba(0,0,0,0.2);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr=#30000000, endColorstr=#30000000);}
+.simplemodal-container .btn-close{background-position:-286px 0;position:absolute;z-index:1;right:13px;top:13px;width:16px;height:16px;overflow:hidden;text-indent:-99em;text-decoration:none;}
+.simplemodal-container .btn-close:hover{background-position:-302px 0;}
+.simplemodal-container .btn-close-b{background-position:-249px 0;position:absolute;z-index:1;right:17px;_right:19px;top:19px;width:18px;height:18px;overflow:hidden;text-indent:-99em;text-decoration:none;}
+.simplemodal-container .btn-close-b:hover{background-position:-267px 0;}
+
+.box-title{position:relative;border:1px solid #369;border-bottom:none;margin:-1px -1px 0;background-color:#EBF2FA;padding:1px 0;}
+.box-title h2{height:2em;line-height:2em;color:#666;font-size:100%;text-indent:12px;}
+.simplemodal-data{height:100%;overflow:hidden;}
+.box-main{position:relative;background-color:#fff;border:1px solid #369;margin:0 -1px -1px;border-top:none;zoom:1;}
+.box-buttons{margin-top:23px;padding:0 9px 9px 0;text-align:right;}
+.box-buttons button{margin-left:8px;min-width:68px;min-width:52px\9;*min-width:auto;height:24px;padding:0 5px 1px;*padding:0 10px 1px;}
+.simplemodal-container iframe.box-iframe{position:relative;height:100%;width:100%;margin:-1px;overflow:hidden;border:1px solid #6685A2;background-color:#fff;}
+
+.simplemodal-container .modalCloseImg{
+ background-position:-286px 0;
+ position:absolute;
+ right:13px;
+ top:13px;
+ width:16px;
+ height:16px;
+ overflow:hidden;
+ text-indent:-99em;
+ text-decoration:none;
+ cursor:pointer;
+ display:inline;
+ z-index:3200;
+}
+.simplemodal-container .modalCloseImg:hover{background-position:-302px 0;}
diff --git a/Ch7/7-3-simplemodal/js/jquery.simplemodal.js b/Ch7/7-3-simplemodal/js/jquery.simplemodal.js
index 0fc295a..6a68fd0 100644
--- a/Ch7/7-3-simplemodal/js/jquery.simplemodal.js
+++ b/Ch7/7-3-simplemodal/js/jquery.simplemodal.js
@@ -1,10 +1,10 @@
-/*
- * SimpleModal 1.4.2 - jQuery Plugin
- * http://simplemodal.com/
- * Copyright (c) 2011 Eric Martin
- * Licensed under MIT and GPL
- * Date: Sat, Dec 17 2011 14:35:42 -0800
- */
+/*
+ * SimpleModal 1.4.2 - jQuery Plugin
+ * http://simplemodal.com/
+ * Copyright (c) 2011 Eric Martin
+ * Licensed under MIT and GPL
+ * Date: Sat, Dec 17 2011 14:35:42 -0800
+ */
(function(b){"function"===typeof define&&define.amd?define(["jquery"],b):b(jQuery)})(function(b){var j=[],k=b(document),l=b.browser.msie&&6===parseInt(b.browser.version)&&"object"!==typeof window.XMLHttpRequest,n=b.browser.msie&&7===parseInt(b.browser.version),m=null,h=b(window),i=[];b.modal=function(a,d){return b.modal.impl.init(a,d)};b.modal.close=function(){b.modal.impl.close()};b.modal.focus=function(a){b.modal.impl.focus(a)};b.modal.setContainerDimensions=function(){b.modal.impl.setContainerDimensions()};
b.modal.setPosition=function(){b.modal.impl.setPosition()};b.modal.update=function(a,d){b.modal.impl.update(a,d)};b.fn.modal=function(a){return b.modal.impl.init(this,a)};b.modal.defaults={appendTo:"body",focus:!0,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:!1,autoPosition:!0,zIndex:1E3,close:!0,closeHTML:' ',
closeClass:"simplemodal-close",escClose:!0,overlayClose:!1,fixed:!0,position:null,persist:!1,modal:!0,onOpen:null,onShow:null,onClose:null};b.modal.impl={d:{},init:function(a,d){if(this.d.data)return!1;m=b.browser.msie&&!b.boxModel;this.o=b.extend({},b.modal.defaults,d);this.zIndex=this.o.zIndex;this.occb=!1;if("object"===typeof a){if(a=a instanceof jQuery?a:b(a),this.d.placeholder=!1,0 ").attr("id","simplemodal-placeholder").css({display:"none"})),
diff --git a/Ch7/7-4-cookie/1.html b/Ch7/7-4-cookie/1.html
index cd123f1..75c5d11 100644
--- a/Ch7/7-4-cookie/1.html
+++ b/Ch7/7-4-cookie/1.html
@@ -1,28 +1,28 @@
-
-
-
-
-
-
-
-
-
-
- 用户名:
- 记住用户名
-
-
+
+
+
+
+
+
+
+
+
+
+ 用户名:
+ 记住用户名
+
+
diff --git a/Ch7/7-4-cookie/2.html b/Ch7/7-4-cookie/2.html
index de7d895..cf44233 100644
--- a/Ch7/7-4-cookie/2.html
+++ b/Ch7/7-4-cookie/2.html
@@ -1,56 +1,56 @@
-
-
-
-
-
-
-
-
-
-
-
- 设置 cookie (设置有效期天数为 10 天)
- 设置 cookie (通过 date 对象设置过期日期为 3 天后的那天)
- 获取 cookie
- 删除 cookie
- 设置另一个 cookie
- 获取另一个 cookie
- 删除另一个 cookie
-
-
+
+
+
+
+
+
+
+
+
+
+
+ 设置 cookie (设置有效期天数为 10 天)
+ 设置 cookie (通过 date 对象设置过期日期为 3 天后的那天)
+ 获取 cookie
+ 删除 cookie
+ 设置另一个 cookie
+ 获取另一个 cookie
+ 删除另一个 cookie
+
+
\ No newline at end of file
diff --git "a/Ch7/7-5-jQueryUI-sortable/1-1-\277\354\313\331\311\317\312\326.html" "b/Ch7/7-5-jQueryUI-sortable/1-1-\345\277\253\351\200\237\344\270\212\346\211\213.html"
similarity index 96%
rename from "Ch7/7-5-jQueryUI-sortable/1-1-\277\354\313\331\311\317\312\326.html"
rename to "Ch7/7-5-jQueryUI-sortable/1-1-\345\277\253\351\200\237\344\270\212\346\211\213.html"
index 1a58b5b..45ec241 100644
--- "a/Ch7/7-5-jQueryUI-sortable/1-1-\277\354\313\331\311\317\312\326.html"
+++ "b/Ch7/7-5-jQueryUI-sortable/1-1-\345\277\253\351\200\237\344\270\212\346\211\213.html"
@@ -1,54 +1,54 @@
-
-
-
-
- jQuery UI Sortable
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ jQuery UI Sortable
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/Ch7/7-5-jQueryUI-sortable/1-2-\277\354\313\331\311\317\312\326.html" "b/Ch7/7-5-jQueryUI-sortable/1-2-\345\277\253\351\200\237\344\270\212\346\211\213.html"
similarity index 96%
rename from "Ch7/7-5-jQueryUI-sortable/1-2-\277\354\313\331\311\317\312\326.html"
rename to "Ch7/7-5-jQueryUI-sortable/1-2-\345\277\253\351\200\237\344\270\212\346\211\213.html"
index 44f46d1..40cf334 100644
--- "a/Ch7/7-5-jQueryUI-sortable/1-2-\277\354\313\331\311\317\312\326.html"
+++ "b/Ch7/7-5-jQueryUI-sortable/1-2-\345\277\253\351\200\237\344\270\212\346\211\213.html"
@@ -1,51 +1,51 @@
-
-
-
-
- jQuery UI Sortable
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ jQuery UI Sortable
+
+
+
+
+
+
+
+
+
+
diff --git "a/Ch7/7-5-jQueryUI-sortable/2-\270\372\265\245\273\367\312\302\274\376\263\345\315\273.html" "b/Ch7/7-5-jQueryUI-sortable/2-\350\267\237\345\215\225\345\207\273\344\272\213\344\273\266\345\206\262\347\252\201.html"
similarity index 96%
rename from "Ch7/7-5-jQueryUI-sortable/2-\270\372\265\245\273\367\312\302\274\376\263\345\315\273.html"
rename to "Ch7/7-5-jQueryUI-sortable/2-\350\267\237\345\215\225\345\207\273\344\272\213\344\273\266\345\206\262\347\252\201.html"
index e88f8f8..3d61979 100644
--- "a/Ch7/7-5-jQueryUI-sortable/2-\270\372\265\245\273\367\312\302\274\376\263\345\315\273.html"
+++ "b/Ch7/7-5-jQueryUI-sortable/2-\350\267\237\345\215\225\345\207\273\344\272\213\344\273\266\345\206\262\347\252\201.html"
@@ -1,53 +1,53 @@
-
-
-
-
- jQuery UI Sortable
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ jQuery UI Sortable
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/Ch7/7-5-jQueryUI-sortable/3-\273\361\265\303\305\305\301\320\313\263\320\362sortable.html" "b/Ch7/7-5-jQueryUI-sortable/3-\350\216\267\345\276\227\346\216\222\345\210\227\351\241\272\345\272\217sortable.html"
similarity index 100%
rename from "Ch7/7-5-jQueryUI-sortable/3-\273\361\265\303\305\305\301\320\313\263\320\362sortable.html"
rename to "Ch7/7-5-jQueryUI-sortable/3-\350\216\267\345\276\227\346\216\222\345\210\227\351\241\272\345\272\217sortable.html"
diff --git "a/Ch7/7-5-jQueryUI-sortable/4-\273\361\265\303\305\305\301\320\313\263\320\362sortable.html" "b/Ch7/7-5-jQueryUI-sortable/4-\350\216\267\345\276\227\346\216\222\345\210\227\351\241\272\345\272\217sortable.html"
similarity index 100%
rename from "Ch7/7-5-jQueryUI-sortable/4-\273\361\265\303\305\305\301\320\313\263\320\362sortable.html"
rename to "Ch7/7-5-jQueryUI-sortable/4-\350\216\267\345\276\227\346\216\222\345\210\227\351\241\272\345\272\217sortable.html"
diff --git "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo1-1-color.html" "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo1-1-color.html"
similarity index 96%
rename from "Ch7/7-6-\261\340\320\264\262\345\274\376/demo1-1-color.html"
rename to "Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo1-1-color.html"
index 4fbf423..3d5c4e4 100644
--- "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo1-1-color.html"
+++ "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo1-1-color.html"
@@ -1,44 +1,44 @@
-
-
-
- 插件1,color
-
-
-
-
-
-
-
-red
-blue
-green
-yellow
-
-
-
-
+
+
+
+ 插件1,color
+
+
+
+
+
+
+
+red
+blue
+green
+yellow
+
+
+
+
diff --git "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo1-2-color.html" "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo1-2-color.html"
similarity index 96%
rename from "Ch7/7-6-\261\340\320\264\262\345\274\376/demo1-2-color.html"
rename to "Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo1-2-color.html"
index e63b1ac..2aaf2da 100644
--- "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo1-2-color.html"
+++ "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo1-2-color.html"
@@ -1,38 +1,38 @@
-
-
-
- extend : color
-
-
-
-
-
-
-red
-blue
-green
-yellow
-
-
-
+
+
+
+ extend : color
+
+
+
+
+
+
+red
+blue
+green
+yellow
+
+
+
diff --git "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo1-3-color.html" "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo1-3-color.html"
similarity index 95%
rename from "Ch7/7-6-\261\340\320\264\262\345\274\376/demo1-3-color.html"
rename to "Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo1-3-color.html"
index eeb0423..1feff76 100644
--- "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo1-3-color.html"
+++ "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo1-3-color.html"
@@ -1,39 +1,39 @@
-
-
-
- color
-
-
-
-
-
-
-
-red
-blue
-green
-yellow
-
-
-
+
+
+
+ color
+
+
+
+
+
+
+
+red
+blue
+green
+yellow
+
+
+
diff --git "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo2-1-\324\255\312\274\264\372\302\353.html" "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo2-1-\345\216\237\345\247\213\344\273\243\347\240\201.html"
similarity index 96%
rename from "Ch7/7-6-\261\340\320\264\262\345\274\376/demo2-1-\324\255\312\274\264\372\302\353.html"
rename to "Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo2-1-\345\216\237\345\247\213\344\273\243\347\240\201.html"
index 190f0a0..57e6d81 100644
--- "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo2-1-\324\255\312\274\264\372\302\353.html"
+++ "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo2-1-\345\216\237\345\247\213\344\273\243\347\240\201.html"
@@ -1,82 +1,82 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 姓名
- 性别
- 暂住地
-
-
-
-
-
- 张山
- 男
- 浙江宁波
-
-
-
- 李四
- 女
- 浙江杭州
-
-
-
- 王五
- 男
- 湖南长沙
-
-
-
- 找六
- 男
- 浙江温州
-
-
-
- Rain
- 男
- 浙江杭州
-
-
-
- MAXMAN
- 女
- 浙江杭州
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo2-2-\262\345\274\376\264\372\302\353.html" "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo2-2-\346\217\222\344\273\266\344\273\243\347\240\201.html"
similarity index 96%
rename from "Ch7/7-6-\261\340\320\264\262\345\274\376/demo2-2-\262\345\274\376\264\372\302\353.html"
rename to "Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo2-2-\346\217\222\344\273\266\344\273\243\347\240\201.html"
index 8619034..a128961 100644
--- "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo2-2-\262\345\274\376\264\372\302\353.html"
+++ "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo2-2-\346\217\222\344\273\266\344\273\243\347\240\201.html"
@@ -1,142 +1,142 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo3-ltrim\272\315rtrim.html" "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo3-ltrim\345\222\214rtrim.html"
similarity index 100%
rename from "Ch7/7-6-\261\340\320\264\262\345\274\376/demo3-ltrim\272\315rtrim.html"
rename to "Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo3-ltrim\345\222\214rtrim.html"
diff --git "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo4-between.html" "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo4-between.html"
similarity index 96%
rename from "Ch7/7-6-\261\340\320\264\262\345\274\376/demo4-between.html"
rename to "Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo4-between.html"
index f7c26e2..97c8d88 100644
--- "a/Ch7/7-6-\261\340\320\264\262\345\274\376/demo4-between.html"
+++ "b/Ch7/7-6-\347\274\226\345\206\231\346\217\222\344\273\266/demo4-between.html"
@@ -1,36 +1,36 @@
-
-
-
- 插件4,between
-
-
-
-
-
-
-0
-1
-2
-3
-4
-5
-
-
-
+
+
+
+ 插件4,between
+
+
+
+
+
+
+0
+1
+2
+3
+4
+5
+
+
+
diff --git a/Ch8/detail.html b/Ch8/detail.html
index b154fd3..7f5f205 100644
--- a/Ch8/detail.html
+++ b/Ch8/detail.html
@@ -1,158 +1,403 @@
-
-
-
-
-Jane shopping
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
商品信息
-
-
-
-
-
-
-
-
-
-
-
-
-
沿用风靡百年的经典全棉牛津纺面料,通过领先的液氨整理技术,使面料的抗皱性能更上一层。延续简约、舒适、健康设计理念,特推出免烫、易打理的精细免烫牛津纺长袖衬衫系列。
-
-
- 来自新疆无污染的生态棉花,采用紧密纺精梳棉纱,单经双纬的织造组织,造就了颗粒饱满、朴实无华、温润细腻的经典牛津纺,易洗快干、手感丰软、吸湿性好。设计师遵循布料完美肌理,立体剪裁,以直筒明门襟的经典造型、配合圆袋、曲摆的现代人性化裁减,相得益彰,浑然天成。色彩明快的纯色衬衫简洁、自然、为您营造出利落、爽朗的形象,透出热情、优雅的个性;精选白、蓝、淡粉、宽条纹、英国格等10余种明亮、经典花型,色彩缤纷呈现,以适合本季着装,更显自然、舒适境界。
-
-
- 世界权威德国科德宝的衬和英国高士缝纫线使成衣领型自然舒展、永不变形,缝线部位平服工整、牢固耐磨;人性化的4片式后背打褶结构设计提供更舒适的活动空间;领尖扣的领型设计戴或不戴领带风格炯同、瞬间呈现;醇正天然设计,只为彰显自然荣耀。
-
-
-
-
-
-
免烫高支棉条纹衬衣
-
全新精品高支棉衬衫再次提升品质,精选100%新疆长绒棉织造而成,平整度好,短绒少; 80-100高支双股经纬交织,带来无与伦比的舒适享受;而且面料反光效果好,具有漂亮的光泽,质感上佳,有利于免烫效果的维持。※不仅如此,深受消费者欢迎的经典款式使精品高支棉衬衫更贴合东方人身型气质,多款衬衫还采用简单且个性鲜明条纹元素,利用最为单纯的几何线条,透过条纹的粗细、宽窄间的重组,带出令人耳目一新的时尚气息,更显出俊朗男士的挺拔身型!
-
现价:200元 原价:300元
-
编号:33313993
-
-
-
- 数量:
-
- 1
- 2
- 3
- 4
- 5
-
-
-
- 总计:200 元
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+Jane shopping
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
商品分类
+
+
推荐品牌
+
+
+
女装
+
+
+
男装
+
+
+
鞋包配饰
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
沿用风靡百年的经典全棉牛津纺面料,通过领先的液氨整理技术,使面料的抗皱性能更上一层。延续简约、舒适、健康设计理念,特推出免烫、易打理的精细免烫牛津纺长袖衬衫系列。
+
+
+ 来自新疆无污染的生态棉花,采用紧密纺精梳棉纱,单经双纬的织造组织,造就了颗粒饱满、朴实无华、温润细腻的经典牛津纺,易洗快干、手感丰软、吸湿性好。设计师遵循布料完美肌理,立体剪裁,曲摆的现代人性化裁减,相得益彰,浑然天成。
+
+
+ 世界权威德国科德宝的衬和英国高士缝纫线使成衣领型自然舒展、永不变形,缝线部位平服工整、牢固耐磨;人性化的4片式后背打褶结构设计提供更舒适的活动空间;领尖扣的领型设计戴或不戴领带风格炯同、瞬间呈现;醇正天然设计,只为彰显自然荣耀。
+
+
+
+
+
+
+
+
+
+
免烫高支棉条纹衬衣
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ch8/images/advertise.jpg b/Ch8/images/advertise.jpg
new file mode 100644
index 0000000..2ba16e7
Binary files /dev/null and b/Ch8/images/advertise.jpg differ
diff --git a/Ch8/images/box.png b/Ch8/images/box.png
new file mode 100644
index 0000000..29af3cc
Binary files /dev/null and b/Ch8/images/box.png differ
diff --git a/Ch8/images/img_1.jpg b/Ch8/images/img_1.jpg
deleted file mode 100644
index 2d4c9f3..0000000
Binary files a/Ch8/images/img_1.jpg and /dev/null differ
diff --git a/Ch8/images/img_2.jpg b/Ch8/images/img_2.jpg
deleted file mode 100644
index dab323e..0000000
Binary files a/Ch8/images/img_2.jpg and /dev/null differ
diff --git a/Ch8/images/img_3.jpg b/Ch8/images/img_3.jpg
deleted file mode 100644
index 4ac6b7e..0000000
Binary files a/Ch8/images/img_3.jpg and /dev/null differ
diff --git a/Ch8/images/img_4.jpg b/Ch8/images/img_4.jpg
deleted file mode 100644
index dab323e..0000000
Binary files a/Ch8/images/img_4.jpg and /dev/null differ
diff --git a/Ch8/images/left.gif b/Ch8/images/left.gif
deleted file mode 100644
index e149c05..0000000
Binary files a/Ch8/images/left.gif and /dev/null differ
diff --git a/Ch8/images/pro_img/blue.html b/Ch8/images/pro_img/blue.html
deleted file mode 100644
index 00e3474..0000000
--- a/Ch8/images/pro_img/blue.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/Ch8/images/pro_img/green.html b/Ch8/images/pro_img/green.html
deleted file mode 100644
index a8a156e..0000000
--- a/Ch8/images/pro_img/green.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/Ch8/images/pro_img/yellow.html b/Ch8/images/pro_img/yellow.html
deleted file mode 100644
index 85f7c9f..0000000
--- a/Ch8/images/pro_img/yellow.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/Ch8/images/right.gif b/Ch8/images/right.gif
deleted file mode 100644
index 93714d6..0000000
Binary files a/Ch8/images/right.gif and /dev/null differ
diff --git a/Ch8/images/treeview-collapsed.gif b/Ch8/images/treeview-collapsed.gif
deleted file mode 100644
index 939ed86..0000000
Binary files a/Ch8/images/treeview-collapsed.gif and /dev/null differ
diff --git a/Ch8/images/treeview-expanded.gif b/Ch8/images/treeview-expanded.gif
deleted file mode 100644
index d330e79..0000000
Binary files a/Ch8/images/treeview-expanded.gif and /dev/null differ
diff --git a/Ch8/images/treeview-item.gif b/Ch8/images/treeview-item.gif
deleted file mode 100644
index f513525..0000000
Binary files a/Ch8/images/treeview-item.gif and /dev/null differ
diff --git a/Ch8/images/zoomloader.gif b/Ch8/images/zoomloader.gif
new file mode 100644
index 0000000..5b33f7e
Binary files /dev/null and b/Ch8/images/zoomloader.gif differ
diff --git a/Ch8/index.html b/Ch8/index.html
index 4951d44..96403e5 100644
--- a/Ch8/index.html
+++ b/Ch8/index.html
@@ -1,380 +1,382 @@
-
-
-
-
-Jane shopping
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
商品分类
-
-
推荐品牌
-
-
-
女装
-
-
-
男装
-
-
-
鞋包配饰
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+Jane shopping
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
商品分类
+
+
推荐品牌
+
+
+
女装
+
+
+
男装
+
+
+
鞋包配饰
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Ch8/scripts/ad.js b/Ch8/scripts/ad.js
index 4fb45ee..3caeab9 100644
--- a/Ch8/scripts/ad.js
+++ b/Ch8/scripts/ad.js
@@ -1,34 +1,34 @@
-/* 首页大屏广告效果 */
-$(function(){
- var $imgrolls = $("#jnImageroll div a");
- $imgrolls.css("opacity","0.7");
- var len = $imgrolls.length;
- var index = 0;
- var adTimer = null;
- $imgrolls.mouseover(function(){
- index = $imgrolls.index(this);
- showImg(index);
- }).eq(0).mouseover();
- //滑入 停止动画,滑出开始动画.
- $('#jnImageroll').hover(function(){
- if(adTimer){
- clearInterval(adTimer);
- }
- },function(){
- adTimer = setInterval(function(){
- showImg(index);
- index++;
- if(index==len){index=0;}
- } , 3000);
- }).trigger("mouseleave");
-})
-//显示不同的幻灯片
-function showImg(index){
- var $rollobj = $("#jnImageroll");
- var $rolllist = $rollobj.find("div a");
- var newhref = $rolllist.eq(index).attr("href");
- $("#JS_imgWrap").attr("href",newhref)
- .find("img").eq(index).stop(true,true).fadeIn().siblings().fadeOut();
- $rolllist.removeClass("chos").css("opacity","0.7")
- .eq(index).addClass("chos").css("opacity","1");
+/* 首页大屏广告效果 */
+$(function(){
+ var $imgrolls = $("#jnImageroll div a");
+ $imgrolls.css("opacity","0.7");
+ var len = $imgrolls.length;
+ var index = 0;
+ var adTimer = null;
+ $imgrolls.mouseover(function(){
+ index = $imgrolls.index(this);
+ showImg(index);
+ }).eq(0).mouseover();
+ //滑入 停止动画,滑出开始动画.
+ $('#jnImageroll').hover(function(){
+ if(adTimer){
+ clearInterval(adTimer);
+ }
+ },function(){
+ adTimer = setInterval(function(){
+ showImg(index);
+ index++;
+ if(index==len){index=0;}
+ } , 5000);
+ }).trigger("mouseleave");
+})
+//显示不同的幻灯片
+function showImg(index){
+ var $rollobj = $("#jnImageroll");
+ var $rolllist = $rollobj.find("div a");
+ var newhref = $rolllist.eq(index).attr("href");
+ $("#JS_imgWrap").attr("href",newhref)
+ .find("img").eq(index).stop(true,true).fadeIn().siblings().fadeOut();
+ $rolllist.removeClass("chos").css("opacity","0.7")
+ .eq(index).addClass("chos").css("opacity","1");
}
\ No newline at end of file
diff --git a/Ch8/scripts/addhot.js b/Ch8/scripts/addhot.js
index 12cd713..51507f9 100644
--- a/Ch8/scripts/addhot.js
+++ b/Ch8/scripts/addhot.js
@@ -1,4 +1,4 @@
-/* 添加hot显示 */
-$(function(){
- $(".jnCatainfo .promoted").append(' ');
+/* 添加hot显示 */
+$(function(){
+ $(".jnCatainfo .promoted").append(' ');
})
\ No newline at end of file
diff --git a/Ch8/scripts/changeSkin.js b/Ch8/scripts/changeSkin.js
index b4ae245..236f266 100644
--- a/Ch8/scripts/changeSkin.js
+++ b/Ch8/scripts/changeSkin.js
@@ -1,18 +1,18 @@
-//网站换肤
-$(function(){
- var $li =$("#skin li");
- $li.click(function(){
- switchSkin( this.id );
- });
- var cookie_skin = $.cookie("MyCssSkin");
- if (cookie_skin) {
- switchSkin( cookie_skin );
- }
-});
-
-function switchSkin(skinName){
- $("#"+skinName).addClass("selected") //当前元素选中
- .siblings().removeClass("selected"); //去掉其他同辈 元素的选中
- $("#cssfile").attr("href","styles/skin/"+ skinName +".css"); //设置不同皮肤
- $.cookie( "MyCssSkin" , skinName , { path: '/', expires: 10 });
+//网站换肤
+$(function(){
+ var $li =$("#skin li");
+ $li.click(function(){
+ switchSkin( this.id );
+ });
+ var cookie_skin = $.cookie("MyCssSkin");
+ if (cookie_skin) {
+ switchSkin( cookie_skin );
+ }
+});
+
+function switchSkin(skinName){
+ $("#"+skinName).addClass("selected") //当前 元素选中
+ .siblings().removeClass("selected"); //去掉其他同辈 元素的选中
+ $("#cssfile").attr("href","styles/skin/"+ skinName +".css"); //设置不同皮肤
+ $.cookie( "MyCssSkin" , skinName , { path: '/', expires: 10 });
}
\ No newline at end of file
diff --git a/Ch8/scripts/finish.js b/Ch8/scripts/finish.js
index 81c2e23..e4e8cf0 100644
--- a/Ch8/scripts/finish.js
+++ b/Ch8/scripts/finish.js
@@ -1,21 +1,19 @@
-/*最终购买输出*/
-$(function(){
- var $product = $(".pro_detail_right");
- $("#cart a").click(function(){
- var pro_name = $product.find("h4:first").text();
- var pro_size = $product.find(".pro_size strong").text();
- var pro_color = $(".color_change strong").text();
- var pro_num = $product.find("#num_sort").val();
- var pro_price = $product.find(".pro_price span").text();
- var dialog = " 感谢您的购买。\n您购买的\n"+
- "产品是:"+pro_name+";\n"+
- "尺寸是:"+pro_size+";\n"+
- "颜色是:"+pro_color+";\n"+
- "数量是:"+pro_num+";\n"+
- "总价是:"+pro_price +"元。";
- if( confirm(dialog) ){
- alert("您已经下单!");
- }
- return false;//避免页面跳转
- })
+/*最终购买输出*/
+$(function(){
+ var $product = $(".jnProDetail");
+ $("#cart a").click(function (e) {
+ var pro_name = $product.find("h4:first").text();
+ var pro_size = $product.find(".pro_size strong").text();
+ var pro_color = $(".color_change strong").text();
+ var pro_num = $product.find("#num_sort").val();
+ var pro_price = $product.find(".pro_price strong").text();
+ var dialog = "感谢您的购买。您购买的产品是:"+pro_name+";"+
+ "尺寸是:"+pro_size+";"+
+ "颜色是:"+pro_color+";"+
+ "数量是:"+pro_num+";"+
+ "总价是:"+pro_price +"元。
";
+ $("#jnDialogContent").html(dialog);
+ $('#basic-dialog-ok').modal();
+ return false;//避免页面跳转
+ });
})
\ No newline at end of file
diff --git a/Ch8/scripts/imgHover.js b/Ch8/scripts/imgHover.js
index c8b25b5..7e6924e 100644
--- a/Ch8/scripts/imgHover.js
+++ b/Ch8/scripts/imgHover.js
@@ -1,13 +1,19 @@
-/* 滑过图片出现放大镜效果 */
-$(function(){
- $("#jnBrandList li").each(function(index){
- var $img = $(this).find("img");
- var img_w = $img.width();
- var img_h = $img.height();
- var spanHtml = ' ';
- $(spanHtml).appendTo(this);
- })
- $("#jnBrandList").delegate(".imageMask", "hover", function(){
- $(this).toggleClass("imageOver");
- });
+/* 滑过图片出现放大镜效果 */
+$(function(){
+ $("#jnBrandList li").each(function(index){
+ var $img = $(this).find("img");
+ var img_w = $img.width();
+ var img_h = $img.height();
+ var spanHtml = ' ';
+ $(spanHtml).appendTo(this);
+ })
+ $("#jnBrandList").delegate(".imageMask", "hover", function(){
+ $(this).toggleClass("imageOver");
+ });
+
+ /*
+ $("#jnBrandList").find(".imageMask").live("hover", function(){
+ $(this).toggleClass("imageOver");
+ });
+ */
})
\ No newline at end of file
diff --git a/Ch8/scripts/imgSlide.js b/Ch8/scripts/imgSlide.js
index 3ca3d5e..6a85606 100644
--- a/Ch8/scripts/imgSlide.js
+++ b/Ch8/scripts/imgSlide.js
@@ -1,16 +1,16 @@
-/* 品牌活动模块横向滚动 */
-$(function(){
- $("#jnBrandTab li a").click(function(){
- $(this).parent().addClass("chos").siblings().removeClass("chos");
- var idx = $("#jnBrandTab li a").index(this);
- showBrandList(idx);
- return false;
- }).eq(0).click();
-});
-//显示不同的模块
-function showBrandList(index){
- var $rollobj = $("#jnBrandList");
- var rollWidth = $rollobj.find("li").outerWidth();
- rollWidth = rollWidth * 4; //一个版面的宽度
- $rollobj.stop(true,false).animate({ left : -rollWidth*index},1000);
+/* 品牌活动模块横向滚动 */
+$(function(){
+ $("#jnBrandTab li a").click(function(){
+ $(this).parent().addClass("chos").siblings().removeClass("chos");
+ var idx = $("#jnBrandTab li a").index(this);
+ showBrandList(idx);
+ return false;
+ }).eq(0).click();
+});
+//显示不同的模块
+function showBrandList(index){
+ var $rollobj = $("#jnBrandList");
+ var rollWidth = $rollobj.find("li").outerWidth();
+ rollWidth = rollWidth * 4; //一个版面的宽度
+ $rollobj.stop(true,false).animate({ left : -rollWidth*index},1000);
}
\ No newline at end of file
diff --git a/Ch8/scripts/input.js b/Ch8/scripts/input.js
index 505b29e..6d229fc 100644
--- a/Ch8/scripts/input.js
+++ b/Ch8/scripts/input.js
@@ -1,18 +1,18 @@
-/* 搜索文本框效果 */
-$(function(){
- $("#inputSearch").focus(function(){
- $(this).addClass("focus");
- if($(this).val() ==this.defaultValue){
- $(this).val("");
- }
- }).blur(function(){
- $(this).removeClass("focus");
- if ($(this).val() == '') {
- $(this).val(this.defaultValue);
- }
- }).keyup(function(e){
- if(e.which == 13){
- alert('回车提交表单!');
- }
- })
+/* 搜索文本框效果 */
+$(function(){
+ $("#inputSearch").focus(function(){
+ $(this).addClass("focus");
+ if($(this).val() ==this.defaultValue){
+ $(this).val("");
+ }
+ }).blur(function(){
+ $(this).removeClass("focus");
+ if ($(this).val() == '') {
+ $(this).val(this.defaultValue);
+ }
+ }).keyup(function(e){
+ if(e.which == 13){
+ alert('回车提交表单!');
+ }
+ })
})
\ No newline at end of file
diff --git a/Ch8/scripts/jquery.jqzoom.js b/Ch8/scripts/jquery.jqzoom.js
index 712ee60..6be8da8 100644
--- a/Ch8/scripts/jquery.jqzoom.js
+++ b/Ch8/scripts/jquery.jqzoom.js
@@ -1,203 +1,733 @@
-//**************************************************************
-// jQZoom allows you to realize a small magnifier window,close
-// to the image or images on your web page easily.
-//
-// jqZoom version 2.2
-// Author Doc. Ing. Renzi Marco(www.mind-projects.it)
-// First Release on Dec 05 2007
-// i'm looking for a job,pick me up!!!
-// mail: renzi.mrc@gmail.com
-//**************************************************************
-
-(function($){
-
- $.fn.jqueryzoom = function(options){
-
- var settings = {
- xzoom: 200, //zoomed width default width
- yzoom: 200, //zoomed div default width
- offset: 10, //zoomed div default offset
- position: "right" ,//zoomed div default position,offset position is to the right of the image
- lens:1, //zooming lens over the image,by default is 1;
- preload: 1
-
- };
-
- if(options) {
- $.extend(settings, options);
- }
-
- var noalt='';
-
- $(this).hover(function(){
-
- var imageLeft = $(this).offset().left;
- var imageTop = $(this).offset().top;
-
-
- var imageWidth = $(this).children('img').get(0).offsetWidth;
- var imageHeight = $(this).children('img').get(0).offsetHeight;
-
-
- noalt= $(this).children("img").attr("alt");
-
- var bigimage = $(this).children("img").attr("jqimg");
-
- $(this).children("img").attr("alt",'');
-
- if($("div.zoomdiv").get().length == 0){
-
- $(this).after("");
-
-
- $(this).append("
");
-
- }
-
-
- if(settings.position == "right"){
-
- if(imageLeft + imageWidth + settings.offset + settings.xzoom > screen.width){
-
- leftpos = imageLeft - settings.offset - settings.xzoom;
-
- }else{
-
- leftpos = imageLeft + imageWidth + settings.offset;
- }
- }else{
- leftpos = imageLeft - settings.xzoom - settings.offset;
- if(leftpos < 0){
-
- leftpos = imageLeft + imageWidth + settings.offset;
-
- }
-
- }
-
- $("div.zoomdiv").css({ top: imageTop,left: leftpos });
-
- $("div.zoomdiv").width(settings.xzoom);
-
- $("div.zoomdiv").height(settings.yzoom);
-
- $("div.zoomdiv").show();
-
- if(!settings.lens){
- $(this).css('cursor','crosshair');
- }
-
-
-
-
- $(document.body).mousemove(function(e){
-
-
-
- mouse = new MouseEvent(e);
-
- /*$("div.jqZoomPup").hide();*/
-
-
- var bigwidth = $(".bigimg").get(0).offsetWidth;
-
- var bigheight = $(".bigimg").get(0).offsetHeight;
-
- var scaley ='x';
-
- var scalex= 'y';
-
-
- if(isNaN(scalex)|isNaN(scaley)){
-
- var scalex = (bigwidth/imageWidth);
-
- var scaley = (bigheight/imageHeight);
-
-
-
-
- $("div.jqZoomPup").width((settings.xzoom)/scalex );
-
- $("div.jqZoomPup").height((settings.yzoom)/scaley);
-
- if(settings.lens){
- $("div.jqZoomPup").css('visibility','visible');
- }
-
- }
-
-
-
- xpos = mouse.x - $("div.jqZoomPup").width()/2 - imageLeft;
-
- ypos = mouse.y - $("div.jqZoomPup").height()/2 - imageTop ;
-
- if(settings.lens){
-
- xpos = (mouse.x - $("div.jqZoomPup").width()/2 < imageLeft ) ? 0 : (mouse.x + $("div.jqZoomPup").width()/2 > imageWidth + imageLeft ) ? (imageWidth -$("div.jqZoomPup").width() -2) : xpos;
-
- ypos = (mouse.y - $("div.jqZoomPup").height()/2 < imageTop ) ? 0 : (mouse.y + $("div.jqZoomPup").height()/2 > imageHeight + imageTop ) ? (imageHeight - $("div.jqZoomPup").height() -2 ) : ypos;
-
- }
-
-
- if(settings.lens){
-
- $("div.jqZoomPup").css({ top: ypos,left: xpos });
-
- }
-
-
-
- scrolly = ypos;
-
- $("div.zoomdiv").get(0).scrollTop = scrolly * scaley;
-
- scrollx = xpos;
-
- $("div.zoomdiv").get(0).scrollLeft = (scrollx) * scalex ;
-
-
- });
- },function(){
-
- $(this).children("img").attr("alt",noalt);
- $(document.body).unbind("mousemove");
- if(settings.lens){
- $("div.jqZoomPup").remove();
- }
- $("div.zoomdiv").remove();
-
- });
-
- count = 0;
-
- if(settings.preload){
-
- $('body').append("sdsdssdsd
");
-
- $(this).each(function(){
-
- var imagetopreload= $(this).children("img").attr("jqimg");
-
- var content = jQuery('div.jqPreload'+count+'').html();
-
- jQuery('div.jqPreload'+count+'').html(content+' ');
-
- });
-
- }
-
- }
-
-})(jQuery);
-
-function MouseEvent(e) {
-this.x = e.pageX;
-this.y = e.pageY;
-
-
-}
-
-
+/*!
+ * jQzoom Evolution Library v2.3 - Javascript Image magnifier
+ * http://www.mind-projects.it
+ *
+ * Copyright 2011, Engineer Marco Renzi
+ * Licensed under the BSD license.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * * Neither the name of the organization nor the
+ * names of its contributors may be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * Date: 03 May 2011 22:16:00
+ */
+(function ($) {
+ //GLOBAL VARIABLES
+ var isIE6 = ($.browser.msie && $.browser.version < 7);
+ var body = $(document.body);
+ var window = $(window);
+ var jqzoompluging_disabled = false; //disabilita globalmente il plugin
+ $.fn.jqzoom = function (options) {
+ return this.each(function () {
+ var node = this.nodeName.toLowerCase();
+ if (node == 'a') {
+ new jqzoom(this, options);
+ }
+ });
+ };
+ jqzoom = function (el, options) {
+ var api = null;
+ api = $(el).data("jqzoom");
+ if (api) return api;
+ var obj = this;
+ var settings = $.extend({}, $.jqzoom.defaults, options || {});
+ obj.el = el;
+ el.rel = $(el).attr('rel');
+ //ANCHOR ELEMENT
+ el.zoom_active = false;
+ el.zoom_disabled = false; //to disable single zoom instance
+ el.largeimageloading = false; //tell us if large image is loading
+ el.largeimageloaded = false; //tell us if large image is loaded
+ el.scale = {};
+ el.timer = null;
+ el.mousepos = {};
+ el.mouseDown = false;
+ $(el).css({
+ 'outline-style': 'none',
+ 'text-decoration': 'none'
+ });
+ //BASE IMAGE
+ var img = $("img:eq(0)", el);
+ el.title = $(el).attr('title');
+ el.imagetitle = img.attr('title');
+ var zoomtitle = ($.trim(el.title).length > 0) ? el.title : el.imagetitle;
+ var smallimage = new Smallimage(img);
+ var lens = new Lens();
+ var stage = new Stage();
+ var largeimage = new Largeimage();
+ var loader = new Loader();
+ //preventing default click,allowing the onclick event [exmple: lightbox]
+ $(el).bind('click', function (e) {
+ e.preventDefault();
+ return false;
+ });
+ //setting the default zoomType if not in settings
+ var zoomtypes = ['standard', 'drag', 'innerzoom', 'reverse'];
+ if ($.inArray($.trim(settings.zoomType), zoomtypes) < 0) {
+ settings.zoomType = 'standard';
+ }
+ $.extend(obj, {
+ create: function () { //create the main objects
+ //create ZoomPad
+ if ($(".zoomPad", el).length == 0) {
+ el.zoomPad = $('
').addClass('zoomPad');
+ img.wrap(el.zoomPad);
+ }
+ if(settings.zoomType == 'innerzoom'){
+ settings.zoomWidth = smallimage.w;
+ settings.zoomHeight = smallimage.h;
+ }
+ //creating ZoomPup
+ if ($(".zoomPup", el).length == 0) {
+ lens.append();
+ }
+ //creating zoomWindow
+ if ($(".zoomWindow", el).length == 0) {
+ stage.append();
+ }
+ //creating Preload
+ if ($(".zoomPreload", el).length == 0) {
+ loader.append();
+ }
+ //preloading images
+ if (settings.preloadImages || settings.zoomType == 'drag' || settings.alwaysOn) {
+ obj.load();
+ }
+ obj.init();
+ },
+ init: function () {
+ //drag option
+ if (settings.zoomType == 'drag') {
+ $(".zoomPad", el).mousedown(function () {
+ el.mouseDown = true;
+ });
+ $(".zoomPad", el).mouseup(function () {
+ el.mouseDown = false;
+ });
+ document.body.ondragstart = function () {
+ return false;
+ };
+ $(".zoomPad", el).css({
+ cursor: 'default'
+ });
+ $(".zoomPup", el).css({
+ cursor: 'move'
+ });
+ }
+ if (settings.zoomType == 'innerzoom') {
+ $(".zoomWrapper", el).css({
+ cursor: 'crosshair'
+ });
+ }
+ $(".zoomPad", el).bind('mouseenter mouseover', function (event) {
+ img.attr('title', '');
+ $(el).attr('title', '');
+ el.zoom_active = true;
+ //if loaded then activate else load large image
+ smallimage.fetchdata();
+ if (el.largeimageloaded) {
+ obj.activate(event);
+ } else {
+ obj.load();
+ }
+ });
+ $(".zoomPad", el).bind('mouseleave', function (event) {
+ obj.deactivate();
+ });
+ $(".zoomPad", el).bind('mousemove', function (e) {
+
+ //prevent fast mouse mevements not to fire the mouseout event
+ if (e.pageX > smallimage.pos.r || e.pageX < smallimage.pos.l || e.pageY < smallimage.pos.t || e.pageY > smallimage.pos.b) {
+ lens.setcenter();
+ return false;
+ }
+ el.zoom_active = true;
+ if (el.largeimageloaded && !$('.zoomWindow', el).is(':visible')) {
+ obj.activate(e);
+ }
+ if (el.largeimageloaded && (settings.zoomType != 'drag' || (settings.zoomType == 'drag' && el.mouseDown))) {
+ lens.setposition(e);
+ }
+ });
+ var thumb_preload = new Array();
+ var i = 0;
+ //binding click event on thumbnails
+ var thumblist = new Array();
+ thumblist = $('a').filter(function () {
+ var regex = new RegExp("gallery[\\s]*:[\\s]*'" + $.trim(el.rel) + "'", "i");
+ var rel = $(this).attr('rel');
+ if (regex.test(rel)) {
+ return this;
+ }
+ });
+ if (thumblist.length > 0) {
+ //getting the first to the last
+ var first = thumblist.splice(0, 1);
+ thumblist.push(first);
+ }
+ thumblist.each(function () {
+ //preloading thumbs
+ if (settings.preloadImages) {
+ var thumb_options = $.extend({}, eval("(" + $.trim($(this).attr('rel')) + ")"));
+ thumb_preload[i] = new Image();
+ thumb_preload[i].src = thumb_options.largeimage;
+ i++;
+ }
+ $(this).click(function (e) {
+ if($(this).hasClass('zoomThumbActive')){
+ return false;
+ }
+ thumblist.each(function () {
+ $(this).removeClass('zoomThumbActive');
+ });
+ e.preventDefault();
+ obj.swapimage(this);
+ return false;
+ });
+ });
+ },
+ load: function () {
+ if (el.largeimageloaded == false && el.largeimageloading == false) {
+ var url = $(el).attr('href');
+ el.largeimageloading = true;
+ largeimage.loadimage(url);
+ }
+ },
+ activate: function (e) {
+ clearTimeout(el.timer);
+ //show lens and zoomWindow
+ lens.show();
+ stage.show();
+ },
+ deactivate: function (e) {
+ switch (settings.zoomType) {
+ case 'drag':
+ //nothing or lens.setcenter();
+ break;
+ default:
+ img.attr('title', el.imagetitle);
+ $(el).attr('title', el.title);
+ if (settings.alwaysOn) {
+ lens.setcenter();
+ } else {
+ stage.hide();
+ lens.hide();
+ }
+ break;
+ }
+ el.zoom_active = false;
+ },
+ swapimage: function (link) {
+ el.largeimageloading = false;
+ el.largeimageloaded = false;
+ var options = new Object();
+ options = $.extend({}, eval("(" + $.trim($(link).attr('rel')) + ")"));
+ if (options.smallimage && options.largeimage) {
+ var smallimage = options.smallimage;
+ var largeimage = options.largeimage;
+ $(link).addClass('zoomThumbActive');
+ $(el).attr('href', largeimage);
+ img.attr('src', smallimage);
+ lens.hide();
+ stage.hide();
+ obj.load();
+ } else {
+ alert('ERROR :: Missing parameter for largeimage or smallimage.');
+ throw 'ERROR :: Missing parameter for largeimage or smallimage.';
+ }
+ return false;
+ }
+ });
+ //sometimes image is already loaded and onload will not fire
+ if (img[0].complete) {
+ //fetching data from sallimage if was previously loaded
+ smallimage.fetchdata();
+ if ($(".zoomPad", el).length == 0) obj.create();
+ }
+/*========================================================,
+| Smallimage
+|---------------------------------------------------------:
+| Base image into the anchor element
+`========================================================*/
+
+ function Smallimage(image) {
+ var $obj = this;
+ this.node = image[0];
+ this.findborder = function () {
+ var bordertop = 0;
+ bordertop = image.css('border-top-width');
+ btop = '';
+ var borderleft = 0;
+ borderleft = image.css('border-left-width');
+ bleft = '';
+ if (bordertop) {
+ for (i = 0; i < 3; i++) {
+ var x = [];
+ x = bordertop.substr(i, 1);
+ if (isNaN(x) == false) {
+ btop = btop + '' + bordertop.substr(i, 1);
+ } else {
+ break;
+ }
+ }
+ }
+ if (borderleft) {
+ for (i = 0; i < 3; i++) {
+ if (!isNaN(borderleft.substr(i, 1))) {
+ bleft = bleft + borderleft.substr(i, 1)
+ } else {
+ break;
+ }
+ }
+ }
+ $obj.btop = (btop.length > 0) ? eval(btop) : 0;
+ $obj.bleft = (bleft.length > 0) ? eval(bleft) : 0;
+ };
+ this.fetchdata = function () {
+ $obj.findborder();
+ $obj.w = image.width();
+ $obj.h = image.height();
+ $obj.ow = image.outerWidth();
+ $obj.oh = image.outerHeight();
+ $obj.pos = image.offset();
+ $obj.pos.l = image.offset().left + $obj.bleft;
+ $obj.pos.t = image.offset().top + $obj.btop;
+ $obj.pos.r = $obj.w + $obj.pos.l;
+ $obj.pos.b = $obj.h + $obj.pos.t;
+ $obj.rightlimit = image.offset().left + $obj.ow;
+ $obj.bottomlimit = image.offset().top + $obj.oh;
+
+ };
+ this.node.onerror = function () {
+ alert('Problems while loading image.');
+ throw 'Problems while loading image.';
+ };
+ this.node.onload = function () {
+ $obj.fetchdata();
+ if ($(".zoomPad", el).length == 0) obj.create();
+ };
+ return $obj;
+ };
+/*========================================================,
+| Loader
+|---------------------------------------------------------:
+| Show that the large image is loading
+`========================================================*/
+
+ function Loader() {
+ var $obj = this;
+ this.append = function () {
+ this.node = $('
').addClass('zoomPreload').css('visibility', 'hidden').html(settings.preloadText);
+ $('.zoomPad', el).append(this.node);
+ };
+ this.show = function () {
+ this.node.top = (smallimage.oh - this.node.height()) / 2;
+ this.node.left = (smallimage.ow - this.node.width()) / 2;
+ //setting position
+ this.node.css({
+ top: this.node.top,
+ left: this.node.left,
+ position: 'absolute',
+ visibility: 'visible'
+ });
+ };
+ this.hide = function () {
+ this.node.css('visibility', 'hidden');
+ };
+ return this;
+ }
+/*========================================================,
+| Lens
+|---------------------------------------------------------:
+| Lens over the image
+`========================================================*/
+
+ function Lens() {
+ var $obj = this;
+ this.node = $('
').addClass('zoomPup');
+ //this.nodeimgwrapper = $("
").addClass('zoomPupImgWrapper');
+ this.append = function () {
+ $('.zoomPad', el).append($(this.node).hide());
+ if (settings.zoomType == 'reverse') {
+ this.image = new Image();
+ this.image.src = smallimage.node.src; // fires off async
+ $(this.node).empty().append(this.image);
+ }
+ };
+ this.setdimensions = function () {
+ this.node.w = (parseInt((settings.zoomWidth) / el.scale.x) > smallimage.w ) ? smallimage.w : (parseInt(settings.zoomWidth / el.scale.x));
+ this.node.h = (parseInt((settings.zoomHeight) / el.scale.y) > smallimage.h ) ? smallimage.h : (parseInt(settings.zoomHeight / el.scale.y));
+ this.node.top = (smallimage.oh - this.node.h - 2) / 2;
+ this.node.left = (smallimage.ow - this.node.w - 2) / 2;
+ //centering lens
+ this.node.css({
+ top: 0,
+ left: 0,
+ width: this.node.w + 'px',
+ height: this.node.h + 'px',
+ position: 'absolute',
+ display: 'none',
+ borderWidth: 1 + 'px'
+ });
+
+
+
+ if (settings.zoomType == 'reverse') {
+ this.image.src = smallimage.node.src;
+ $(this.node).css({
+ 'opacity': 1
+ });
+
+ $(this.image).css({
+ position: 'absolute',
+ display: 'block',
+ left: -(this.node.left + 1 - smallimage.bleft) + 'px',
+ top: -(this.node.top + 1 - smallimage.btop) + 'px'
+ });
+
+ }
+ };
+ this.setcenter = function () {
+ //calculating center position
+ this.node.top = (smallimage.oh - this.node.h - 2) / 2;
+ this.node.left = (smallimage.ow - this.node.w - 2) / 2;
+ //centering lens
+ this.node.css({
+ top: this.node.top,
+ left: this.node.left
+ });
+ if (settings.zoomType == 'reverse') {
+ $(this.image).css({
+ position: 'absolute',
+ display: 'block',
+ left: -(this.node.left + 1 - smallimage.bleft) + 'px',
+ top: -(this.node.top + 1 - smallimage.btop) + 'px'
+ });
+
+ }
+ //centering large image
+ largeimage.setposition();
+ };
+ this.setposition = function (e) {
+ el.mousepos.x = e.pageX;
+ el.mousepos.y = e.pageY;
+ var lensleft = 0;
+ var lenstop = 0;
+
+ function overleft(lens) {
+ return el.mousepos.x - (lens.w) / 2 < smallimage.pos.l;
+ }
+
+ function overright(lens) {
+ return el.mousepos.x + (lens.w) / 2 > smallimage.pos.r;
+
+ }
+
+ function overtop(lens) {
+ return el.mousepos.y - (lens.h) / 2 < smallimage.pos.t;
+ }
+
+ function overbottom(lens) {
+ return el.mousepos.y + (lens.h) / 2 > smallimage.pos.b;
+ }
+
+ lensleft = el.mousepos.x + smallimage.bleft - smallimage.pos.l - (this.node.w + 2) / 2;
+ lenstop = el.mousepos.y + smallimage.btop - smallimage.pos.t - (this.node.h + 2) / 2;
+ if (overleft(this.node)) {
+ lensleft = smallimage.bleft - 1;
+ } else if (overright(this.node)) {
+ lensleft = smallimage.w + smallimage.bleft - this.node.w - 1;
+ }
+ if (overtop(this.node)) {
+ lenstop = smallimage.btop - 1;
+ } else if (overbottom(this.node)) {
+ lenstop = smallimage.h + smallimage.btop - this.node.h - 1;
+ }
+
+ this.node.left = lensleft;
+ this.node.top = lenstop;
+ this.node.css({
+ 'left': lensleft + 'px',
+ 'top': lenstop + 'px'
+ });
+ if (settings.zoomType == 'reverse') {
+ if ($.browser.msie && $.browser.version > 7) {
+ $(this.node).empty().append(this.image);
+ }
+
+ $(this.image).css({
+ position: 'absolute',
+ display: 'block',
+ left: -(this.node.left + 1 - smallimage.bleft) + 'px',
+ top: -(this.node.top + 1 - smallimage.btop) + 'px'
+ });
+ }
+
+ largeimage.setposition();
+ };
+ this.hide = function () {
+ img.css({
+ 'opacity': 1
+ });
+ this.node.hide();
+ };
+ this.show = function () {
+
+ if (settings.zoomType != 'innerzoom' && (settings.lens || settings.zoomType == 'drag')) {
+ this.node.show();
+ }
+
+ if (settings.zoomType == 'reverse') {
+ img.css({
+ 'opacity': settings.imageOpacity
+ });
+ }
+ };
+ this.getoffset = function () {
+ var o = {};
+ o.left = $obj.node.left;
+ o.top = $obj.node.top;
+ return o;
+ };
+ return this;
+ };
+/*========================================================,
+| Stage
+|---------------------------------------------------------:
+| Window area that contains the large image
+`========================================================*/
+
+ function Stage() {
+ var $obj = this;
+ this.node = $("");
+ this.ieframe = $('');
+ this.setposition = function () {
+ this.node.leftpos = 0;
+ this.node.toppos = 0;
+ if (settings.zoomType != 'innerzoom') {
+ //positioning
+ switch (settings.position) {
+ case "left":
+ this.node.leftpos = (smallimage.pos.l - smallimage.bleft - Math.abs(settings.xOffset) - settings.zoomWidth > 0) ? (0 - settings.zoomWidth - Math.abs(settings.xOffset)) : (smallimage.ow + Math.abs(settings.xOffset));
+ this.node.toppos = Math.abs(settings.yOffset);
+ break;
+ case "top":
+ this.node.leftpos = Math.abs(settings.xOffset);
+ this.node.toppos = (smallimage.pos.t - smallimage.btop - Math.abs(settings.yOffset) - settings.zoomHeight > 0) ? (0 - settings.zoomHeight - Math.abs(settings.yOffset)) : (smallimage.oh + Math.abs(settings.yOffset));
+ break;
+ case "bottom":
+ this.node.leftpos = Math.abs(settings.xOffset);
+ this.node.toppos = (smallimage.pos.t - smallimage.btop + smallimage.oh + Math.abs(settings.yOffset) + settings.zoomHeight < screen.height) ? (smallimage.oh + Math.abs(settings.yOffset)) : (0 - settings.zoomHeight - Math.abs(settings.yOffset));
+ break;
+ default:
+ this.node.leftpos = (smallimage.rightlimit + Math.abs(settings.xOffset) + settings.zoomWidth < screen.width) ? (smallimage.ow + Math.abs(settings.xOffset)) : (0 - settings.zoomWidth - Math.abs(settings.xOffset));
+ this.node.toppos = Math.abs(settings.yOffset);
+ break;
+ }
+ }
+ this.node.css({
+ 'left': this.node.leftpos + 'px',
+ 'top': this.node.toppos + 'px'
+ });
+ return this;
+ };
+ this.append = function () {
+ $('.zoomPad', el).append(this.node);
+ this.node.css({
+ position: 'absolute',
+ display: 'none',
+ zIndex: 5001
+ });
+ if (settings.zoomType == 'innerzoom') {
+ this.node.css({
+ cursor: 'default'
+ });
+ var thickness = (smallimage.bleft == 0) ? 1 : smallimage.bleft;
+ $('.zoomWrapper', this.node).css({
+ borderWidth: thickness + 'px'
+ });
+ }
+
+ $('.zoomWrapper', this.node).css({
+ width: Math.round(settings.zoomWidth) + 'px' ,
+ borderWidth: thickness + 'px'
+ });
+ $('.zoomWrapperImage', this.node).css({
+ width: '100%',
+ height: Math.round(settings.zoomHeight) + 'px'
+ });
+ //zoom title
+ $('.zoomWrapperTitle', this.node).css({
+ width: '100%',
+ position: 'absolute'
+ });
+
+ $('.zoomWrapperTitle', this.node).hide();
+ if (settings.title && zoomtitle.length > 0) {
+ $('.zoomWrapperTitle', this.node).html(zoomtitle).show();
+ }
+ $obj.setposition();
+ };
+ this.hide = function () {
+ switch (settings.hideEffect) {
+ case 'fadeout':
+ this.node.fadeOut(settings.fadeoutSpeed, function () {});
+ break;
+ default:
+ this.node.hide();
+ break;
+ }
+ this.ieframe.hide();
+ };
+ this.show = function () {
+ switch (settings.showEffect) {
+ case 'fadein':
+ this.node.fadeIn();
+ this.node.fadeIn(settings.fadeinSpeed, function () {});
+ break;
+ default:
+ this.node.show();
+ break;
+ }
+ if (isIE6 && settings.zoomType != 'innerzoom') {
+ this.ieframe.width = this.node.width();
+ this.ieframe.height = this.node.height();
+ this.ieframe.left = this.node.leftpos;
+ this.ieframe.top = this.node.toppos;
+ this.ieframe.css({
+ display: 'block',
+ position: "absolute",
+ left: this.ieframe.left,
+ top: this.ieframe.top,
+ zIndex: 99,
+ width: this.ieframe.width + 'px',
+ height: this.ieframe.height + 'px'
+ });
+ $('.zoomPad', el).append(this.ieframe);
+ this.ieframe.show();
+ };
+ };
+ };
+/*========================================================,
+| LargeImage
+|---------------------------------------------------------:
+| The large detailed image
+`========================================================*/
+
+ function Largeimage() {
+ var $obj = this;
+ this.node = new Image();
+ this.loadimage = function (url) {
+ //showing preload
+ loader.show();
+ this.url = url;
+ this.node.style.position = 'absolute';
+ this.node.style.border = '0px';
+ this.node.style.display = 'none';
+ this.node.style.left = '-5000px';
+ this.node.style.top = '0px';
+ document.body.appendChild(this.node);
+ this.node.src = url; // fires off async
+ };
+ this.fetchdata = function () {
+ var image = $(this.node);
+ var scale = {};
+ this.node.style.display = 'block';
+ $obj.w = image.width();
+ $obj.h = image.height();
+ $obj.pos = image.offset();
+ $obj.pos.l = image.offset().left;
+ $obj.pos.t = image.offset().top;
+ $obj.pos.r = $obj.w + $obj.pos.l;
+ $obj.pos.b = $obj.h + $obj.pos.t;
+ scale.x = ($obj.w / smallimage.w);
+ scale.y = ($obj.h / smallimage.h);
+ el.scale = scale;
+ document.body.removeChild(this.node);
+ $('.zoomWrapperImage', el).empty().append(this.node);
+ //setting lens dimensions;
+ lens.setdimensions();
+ };
+ this.node.onerror = function () {
+ alert('Problems while loading the big image.');
+ throw 'Problems while loading the big image.';
+ };
+ this.node.onload = function () {
+ //fetching data
+ $obj.fetchdata();
+ loader.hide();
+ el.largeimageloading = false;
+ el.largeimageloaded = true;
+ if (settings.zoomType == 'drag' || settings.alwaysOn) {
+ lens.show();
+ stage.show();
+ lens.setcenter();
+ }
+ };
+ this.setposition = function () {
+ var left = -el.scale.x * (lens.getoffset().left - smallimage.bleft + 1);
+ var top = -el.scale.y * (lens.getoffset().top - smallimage.btop + 1);
+ $(this.node).css({
+ 'left': left + 'px',
+ 'top': top + 'px'
+ });
+ };
+ return this;
+ };
+ $(el).data("jqzoom", obj);
+ };
+ //es. $.jqzoom.disable('#jqzoom1');
+ $.jqzoom = {
+ defaults: {
+ zoomType: 'standard',
+ //innerzoom/standard/reverse/drag
+ zoomWidth: 300,
+ //zoomWindow default width
+ zoomHeight: 300,
+ //zoomWindow default height
+ xOffset: 10,
+ //zoomWindow x offset, can be negative(more on the left) or positive(more on the right)
+ yOffset: 0,
+ //zoomWindow y offset, can be negative(more on the left) or positive(more on the right)
+ position: "right",
+ //zoomWindow default position
+ preloadImages: true,
+ //image preload
+ preloadText: 'Loading zoom',
+ title: true,
+ lens: true,
+ imageOpacity: 0.4,
+ alwaysOn: false,
+ showEffect: 'show',
+ //show/fadein
+ hideEffect: 'hide',
+ //hide/fadeout
+ fadeinSpeed: 'slow',
+ //fast/slow/number
+ fadeoutSpeed: '2000' //fast/slow/number
+ },
+ disable: function (el) {
+ var api = $(el).data('jqzoom');
+ api.disable();
+ return false;
+ },
+ enable: function (el) {
+ var api = $(el).data('jqzoom');
+ api.enable();
+ return false;
+ },
+ disableAll: function (el) {
+ jqzoompluging_disabled = true;
+ },
+ enableAll: function (el) {
+ jqzoompluging_disabled = false;
+ }
+ };
+})(jQuery);
\ No newline at end of file
diff --git a/Ch8/scripts/jquery.livequery.js b/Ch8/scripts/jquery.livequery.js
deleted file mode 100644
index ee7c5f1..0000000
--- a/Ch8/scripts/jquery.livequery.js
+++ /dev/null
@@ -1,250 +0,0 @@
-/* Copyright (c) 2007 Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
- * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
- * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
- *
- * Version: 1.0.2
- * Requires jQuery 1.1.3+
- * Docs: http://docs.jquery.com/Plugins/livequery
- */
-
-(function($) {
-
-$.extend($.fn, {
- livequery: function(type, fn, fn2) {
- var self = this, q;
-
- // Handle different call patterns
- if ($.isFunction(type))
- fn2 = fn, fn = type, type = undefined;
-
- // See if Live Query already exists
- $.each( $.livequery.queries, function(i, query) {
- if ( self.selector == query.selector && self.context == query.context &&
- type == query.type && (!fn || fn.$lqguid == query.fn.$lqguid) && (!fn2 || fn2.$lqguid == query.fn2.$lqguid) )
- // Found the query, exit the each loop
- return (q = query) && false;
- });
-
- // Create new Live Query if it wasn't found
- q = q || new $.livequery(this.selector, this.context, type, fn, fn2);
-
- // Make sure it is running
- q.stopped = false;
-
- // Run it
- $.livequery.run( q.id );
-
- // Contnue the chain
- return this;
- },
-
- expire: function(type, fn, fn2) {
- var self = this;
-
- // Handle different call patterns
- if ($.isFunction(type))
- fn2 = fn, fn = type, type = undefined;
-
- // Find the Live Query based on arguments and stop it
- $.each( $.livequery.queries, function(i, query) {
- if ( self.selector == query.selector && self.context == query.context &&
- (!type || type == query.type) && (!fn || fn.$lqguid == query.fn.$lqguid) && (!fn2 || fn2.$lqguid == query.fn2.$lqguid) && !this.stopped )
- $.livequery.stop(query.id);
- });
-
- // Continue the chain
- return this;
- }
-});
-
-$.livequery = function(selector, context, type, fn, fn2) {
- this.selector = selector;
- this.context = context || document;
- this.type = type;
- this.fn = fn;
- this.fn2 = fn2;
- this.elements = [];
- this.stopped = false;
-
- // The id is the index of the Live Query in $.livequery.queries
- this.id = $.livequery.queries.push(this)-1;
-
- // Mark the functions for matching later on
- fn.$lqguid = fn.$lqguid || $.livequery.guid++;
- if (fn2) fn2.$lqguid = fn2.$lqguid || $.livequery.guid++;
-
- // Return the Live Query
- return this;
-};
-
-$.livequery.prototype = {
- stop: function() {
- var query = this;
-
- if ( this.type )
- // Unbind all bound events
- this.elements.unbind(this.type, this.fn);
- else if (this.fn2)
- // Call the second function for all matched elements
- this.elements.each(function(i, el) {
- query.fn2.apply(el);
- });
-
- // Clear out matched elements
- this.elements = [];
-
- // Stop the Live Query from running until restarted
- this.stopped = true;
- },
-
- run: function() {
- // Short-circuit if stopped
- if ( this.stopped ) return;
- var query = this;
-
- var oEls = this.elements,
- els = $(this.selector, this.context),
- nEls = els.not(oEls);
-
- // Set elements to the latest set of matched elements
- this.elements = els;
-
- if (this.type) {
- // Bind events to newly matched elements
- nEls.bind(this.type, this.fn);
-
- // Unbind events to elements no longer matched
- if (oEls.length > 0)
- $.each(oEls, function(i, el) {
- if ( $.inArray(el, els) < 0 )
- $.event.remove(el, query.type, query.fn);
- });
- }
- else {
- // Call the first function for newly matched elements
- nEls.each(function() {
- query.fn.apply(this);
- });
-
- // Call the second function for elements no longer matched
- if ( this.fn2 && oEls.length > 0 )
- $.each(oEls, function(i, el) {
- if ( $.inArray(el, els) < 0 )
- query.fn2.apply(el);
- });
- }
- }
-};
-
-$.extend($.livequery, {
- guid: 0,
- queries: [],
- queue: [],
- running: false,
- timeout: null,
-
- checkQueue: function() {
- if ( $.livequery.running && $.livequery.queue.length ) {
- var length = $.livequery.queue.length;
- // Run each Live Query currently in the queue
- while ( length-- )
- $.livequery.queries[ $.livequery.queue.shift() ].run();
- }
- },
-
- pause: function() {
- // Don't run anymore Live Queries until restarted
- $.livequery.running = false;
- },
-
- play: function() {
- // Restart Live Queries
- $.livequery.running = true;
- // Request a run of the Live Queries
- $.livequery.run();
- },
-
- registerPlugin: function() {
- $.each( arguments, function(i,n) {
- // Short-circuit if the method doesn't exist
- if (!$.fn[n]) return;
-
- // Save a reference to the original method
- var old = $.fn[n];
-
- // Create a new method
- $.fn[n] = function() {
- // Call the original method
- var r = old.apply(this, arguments);
-
- // Request a run of the Live Queries
- $.livequery.run();
-
- // Return the original methods result
- return r;
- }
- });
- },
-
- run: function(id) {
- if (id != undefined) {
- // Put the particular Live Query in the queue if it doesn't already exist
- if ( $.inArray(id, $.livequery.queue) < 0 )
- $.livequery.queue.push( id );
- }
- else
- // Put each Live Query in the queue if it doesn't already exist
- $.each( $.livequery.queries, function(id) {
- if ( $.inArray(id, $.livequery.queue) < 0 )
- $.livequery.queue.push( id );
- });
-
- // Clear timeout if it already exists
- if ($.livequery.timeout) clearTimeout($.livequery.timeout);
- // Create a timeout to check the queue and actually run the Live Queries
- $.livequery.timeout = setTimeout($.livequery.checkQueue, 20);
- },
-
- stop: function(id) {
- if (id != undefined)
- // Stop are particular Live Query
- $.livequery.queries[ id ].stop();
- else
- // Stop all Live Queries
- $.each( $.livequery.queries, function(id) {
- $.livequery.queries[ id ].stop();
- });
- }
-});
-
-// Register core DOM manipulation methods
-$.livequery.registerPlugin('append', 'prepend', 'after', 'before', 'wrap', 'attr', 'removeAttr', 'addClass', 'removeClass', 'toggleClass', 'empty', 'remove');
-
-// Run Live Queries when the Document is ready
-$(function() { $.livequery.play(); });
-
-
-// Save a reference to the original init method
-var init = $.prototype.init;
-
-// Create a new init method that exposes two new properties: selector and context
-$.prototype.init = function(a,c) {
- // Call the original init and save the result
- var r = init.apply(this, arguments);
-
- // Copy over properties if they exist already
- if (a && a.selector)
- r.context = a.context, r.selector = a.selector;
-
- // Set properties
- if ( typeof a == 'string' )
- r.context = c || document, r.selector = a;
-
- // Return the result
- return r;
-};
-
-// Give the init function the jQuery prototype for later instantiation (needed after Rev 4091)
-$.prototype.init.prototype = $.prototype;
-
-})(jQuery);
\ No newline at end of file
diff --git a/Ch8/scripts/jquery.simplemodal.js b/Ch8/scripts/jquery.simplemodal.js
new file mode 100644
index 0000000..6a68fd0
--- /dev/null
+++ b/Ch8/scripts/jquery.simplemodal.js
@@ -0,0 +1,26 @@
+/*
+ * SimpleModal 1.4.2 - jQuery Plugin
+ * http://simplemodal.com/
+ * Copyright (c) 2011 Eric Martin
+ * Licensed under MIT and GPL
+ * Date: Sat, Dec 17 2011 14:35:42 -0800
+ */
+(function(b){"function"===typeof define&&define.amd?define(["jquery"],b):b(jQuery)})(function(b){var j=[],k=b(document),l=b.browser.msie&&6===parseInt(b.browser.version)&&"object"!==typeof window.XMLHttpRequest,n=b.browser.msie&&7===parseInt(b.browser.version),m=null,h=b(window),i=[];b.modal=function(a,d){return b.modal.impl.init(a,d)};b.modal.close=function(){b.modal.impl.close()};b.modal.focus=function(a){b.modal.impl.focus(a)};b.modal.setContainerDimensions=function(){b.modal.impl.setContainerDimensions()};
+b.modal.setPosition=function(){b.modal.impl.setPosition()};b.modal.update=function(a,d){b.modal.impl.update(a,d)};b.fn.modal=function(a){return b.modal.impl.init(this,a)};b.modal.defaults={appendTo:"body",focus:!0,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:!1,autoPosition:!0,zIndex:1E3,close:!0,closeHTML:' ',
+closeClass:"simplemodal-close",escClose:!0,overlayClose:!1,fixed:!0,position:null,persist:!1,modal:!0,onOpen:null,onShow:null,onClose:null};b.modal.impl={d:{},init:function(a,d){if(this.d.data)return!1;m=b.browser.msie&&!b.boxModel;this.o=b.extend({},b.modal.defaults,d);this.zIndex=this.o.zIndex;this.occb=!1;if("object"===typeof a){if(a=a instanceof jQuery?a:b(a),this.d.placeholder=!1,0 ").attr("id","simplemodal-placeholder").css({display:"none"})),
+this.d.placeholder=!0,this.display=a.css("display"),!this.o.persist))this.d.orig=a.clone(!0)}else if("string"===typeof a||"number"===typeof a)a=b("
").html(a);else return alert("SimpleModal Error: Unsupported data type: "+typeof a),this;this.create(a);this.open();b.isFunction(this.o.onShow)&&this.o.onShow.apply(this,[this.d]);return this},create:function(a){this.getDimensions();if(this.o.modal&&l)this.d.iframe=b('').css(b.extend(this.o.iframeCss,
+{display:"none",opacity:0,position:"fixed",height:i[0],width:i[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo);this.d.overlay=b("
").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(b.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?j[0]:0,width:this.o.modal?j[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo);this.d.container=b("
").attr("id",this.o.containerId).addClass("simplemodal-container").css(b.extend({position:this.o.fixed?
+"fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?b(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo);this.d.wrap=b("
").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container);this.d.data=a.attr("id",a.attr("id")||this.o.dataId).addClass("simplemodal-data").css(b.extend(this.o.dataCss,{display:"none"})).appendTo("body");this.setContainerDimensions();
+this.d.data.appendTo(this.d.wrap);(l||m)&&this.fixIE()},bindEvents:function(){var a=this;b("."+a.o.closeClass).bind("click.simplemodal",function(b){b.preventDefault();a.close()});a.o.modal&&a.o.close&&a.o.overlayClose&&a.d.overlay.bind("click.simplemodal",function(b){b.preventDefault();a.close()});k.bind("keydown.simplemodal",function(b){a.o.modal&&9===b.keyCode?a.watchTab(b):a.o.close&&a.o.escClose&&27===b.keyCode&&(b.preventDefault(),a.close())});h.bind("resize.simplemodal orientationchange.simplemodal",
+function(){a.getDimensions();a.o.autoResize?a.setContainerDimensions():a.o.autoPosition&&a.setPosition();l||m?a.fixIE():a.o.modal&&(a.d.iframe&&a.d.iframe.css({height:i[0],width:i[1]}),a.d.overlay.css({height:j[0],width:j[1]}))})},unbindEvents:function(){b("."+this.o.closeClass).unbind("click.simplemodal");k.unbind("keydown.simplemodal");h.unbind(".simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var a=this.o.position;b.each([this.d.iframe||null,!this.o.modal?null:this.d.overlay,
+"fixed"===this.d.container.css("position")?this.d.container:null],function(b,f){if(f){var g=f[0].style;g.position="absolute";if(2>b)g.removeExpression("height"),g.removeExpression("width"),g.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),g.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"');else{var c,e;a&&a.constructor===
+Array?(c=a[0]?"number"===typeof a[0]?a[0].toString():a[0].replace(/px/,""):f.css("top").replace(/px/,""),c=-1===c.indexOf("%")?c+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(c.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',a[1]&&(e="number"===typeof a[1]?
+a[1].toString():a[1].replace(/px/,""),e=-1===e.indexOf("%")?e+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(e.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(c='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',
+e='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"');g.removeExpression("top");g.removeExpression("left");g.setExpression("top",c);g.setExpression("left",e)}}})},focus:function(a){var d=this,a=a&&-1!==b.inArray(a,["first","last"])?a:"first",f=b(":input:enabled:visible:"+a,d.d.wrap);setTimeout(function(){0b.fn.jquery||b.browser.opera&&"9.5">b.browser.version&&"1.2.6"c?c:dc?c:this.o.minHeight&&
+"auto"!==h&&fe?e:ae?e:this.o.minWidth&&"auto"!==c&&gd||g>a?"auto":"visible"});this.o.autoPosition&&this.setPosition()},setPosition:function(){var a,b;a=i[0]/2-this.d.container.outerHeight(!0)/2;b=i[1]/2-this.d.container.outerWidth(!0)/2;var f="fixed"!==this.d.container.css("position")?h.scrollTop():0;this.o.position&&"[object Array]"===
+Object.prototype.toString.call(this.o.position)?(a=f+(this.o.position[0]||a),b=this.o.position[1]||b):a=f+a;this.d.container.css({left:b,top:a})},watchTab:function(a){if(0