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 @@ - - - - -表格 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
第1行第1行第1行第1行第2行
第2行第2行第2行第2行第2行
第3行第3行第3行第3行第3行
第4行第4行第4行第4行第4行
- + + + + +表格 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
第1行第1行第1行第1行第2行
第2行第2行第2行第2行第2行
第3行第3行第3行第3行第3行
第4行第4行第4行第4行第4行
+ \ 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 @@ + + + + + + + + + + +篮球 +足球 +羽毛球 + + + + \ 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 @@ + + + + + + + + + +

+
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 @@ + + + + + + + + + +

+
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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +
111122223333
111122223333
111122223333
+ + + + \ 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 @@ + + + + + + + + + + + + + \ 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 @@ + + + + + + + + +
+

锋利的jQuery

+
+ + + \ 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 @@ + + + + + + + + +
+ +
+ + + \ 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 @@ + + + + + + + + +
+ home +
+ + + \ 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
-
- - - - -
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
+
+ + + + +
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 - - - - - - - -

表单对象属性过滤选择器.

-
- -

- - - -

- - - - 可用元素:
- 不可用元素:
- 可用元素:
- 不可用元素:
-
- 多选框:
- test1 - test2 - test3 - test4 - test5 -
- -

- 下拉列表1:
- - -

- 下拉列表2:
- -

- -
-
- - - - - + + + + + 2-11 + + + + + + + +

表单对象属性过滤选择器.

+
+ +

+ + + +

+ + + + 可用元素:
+ 不可用元素:
+ 可用元素:
+ 不可用元素:
+
+ 多选框:
+ test1 + test2 + test3 + test4 + test5 +
+ +

+ 下拉列表1:
+ + +

+ 下拉列表2:
+ +

+ +
+
+ + + + + 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 - - - - - -
-
- 123
-
-
test

-
-
- 12
-
-
-
-
-
-
-
- -
- - + + + + + 2-12 + + + + + +
+
+ 123
+
+
test

+
+
+ 12
+
+
+
+
+
+
+
+ +
+ + 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 - - - - - - -
-
aa
-
bb
-
cc
- -
- - - - + + + + new document + + + + + + +
+
aa
+
bb
+
cc
+ +
+ + + + 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
-
- - - - -
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
+
+ + + + +
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
-
- - - - -
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
+
+ + + + +
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
-
- - - - -
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
+
+ + + + +
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
-
- - - - -
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
+
+ + + + +
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
-
- - - - -
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
+
+ + + + +
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
-
- - - - -
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
+
+ + + + +
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 - 多选4 - -
- - 单选1 - 单选2 - 单选3 - - - + + + + +3-10-3 + + + + + + + + + + +

+ + + + + +

+ + + 多选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 - 多选4 - -
- - 单选1 - 单选2 - 单选3 - - - + + + + +3-10-4 + + + + + + + + + + +

+ + + + + +

+ + + 多选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 @@ - - - - - - - - - -
-
-

卡通动漫

-
- 1234 -
-
- 上一页 - 下一页 -
- 更多>> -
-
-
- -
-
-
- - + + + + + + + + + +
+
+

卡通动漫

+
+ 1234 +
+
+ 上一页 + 下一页 +
+ 更多>> +
+
+
+ +
+
+
+ + \ 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 @@ - - - - - - - - - - - - - -
-
-

卡通动漫

-
- 1234 -
-
- 上一页 - 下一页 -
- 更多>> -
-
-
- -
-
-
- - - - - - - + + + + + + + + + + + + + +
+
+

卡通动漫

+
+ 1234 +
+
+ 上一页 + 下一页 +
+ 更多>> +
+
+
+ +
+
+
+ + + + + + + \ 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 @@ - - - - - - - - - - - - - -
-
-

卡通动漫

-
- 1234 -
-
- 上一页 - 下一页 -
- 更多>> -
-
-
- -
-
-
- - - - - - - + + + + + + + + + + + + + +
+
+

卡通动漫

+
+ 1234 +
+
+ 上一页 + 下一页 +
+ 更多>> +
+
+
+ +
+
+
+ + + + + + + \ 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 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + \ 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 - - - - - - - - - - - - - -
-
什么是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-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 - - - - - - -
动画元素
- + + + + +Panel + + + + + + +
动画元素
+ \ 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 - - - - - - - - - - - - - -
-
什么是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-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 @@ - - - - - - - - - - - - -
- -
- 选中添加到右边>> - 全部添加到右边>> -
-
- -
- -
- <<选中删除到左边 - <<全部删除到左边 -
-
- - - + + + + + + + + + + + + +
+ +
+ 选中添加到右边>> + 全部添加到右边>> +
+
+ +
+ +
+ <<选中删除到左边 + <<全部删除到左边 +
+
+ + + \ 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Աס
ɽ
Ů
ϳɳ
Rain
MAXMANŮ
- + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Աס
ɽ
Ů
ϳɳ
Rain
MAXMANŮ
+ \ 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Աס
ɽ
Ů
ϳɳ
Rain
MAXMANŮ
- + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Աס
ɽ
Ů
ϳɳ
Rain
MAXMANŮ
+ \ 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Աס
ɽ
Ů
ϳɳ
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/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("
"&username&" :

"&content&"

") +<%@ codepage=65001%> +<% +dim username,content +username=request.QueryString("username") +content=request.QueryString("content") +response.Write("
"&username&" :

"&content&"

") %> \ 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("
"&username&" :

"&content&"

") +<%@ codepage=65001%> +<% +dim username,content +'POST GET Request.Form Request.QueryString +username=request.Form("username") +content=request.Form("content") +response.Write("
"&username&" :

"&content&"

") %> \ 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("
"&username&" :

"&content&"

") +<%@ codepage=65001%> +<% +dim username,content +username=request.QueryString("username") +content=request.QueryString("content") +response.Write("
"&username&" :

"&content&"

") %> \ 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("
"&username&" :

"&content&"

") +<%@ codepage=65001%> +<% +dim username,content +username=request.QueryString("username") +content=request.QueryString("content") +response.Write("
"&username&" :

"&content&"

") %> \ 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("
"+username+" :

"+content+"

"); +<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> +<% + String username = request.getParameter("username"); + String content = request.getParameter("content"); + out.println("
"+username+" :

"+content+"

"); %> \ 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("
"+username+" :

"+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+" :

"+content+"

"); %> \ 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("
"+username+" :

"+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+" :

"+content+"

"); %> \ 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("
"+username+" :

"+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+" :

"+content+"

"); %> \ 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 - - - - ɳ! - - - - ! - + + + 1 + + + + ɳ! + + + + ! + \ 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 @@ - - - - - - - - - - - - - - -
-
- 一个简单的验证带验证提示的评论例子 -

- - * -

-

- - * -

-

- - -

-

- - * -

-

- - =7+9 -

-

- -

-
-
- - + + + + + + + + + + + + + + +
+
+ 一个简单的验证带验证提示的评论例子 +

+ + * +

+

+ + * +

+

+ + +

+

+ + * +

+

+ + =7+9 +

+

+ +

+
+
+ + 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 = $(''); + 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
"); - $("#TB_overlay").click(tb_remove); - } - }else{//all others - if(document.getElementById("TB_overlay") === null){ - $("body").append("
"); - $("#TB_overlay").click(tb_remove); - } - } - - if(tb_detectMacXFF()){ - $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash - }else{ - $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity - } - - if(caption===null){caption="";} - $("body").append("
");//add loader to the page - $('#TB_load').show();//show loader - - var baseURL; - if(url.indexOf("?")!==-1){ //ff there is a query string involved - baseURL = url.substr(0, url.indexOf("?")); - }else{ - baseURL = url; - } - - var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; - var urlType = baseURL.toLowerCase().match(urlString); - - if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images - - TB_PrevCaption = ""; - TB_PrevURL = ""; - TB_PrevHTML = ""; - TB_NextCaption = ""; - TB_NextURL = ""; - TB_NextHTML = ""; - TB_imageCount = ""; - TB_FoundURL = false; - if(imageGroup){ - TB_TempArray = $("a[@rel="+imageGroup+"]").get(); - for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { - var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); - if (!(TB_TempArray[TB_Counter].href == url)) { - if (TB_FoundURL) { - TB_NextCaption = TB_TempArray[TB_Counter].title; - TB_NextURL = TB_TempArray[TB_Counter].href; - TB_NextHTML = "  Next >"; - } else { - TB_PrevCaption = TB_TempArray[TB_Counter].title; - TB_PrevURL = TB_TempArray[TB_Counter].href; - TB_PrevHTML = "  < Prev"; - } - } else { - TB_FoundURL = true; - TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); - } - } - } - - imgPreloader = new Image(); - imgPreloader.onload = function(){ - imgPreloader.onload = null; - - // Resizing large images - orginal by Christian Montoya edited by me. - var pagesize = tb_getPageSize(); - var x = pagesize[0] - 150; - var y = pagesize[1] - 150; - var imageWidth = imgPreloader.width; - var imageHeight = imgPreloader.height; - if (imageWidth > x) { - imageHeight = imageHeight * (x / imageWidth); - imageWidth = x; - if (imageHeight > y) { - imageWidth = imageWidth * (y / imageHeight); - imageHeight = y; - } - } else if (imageHeight > y) { - imageWidth = imageWidth * (y / imageHeight); - imageHeight = y; - if (imageWidth > x) { - imageHeight = imageHeight * (x / imageWidth); - imageWidth = x; - } - } - // End Resizing - - TB_WIDTH = imageWidth + 30; - TB_HEIGHT = imageHeight + 60; - $("#TB_window").append(""+caption+"" + "
"+caption+"
" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
close or Esc Key
"); - - $("#TB_closeWindowButton").click(tb_remove); - - if (!(TB_PrevHTML === "")) { - function goPrev(){ - if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);} - $("#TB_window").remove(); - $("body").append("
"); - tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); - return false; - } - $("#TB_prev").click(goPrev); - } - - if (!(TB_NextHTML === "")) { - function goNext(){ - $("#TB_window").remove(); - $("body").append("
"); - tb_show(TB_NextCaption, TB_NextURL, imageGroup); - return false; - } - $("#TB_next").click(goNext); - - } - - document.onkeydown = function(e){ - if (e == null) { // ie - keycode = event.keyCode; - } else { // mozilla - keycode = e.which; - } - if(keycode == 27){ // close - tb_remove(); - } else if(keycode == 190){ // display previous image - if(!(TB_NextHTML == "")){ - document.onkeydown = ""; - goNext(); - } - } else if(keycode == 188){ // display next image - if(!(TB_PrevHTML == "")){ - document.onkeydown = ""; - goPrev(); - } - } - }; - - tb_position(); - $("#TB_load").remove(); - $("#TB_Image").click(tb_remove); - $("#TB_window").css({display:"block"}); //for safari using css instead of show - }; - - imgPreloader.src = url; - }else{//code to show html - - var queryString = url.replace(/^[^\?]+\??/,''); - var params = tb_parseQuery( queryString ); - - TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL - TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL - ajaxContentW = TB_WIDTH - 30; - ajaxContentH = TB_HEIGHT - 45; - - if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window - urlNoQuery = url.split('TB_'); - $("#TB_iframeContent").remove(); - if(params['modal'] != "true"){//iframe no modal - $("#TB_window").append("
"+caption+"
close or Esc Key
"); - }else{//iframe modal - $("#TB_overlay").unbind(); - $("#TB_window").append(""); - } - }else{// not an iframe, ajax - if($("#TB_window").css("display") != "block"){ - if(params['modal'] != "true"){//ajax no modal - $("#TB_window").append("
"+caption+"
close or Esc Key
"); - }else{//ajax modal - $("#TB_overlay").unbind(); - $("#TB_window").append("
"); - } - }else{//this means the window is already up, we are just loading new content via ajax - $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; - $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; - $("#TB_ajaxContent")[0].scrollTop = 0; - $("#TB_ajaxWindowTitle").html(caption); - } - } - - $("#TB_closeWindowButton").click(tb_remove); - - if(url.indexOf('TB_inline') != -1){ - $("#TB_ajaxContent").append($('#' + params['inlineId']).children()); - $("#TB_window").unload(function () { - $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished - }); - tb_position(); - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); - }else if(url.indexOf('TB_iframe') != -1){ - tb_position(); - if($.browser.safari){//safari needs help because it will not fire iframe onload - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); - } - }else{ - $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method - tb_position(); - $("#TB_load").remove(); - tb_init("#TB_ajaxContent a.thickbox"); - $("#TB_window").css({display:"block"}); - }); - } - - } - - if(!params['modal']){ - document.onkeyup = function(e){ - if (e == null) { // ie - keycode = event.keyCode; - } else { // mozilla - keycode = e.which; - } - if(keycode == 27){ // close - tb_remove(); - } - }; - } - - } catch(e) { - //nothing here - } -} - -//helper functions below -function tb_showIframe(){ - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); -} - -function tb_remove() { - $("#TB_imageOff").unbind("click"); - $("#TB_closeWindowButton").unbind("click"); - $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();}); - $("#TB_load").remove(); - if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 - $("body","html").css({height: "auto", width: "auto"}); - $("html").css("overflow",""); - } - document.onkeydown = ""; - document.onkeyup = ""; - return false; -} - -function tb_position() { -$("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); - - if ( !(jQuery.browser.msie6)) { // take away IE6 - $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); - } -} - -function tb_parseQuery ( query ) { - var Params = {}; - if ( ! query ) {return Params;}// return empty object - var Pairs = query.split(/[;&]/); - for ( var i = 0; i < Pairs.length; i++ ) { - var KeyVal = Pairs[i].split('='); - if ( ! KeyVal || KeyVal.length != 2 ) {continue;} - var key = unescape( KeyVal[0] ); - var val = unescape( KeyVal[1] ); - val = val.replace(/\+/g, ' '); - Params[key] = val; - } - return Params; -} - -function tb_getPageSize(){ - var de = document.documentElement; - var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; - var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; - arrayPageSize = [w,h]; - return arrayPageSize; -} - -function tb_detectMacXFF() { - var userAgent = navigator.userAgent.toLowerCase(); - if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { - return true; - } -} - - +/* + * Thickbox 3.1 - One Box To Rule Them All. + * By Cody Lindley (http://www.codylindley.com) + * Copyright (c) 2007 cody lindley + * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php + * + * Patched Version by Jamie Thompson - Fixes IE7 Positioning Issues + * http://jamazon.co.uk/web/2008/03/17/thickbox-31-ie7-positioning-bug/ +*/ + +var tb_pathToImage = "images/loadingAnimation.gif"; + +/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ + +// fixes the fact that ie7 now reports itself as MSIE 6.0 compatible +$.browser.msie6 = + $.browser.msie + && /MSIE 6\.0/i.test(window.navigator.userAgent) + && !/MSIE 7\.0/i.test(window.navigator.userAgent); + +//on page load call tb_init +$(document).ready(function(){ + tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox + imgLoader = new Image();// preload image + imgLoader.src = tb_pathToImage; +}); + +//add thickbox to href & area elements that have a class of .thickbox +function tb_init(domChunk){ + $(domChunk).click(function(){ + var t = this.title || this.name || null; + var a = this.href || this.alt; + var g = this.rel || false; + tb_show(t,a,g); + this.blur(); + return false; + }).removeClass('thickbox'); +} + +function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link + + try { + if (typeof document.body.style.maxHeight === "undefined") {//if IE 6 + $("body","html").css({height: "100%", width: "100%"}); + $("html").css("overflow",""); + if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6 + $("body").append("
"); + $("#TB_overlay").click(tb_remove); + } + }else{//all others + if(document.getElementById("TB_overlay") === null){ + $("body").append("
"); + $("#TB_overlay").click(tb_remove); + } + } + + if(tb_detectMacXFF()){ + $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash + }else{ + $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity + } + + if(caption===null){caption="";} + $("body").append("
");//add loader to the page + $('#TB_load').show();//show loader + + var baseURL; + if(url.indexOf("?")!==-1){ //ff there is a query string involved + baseURL = url.substr(0, url.indexOf("?")); + }else{ + baseURL = url; + } + + var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; + var urlType = baseURL.toLowerCase().match(urlString); + + if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images + + TB_PrevCaption = ""; + TB_PrevURL = ""; + TB_PrevHTML = ""; + TB_NextCaption = ""; + TB_NextURL = ""; + TB_NextHTML = ""; + TB_imageCount = ""; + TB_FoundURL = false; + if(imageGroup){ + TB_TempArray = $("a[@rel="+imageGroup+"]").get(); + for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { + var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); + if (!(TB_TempArray[TB_Counter].href == url)) { + if (TB_FoundURL) { + TB_NextCaption = TB_TempArray[TB_Counter].title; + TB_NextURL = TB_TempArray[TB_Counter].href; + TB_NextHTML = "  Next >"; + } else { + TB_PrevCaption = TB_TempArray[TB_Counter].title; + TB_PrevURL = TB_TempArray[TB_Counter].href; + TB_PrevHTML = "  < Prev"; + } + } else { + TB_FoundURL = true; + TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); + } + } + } + + imgPreloader = new Image(); + imgPreloader.onload = function(){ + imgPreloader.onload = null; + + // Resizing large images - orginal by Christian Montoya edited by me. + var pagesize = tb_getPageSize(); + var x = pagesize[0] - 150; + var y = pagesize[1] - 150; + var imageWidth = imgPreloader.width; + var imageHeight = imgPreloader.height; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + } + } else if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + } + } + // End Resizing + + TB_WIDTH = imageWidth + 30; + TB_HEIGHT = imageHeight + 60; + $("#TB_window").append(""+caption+"" + "
"+caption+"
" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
close or Esc Key
"); + + $("#TB_closeWindowButton").click(tb_remove); + + if (!(TB_PrevHTML === "")) { + function goPrev(){ + if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);} + $("#TB_window").remove(); + $("body").append("
"); + tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); + return false; + } + $("#TB_prev").click(goPrev); + } + + if (!(TB_NextHTML === "")) { + function goNext(){ + $("#TB_window").remove(); + $("body").append("
"); + tb_show(TB_NextCaption, TB_NextURL, imageGroup); + return false; + } + $("#TB_next").click(goNext); + + } + + document.onkeydown = function(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + if(keycode == 27){ // close + tb_remove(); + } else if(keycode == 190){ // display previous image + if(!(TB_NextHTML == "")){ + document.onkeydown = ""; + goNext(); + } + } else if(keycode == 188){ // display next image + if(!(TB_PrevHTML == "")){ + document.onkeydown = ""; + goPrev(); + } + } + }; + + tb_position(); + $("#TB_load").remove(); + $("#TB_Image").click(tb_remove); + $("#TB_window").css({display:"block"}); //for safari using css instead of show + }; + + imgPreloader.src = url; + }else{//code to show html + + var queryString = url.replace(/^[^\?]+\??/,''); + var params = tb_parseQuery( queryString ); + + TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL + TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL + ajaxContentW = TB_WIDTH - 30; + ajaxContentH = TB_HEIGHT - 45; + + if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window + urlNoQuery = url.split('TB_'); + $("#TB_iframeContent").remove(); + if(params['modal'] != "true"){//iframe no modal + $("#TB_window").append("
"+caption+"
close or Esc Key
"); + }else{//iframe modal + $("#TB_overlay").unbind(); + $("#TB_window").append(""); + } + }else{// not an iframe, ajax + if($("#TB_window").css("display") != "block"){ + if(params['modal'] != "true"){//ajax no modal + $("#TB_window").append("
"+caption+"
close or Esc Key
"); + }else{//ajax modal + $("#TB_overlay").unbind(); + $("#TB_window").append("
"); + } + }else{//this means the window is already up, we are just loading new content via ajax + $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; + $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; + $("#TB_ajaxContent")[0].scrollTop = 0; + $("#TB_ajaxWindowTitle").html(caption); + } + } + + $("#TB_closeWindowButton").click(tb_remove); + + if(url.indexOf('TB_inline') != -1){ + $("#TB_ajaxContent").append($('#' + params['inlineId']).children()); + $("#TB_window").unload(function () { + $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished + }); + tb_position(); + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + }else if(url.indexOf('TB_iframe') != -1){ + tb_position(); + if($.browser.safari){//safari needs help because it will not fire iframe onload + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + } + }else{ + $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method + tb_position(); + $("#TB_load").remove(); + tb_init("#TB_ajaxContent a.thickbox"); + $("#TB_window").css({display:"block"}); + }); + } + + } + + if(!params['modal']){ + document.onkeyup = function(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + if(keycode == 27){ // close + tb_remove(); + } + }; + } + + } catch(e) { + //nothing here + } +} + +//helper functions below +function tb_showIframe(){ + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); +} + +function tb_remove() { + $("#TB_imageOff").unbind("click"); + $("#TB_closeWindowButton").unbind("click"); + $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();}); + $("#TB_load").remove(); + if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 + $("body","html").css({height: "auto", width: "auto"}); + $("html").css("overflow",""); + } + document.onkeydown = ""; + document.onkeyup = ""; + return false; +} + +function tb_position() { +$("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); + + if ( !(jQuery.browser.msie6)) { // take away IE6 + $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); + } +} + +function tb_parseQuery ( query ) { + var Params = {}; + if ( ! query ) {return Params;}// return empty object + var Pairs = query.split(/[;&]/); + for ( var i = 0; i < Pairs.length; i++ ) { + var KeyVal = Pairs[i].split('='); + if ( ! KeyVal || KeyVal.length != 2 ) {continue;} + var key = unescape( KeyVal[0] ); + var val = unescape( KeyVal[1] ); + val = val.replace(/\+/g, ' '); + Params[key] = val; + } + return Params; +} + +function tb_getPageSize(){ + var de = document.documentElement; + var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; + var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; + arrayPageSize = [w,h]; + return arrayPageSize; +} + +function tb_detectMacXFF() { + var userAgent = navigator.userAgent.toLowerCase(); + if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { + return true; + } +} + + diff --git a/Ch8/scripts/nav.js b/Ch8/scripts/nav.js index a45b48d..634ec5e 100644 --- a/Ch8/scripts/nav.js +++ b/Ch8/scripts/nav.js @@ -1,8 +1,8 @@ -//导航效果(兼容IE6) -$(function(){ - $("#nav li").hover(function(){ - $(this).find(".jnNav").show(); - },function(){ - $(this).find(".jnNav").hide(); - }); +//导航效果 +$(function(){ + $("#nav li").hover(function(){ + $(this).find(".jnNav").show(); + },function(){ + $(this).find(".jnNav").hide(); + }); }) \ No newline at end of file diff --git a/Ch8/scripts/scroll.js b/Ch8/scripts/scroll.js deleted file mode 100644 index 272c8ed..0000000 --- a/Ch8/scripts/scroll.js +++ /dev/null @@ -1,19 +0,0 @@ -/*新闻滚动*/ -$(function(){ - var $this = $(".scrollNews"); - var scrollTimer; - $this.hover(function(){ - clearInterval(scrollTimer); - },function(){ - scrollTimer = setInterval(function(){ - scrollNews( $this ); - }, 3000 ); - }).trigger("mouseleave"); -}); -function scrollNews(obj){ - var $self = obj.find("ul:first"); - var lineHeight = $self.find("li:first").height(); //获取行高 - $self.animate({ "marginTop" : -lineHeight +"px" }, 600 , function(){ - $self.css({marginTop:0}).find("li:first").appendTo($self); //appendTo能直接移动元素 - }) -} \ No newline at end of file diff --git a/Ch8/scripts/sizeAndprice.js b/Ch8/scripts/sizeAndprice.js index 9d68093..c581143 100644 --- a/Ch8/scripts/sizeAndprice.js +++ b/Ch8/scripts/sizeAndprice.js @@ -1,16 +1,17 @@ -/*衣服尺寸选择*/ -$(function(){ - $(".pro_size li span").click(function(){ - $(this).parents("ul").siblings("strong").text( $(this).text() ); - }) -}) -/*数量和价格联动*/ -$(function(){ - var $span = $("div.pro_price span"); - var price = $span.text(); - $("#num_sort").change(function(){ - var num = $(this).val(); - var amount = num * price; - $span.text( amount ); - }).change(); -}) +/*衣服尺寸选择*/ +$(function(){ + $(".pro_size li").click(function(){ + $(this).addClass("cur").siblings().removeClass("cur"); + $(this).parents("ul").siblings("strong").text( $(this).text() ); + }) +}) +/*数量和价格联动*/ +$(function(){ + var $span = $(".pro_price strong"); + var price = $span.text(); + $("#num_sort").change(function(){ + var num = $(this).val(); + var amount = num * price; + $span.text( amount ); + }).change(); +}) diff --git a/Ch8/scripts/slide.js b/Ch8/scripts/slide.js deleted file mode 100644 index 189cdf6..0000000 --- a/Ch8/scripts/slide.js +++ /dev/null @@ -1,14 +0,0 @@ -/*模块展开和关闭*/ -$(function(){ - $(".module_up_down").toggle(function(){ - var $self = $(this); - $self.prev().slideToggle(600,function(){ - $("img",$self).attr("src","images/up.gif"); - }); - },function(){ - var $self = $(this); - $self.prev().slideToggle(600,function(){ - $("img",$self).attr("src","images/down.gif"); - }); - }) -}) \ No newline at end of file diff --git a/Ch8/scripts/star.js b/Ch8/scripts/star.js index 2fcf86a..57e2627 100644 --- a/Ch8/scripts/star.js +++ b/Ch8/scripts/star.js @@ -1,12 +1,12 @@ -/*商品评分效果*/ -$(function(){ - //通过修改样式来显示不同的星级 - $("ul.rating li a").click(function(){ - var title = $(this).attr("title"); - alert("您给此商品的评分是:"+title); - var cl = $(this).parent().attr("class"); - $(this).parent().parent().removeClass().addClass("rating "+cl+"star"); - $(this).blur();//去掉超链接的虚线框 - return false; - }) +/*商品评分效果*/ +$(function(){ + //通过修改样式来显示不同的星级 + $("ul.rating li a").click(function(){ + var title = $(this).attr("title"); + alert("您给此商品的评分是:"+title); + var cl = $(this).parent().attr("class"); + $(this).parent().parent().removeClass().addClass("rating "+cl+"star"); + $(this).blur();//去掉超链接的虚线框 + return false; + }) }) \ No newline at end of file diff --git a/Ch8/scripts/switchColor.js b/Ch8/scripts/switchColor.js index 4943e45..20aa1b7 100644 --- a/Ch8/scripts/switchColor.js +++ b/Ch8/scripts/switchColor.js @@ -1,19 +1,21 @@ -/*衣服颜色切换*/ -$(function(){ - $(".color_change ul li img").click(function(){ - var imgSrc = $(this).attr("src"); - var i = imgSrc.lastIndexOf("."); - var unit = imgSrc.substring(i); - imgSrc = imgSrc.substring(0,i); - var imgSrc_small = imgSrc + "_one_small"+ unit; - var imgSrc_big = imgSrc + "_one_big"+ unit; - $("#bigImg").attr({"src": imgSrc_small ,"jqimg": imgSrc_big }); - $("#thickImg").attr("href", imgSrc_big); - var alt = $(this).attr("alt"); - $(".color_change strong").text(alt); - var url = imgSrc+".html"; - $(".pro_detail_left ul.imgList") - .empty() - .load(url); - }); +/*衣服颜色切换*/ +$(function(){ + $(".color_change ul li img").click(function(){ + $(this).addClass("hover").parent().siblings().find("img").removeClass("hover"); + var imgSrc = $(this).attr("src"); + var i = imgSrc.lastIndexOf("."); + var unit = imgSrc.substring(i); + imgSrc = imgSrc.substring(0,i); + var imgSrc_small = imgSrc + "_one_small"+ unit; + var imgSrc_big = imgSrc + "_one_big"+ unit; + $("#bigImg").attr({"src": imgSrc_small }); + $("#thickImg").attr("href", imgSrc_big); + var alt = $(this).attr("alt"); + $(".color_change strong").text(alt); + var newImgSrc = imgSrc.replace("images/pro_img/",""); + $("#jnProitem .imgList li").hide(); + $("#jnProitem .imgList").find(".imgList_"+newImgSrc).show(); + //解决问题:切换颜色后,放大图片还是显示原来的图片。 + $("#jnProitem .imgList").find(".imgList_"+newImgSrc).eq(0).find("a").click(); + }); }); \ No newline at end of file diff --git a/Ch8/scripts/switchImg.js b/Ch8/scripts/switchImg.js index 68d43d0..0d8ea2b 100644 --- a/Ch8/scripts/switchImg.js +++ b/Ch8/scripts/switchImg.js @@ -1,13 +1,11 @@ -/*点击左侧产品小图片切换大图*/ -$(function(){ - $(".pro_detail_left ul li img").livequery("click",function(){ - var imgSrc = $(this).attr("src"); - var i = imgSrc.lastIndexOf("."); - var unit = imgSrc.substring(i); - imgSrc = imgSrc.substring(0,i); - var imgSrc_small = imgSrc + "_small"+ unit; - var imgSrc_big = imgSrc + "_big"+ unit; - $("#bigImg").attr({"src": imgSrc_small ,"jqimg": imgSrc_big }); - $("#thickImg").attr("href", imgSrc_big); - }); +/* 点击左侧产品小图片切换大图 */ +$(function(){ + $("#jnProitem ul.imgList li a").bind("click",function(){ + var imgSrc = $(this).find("img").attr("src"); + var i = imgSrc.lastIndexOf("."); + var unit = imgSrc.substring(i); + imgSrc = imgSrc.substring(0,i); + var imgSrc_big = imgSrc + "_big"+ unit; + $("#thickImg").attr("href" , imgSrc_big); + }); }); \ No newline at end of file diff --git a/Ch8/scripts/tab.js b/Ch8/scripts/tab.js index 14c24d5..3cfcce3 100644 --- a/Ch8/scripts/tab.js +++ b/Ch8/scripts/tab.js @@ -1,16 +1,16 @@ -/*Tab 选项卡 标签*/ -$(function(){ - var $div_li =$("div.tab_menu ul li"); - $div_li.click(function(){ - $(this).addClass("selected") //当前
  • 元素高亮 - .siblings().removeClass("selected"); //去掉其他同辈
  • 元素的高亮 - var index = $div_li.index(this); // 获取当前点击的
  • 元素 在 全部li元素中的索引。 - $("div.tab_box > div") //选取子节点。不选取子节点的话,会引起错误。如果里面还有div - .eq(index).show() //显示
  • 元素对应的
    元素 - .siblings().hide(); //隐藏其他几个同辈的
    元素 - }).hover(function(){ - $(this).addClass("hover"); - },function(){ - $(this).removeClass("hover"); - }) +/*Tab 选项卡 标签*/ +$(function(){ + var $div_li =$("div.tab_menu ul li"); + $div_li.click(function(){ + $(this).addClass("selected") //当前
  • 元素高亮 + .siblings().removeClass("selected"); //去掉其他同辈
  • 元素的高亮 + var index = $div_li.index(this); // 获取当前点击的
  • 元素 在 全部li元素中的索引。 + $("div.tab_box > div") //选取子节点。不选取子节点的话,会引起错误。如果里面还有div + .eq(index).show() //显示
  • 元素对应的
    元素 + .siblings().hide(); //隐藏其他几个同辈的
    元素 + }).hover(function(){ + $(this).addClass("hover"); + },function(){ + $(this).removeClass("hover"); + }) }) \ No newline at end of file diff --git a/Ch8/scripts/tooltip.js b/Ch8/scripts/tooltip.js index 667781d..b19d8c2 100644 --- a/Ch8/scripts/tooltip.js +++ b/Ch8/scripts/tooltip.js @@ -1,25 +1,25 @@ -/* 超链接文字提示 */ -$(function(){ - var x = 10; - var y = 20; - $("a.tooltip").mouseover(function(e){ - this.myTitle = this.title; - this.title = ""; - var tooltip = "
    "+ this.myTitle +"
    "; //创建 div 元素 - $("body").append(tooltip); //把它追加到文档中 - $("#tooltip") - .css({ - "top": (e.pageY+y) + "px", - "left": (e.pageX+x) + "px" - }).show("fast"); //设置x坐标和y坐标,并且显示 - }).mouseout(function(){ - this.title = this.myTitle; - $("#tooltip").remove(); //移除 - }).mousemove(function(e){ - $("#tooltip") - .css({ - "top": (e.pageY+y) + "px", - "left": (e.pageX+x) + "px" - }); - }); +/* 超链接文字提示 */ +$(function(){ + var x = 10; + var y = 20; + $("a.tooltip").mouseover(function(e){ + this.myTitle = this.title; + this.title = ""; + var tooltip = "
    "+ this.myTitle +"
    "; //创建 div 元素 + $("body").append(tooltip); //把它追加到文档中 + $("#tooltip") + .css({ + "top": (e.pageY+y) + "px", + "left": (e.pageX+x) + "px" + }).show("fast"); //设置x坐标和y坐标,并且显示 + }).mouseout(function(){ + this.title = this.myTitle; + $("#tooltip").remove(); //移除 + }).mousemove(function(e){ + $("#tooltip") + .css({ + "top": (e.pageY+y) + "px", + "left": (e.pageX+x) + "px" + }); + }); }) \ No newline at end of file diff --git a/Ch8/scripts/tree.js b/Ch8/scripts/tree.js deleted file mode 100644 index 420f4b3..0000000 --- a/Ch8/scripts/tree.js +++ /dev/null @@ -1,14 +0,0 @@ -/*产品树展开和关闭*/ -$(function(){ - $(".m-treeview > li > span").click(function(){ // 注意用的是 子选择器 ( > ) - var $ul = $(this).siblings("ul"); - if($ul.is(":visible")){ - $(this).parent().attr("class","m-collapsed"); - $ul.hide(); - }else{ - $(this).parent().attr("class","m-expanded"); - $ul.show(); - } - return false; - }) -}) \ No newline at end of file diff --git a/Ch8/scripts/use_jqzoom.js b/Ch8/scripts/use_jqzoom.js index cdf0ac3..3f29ab0 100644 --- a/Ch8/scripts/use_jqzoom.js +++ b/Ch8/scripts/use_jqzoom.js @@ -1,10 +1,14 @@ -/*使用jqzoom*/ -$(function(){ - $(".jqzoom").jqueryzoom({ - xzoom: 300, //放大图的宽度(默认是 200) - yzoom: 300, //放大图的高度(默认是 200) - offset: 10, //离原图的距离(默认是 10) - position: "right", //放大图的定位(默认是 "right") - preload:1 - }); +/*使用jqzoom*/ +$(function(){ + $('.jqzoom').jqzoom({ + zoomType: 'standard', + lens:true, + preloadImages: false, + alwaysOn:false, + zoomWidth: 340, + zoomHeight: 340, + xOffset:10, + yOffset:0, + position:'right' + }); }); \ No newline at end of file diff --git a/Ch8/styles/box.css b/Ch8/styles/box.css new file mode 100644 index 0000000..726085e --- /dev/null +++ b/Ch8/styles/box.css @@ -0,0 +1,62 @@ +/* element */ +#basic-dialog-ok{ + display:none; +} +/* Overlay */ +#simplemodal-overlay {background-color:#000;} +.simplemodal-wrap{background-color:#fff;} + +/* Container */ +#simplemodal-container { + height:190px; + width:500px; +} + +/* box */ +.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(../images/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/Ch8/styles/detail.css b/Ch8/styles/detail.css deleted file mode 100644 index 7e691e1..0000000 --- a/Ch8/styles/detail.css +++ /dev/null @@ -1,252 +0,0 @@ -/*主体内容样式*/ -#content{ - border:1px solid #AAA; - margin:10px auto; - width:800px; -} -.global_module h3 { - height:26px; - background:#3B5998; - color:#FFF; - line-height:26px; - text-indent:6px; -} -.pro_detail { - width:780px; - height:auto; - overflow:hidden; - padding:10px; -} -/*左列*/ -.pro_detail_left { - width:380px; - float:left; - overflow:hidden; -} - -.pro_detail_left .jqzoom{ - border:1px solid #BBB; - float:left; - position:relative; - padding:0px; - cursor:pointer; -} - -.pro_detail_left .fs { - width:300px; - height:300px; -} - -.pro_detail_left span { - display:block; - text-align:center; - padding-top:10px; - padding-bottom:10px; - width:310px; - clear:both; -} -.pro_detail_left span a:hover{ - text-decoration:none; -} -.pro_detail_left ul.imgList{ - height: 80px; -} -.pro_detail_left ul.imgList li { - float:left; - margin-right:10px; -} -.pro_detail_left ul.imgList li img { - width:60px; - height:60px; - padding:1px; - background:#EEE; - cursor:pointer; -} -.pro_detail_left ul.imgList li img:hover { - padding:1px; - background:#999; -} -.pro_detail_left .tab { - width:100%; -} - -.pro_detail_left .tab_menu { - clear:both; -} -.pro_detail_left .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; -} -.pro_detail_left .tab_menu li.hover { - background:#DFDFDF; -} -.pro_detail_left .tab_menu li.selected { - color:#FFF; - background:#6D84B4; -} -.pro_detail_left .tab_box { - clear:both; - border:1px solid #898989; -} -.pro_detail_left .hide{ - display:none -} - - -/*右列*/ -.pro_detail_right { - width:380px; - float:left; - margin:10px; -} - -.pro_detail_right .color_change { - width:380px; - font-weight:bold; - float:left; - display:inline; - margin-bottom:10px; -} -.pro_detail_right .color_change ul li { - float:left; - margin-right:10px; -} -.pro_detail_right .color_change img { - width:30px; - height:30px; - padding:1px; - background:#EEE; - border:1px solid #BBB;cursor:pointer; -} -.pro_detail_right .color_change img:hover { - padding:1px; - background:#999; -} -.pro_detail_right .pro_size { - width:380px; - font-weight:bold; - float:left; - display:inline; - margin-bottom:10px; -} -.pro_detail_right .pro_size ul li{ - float:left; - margin-right:5px; -} -.pro_detail_right .pro_size ul li span{ - display:block; - margin-right:6px; - padding:1px 12px; - border:1px solid #AAA; - cursor:pointer; -} -.pro_detail_right .pro_size ul li span:hover { - background:#CCC; -} -.pro_detail_right .pro_num { - width:380px; - font-weight:bold; - float:left; - display:inline; - margin-bottom:10px; -} -.pro_detail_right .pro_price { - width:380px; - font-weight:bold; - float:left; - display:inline; - margin-bottom:10px; -} -.pro_detail_right .pro_rating { - width:380px; - font-weight:bold; - float:left; - display:inline; - margin-bottom:10px; -} -/* 评分css */ -.rating{ - width:80px; - height:16px; - margin:0 0 20px 0; - padding:0; - list-style:none; - clear:both; - position:relative; - background: url(../images/star-matrix.gif) no-repeat 0 0; -} -.nostar {background-position:0 0} -.onestar {background-position:0 -16px} -.twostar {background-position:0 -32px} -.threestar {background-position:0 -48px} -.fourstar {background-position:0 -64px} -.fivestar {background-position:0 -80px} -ul.rating li { - cursor: pointer; - float:left; - text-indent:-999em; -} -ul.rating li a { - position:absolute; - left:0; - top:0; - width:16px; - height:16px; - text-decoration:none; - z-index: 200; -} -ul.rating li.one a {left:0} -ul.rating li.two a {left:16px;} -ul.rating li.three a {left:32px;} -ul.rating li.four a {left:48px;} -ul.rating li.five a {left:64px;} -ul.rating li a:hover { - z-index:2; - width:80px; - height:16px; - overflow:hidden; - left:0; - background: url(../images/star-matrix.gif) no-repeat 0 0 -} -ul.rating li.one a:hover {background-position:0 -96px;} -ul.rating li.two a:hover {background-position:0 -112px;} -ul.rating li.three a:hover {background-position:0 -128px} -ul.rating li.four a:hover {background-position:0 -144px} -ul.rating li.five a:hover {background-position:0 -160px} - -/*jQzoom*/ -div.zoomdiv { - z-index: 999; - position : absolute; - top:0px; - left:0px; - width : 200px; - height : 200px; - background: #ffffff; - border:1px solid #CCCCCC; - display:none; - text-align: center; - overflow: hidden; -} -div.jqZoomPup { - z-index : 999; - visibility : hidden; - position : absolute; - top:0px; - left:0px; - width : 50px; - height : 50px; - border: 1px solid #aaa; - background: #ffffff url(../images/zoomlens.gif) 50% top no-repeat;; - opacity: 0.5; - -moz-opacity: 0.5; - -khtml-opacity: 0.5; - filter: alpha(Opacity=50); -} diff --git a/Ch8/styles/index.css b/Ch8/styles/main.css similarity index 57% rename from Ch8/styles/index.css rename to Ch8/styles/main.css index 560ea7a..d08f41f 100644 --- a/Ch8/styles/index.css +++ b/Ch8/styles/main.css @@ -1,489 +1,767 @@ -/*头部样式开始*/ -#header{ - background: url("../images/headerbg.png") repeat-x scroll 0 0 #FFFFFF; - height: 105px; -} -#header .contWidth { - position: relative; - height: 105px; - margin: 0 auto; - width: 990px; - z-index: 300; -} -#header .logo { - float:left; - margin:0 0 0 10px; - color:#FFF; - line-height:80px; -} -#header .search { - left: 198px; - position: absolute; - top: 20px; -} -#inputSearch { - border: 1px solid #BABEBF; - color: #999999; - font-size: 14px; - height: 17px; - padding: 3px 6px 5px 6px; - width: 200px; -} -#inputSearch.focus{ - border: 1px solid #00A5FF; -} -/* 切换皮肤控件样式 */ -#skin { - float:right; - margin:10px; - padding:4px; - width:120px; - list-style:none; -} -#skin li { - float:left; - margin-right:4px; - width:15px; - height:15px; - text-indent:-9999px; - overflow:hidden; - display:block; - cursor:pointer; - background-image:url("../images/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; } -#skin_1.selected { background-position:15px 15px; } -#skin_2.selected { background-position:35px 15px; } -#skin_3.selected { background-position:55px 15px; } -#skin_4.selected { background-position:75px 15px; } -#skin_5.selected { background-position:95px 15px; } -/*导航样式开始*/ -.mainNav { - height: 37px; - line-height: 37px; - left: 0; - position: absolute; - top: 68px; - width: 990px; - z-index: 300; - background-color: #4A4A4A; -} -.mainNav .nav { - display: inline; - float: left; - margin-left: 25px; -} -.mainNav ul li { - float:left; - margin-right:14px; - position: relative ; - z-index:100; -} -.mainNav ul li a { - display:block; - padding:0 8px; - font-weight:700; - color:#fff; - font-size:14px; -} -.mainNav ul li a:hover { - background:none; -} -.mainNav ul li ul{ - background-color: #88C366; - position: absolute; - width: 80px; - overflow:hidden; - display:none; -} -.mainNav ul li:hover ul{ - background-color: #88C366; - position: absolute; - width: 100px; - display:block; -} -.mainNav ul li ul li{ - border-bottom: 1px solid #BBB; - text-align: left; - width: 100%; -} -.jnNav { - background:#FFFFFF; - border: 1px solid #B1B1B1; - border-top:0; - left: 0; - overflow: hidden; - position: absolute; - top: 37px; - width: 474px; - z-index: 1000; - display:none; -} -.jnNav .subitem { - float: left; - height: auto !important; - min-height: 100px; - padding: 10px 12px; - width: 450px; -} -.jnNav .subitem dl { - border-top: 1px dashed #C4C4C4; - overflow: hidden; - padding: 8px 0; - float:left; -} -.jnNav .subitem .fore { - border-top-style: none; - padding-top: 0; -} -.jnNav .subitem dt { - float: left; - font-weight: bold; - line-height: 16px; - padding: 4px 3px; - text-align: center; - width: 76px; -} -.jnNav .subitem dt a { - color: #000; - font-weight: 700; - font-size:12px; - padding:0; -} -.jnNav .subitem dd { - float: left; - overflow: hidden; - padding: 0; - width: 364px; -} -.jnNav .subitem em { - border-right: 1px solid #CCCCCC; - float: left; - font-style: normal; - height: 14px; - line-height: 14px; - margin: 5px 0; - padding: 0 8px; -} -.jnNav .subitem em a { - color: #666666; - white-space: nowrap; - font-size:12px; - font-weight:normal; - padding:0; -} -.jnNav .subitem em.noborder { - border-right: 0 none; -} -/* 主体样式 */ -#content{ - clear: left; - margin: 0 auto; - position: relative; - width: 990px; -} -.janeshop{ - height: 560px; - overflow: hidden; - padding: 10px 0; -} -/* 商品分类 */ -#jnCatalog{ - float: left; - height: 560px; - margin: 0 11px 0 0; - overflow: hidden; - width: 187px; -} -#jnCatalog h2{ - height:30px; - line-height:30px; - color:#fff; - font-size:12px; - text-indent:13px; - background-color:#6E6E6E; - -} -.jnCatainfo{ - border: 1px solid #6E6E6E; - border-style: none solid solid; - border-width: 0 1px 1px; - height: 524px; - overflow: hidden; - padding: 5px 10px 0; - width: 165px; -} -.jnCatainfo h3 { - border-bottom: 1px solid #EEEEEE; - height: 24px; - line-height:24px; - width: 164px; -} -.jnCatainfo ul { - float: left; - padding: 0 2px 8px; -} -.jnCatainfo li { - color: #AEADAE; - float: left; - height: 24px; - line-height: 24px; - width: 79px; - overflow: hidden; - position:relative; -} -.jnCatainfo li a{ - color: #444444; -} -.jnCatainfo li a:hover{ - color: #008CD7; - text-decoration: none; -} -.jnCatainfo li a.promoted{ - color:#F9044E; -} -.jnCatainfo li .hot { - background: url("../images/hot.gif") no-repeat scroll 0 0 transparent; - height: 16px; - position: absolute; - top: 0; - width: 21px; -} -/* 大屏广告 */ -#jnImageroll { - float: left; - height: 320px; - margin: 0 11px 0 0; - overflow: hidden; - position: relative; - width: 550px; -} -#jnImageroll img { - position: absolute; - left: 0; - top: 0; -} -#jnImageroll div { - bottom: 0; - overflow: hidden; - position: absolute; - float: left; -} -#jnImageroll div a { - background-color: #444444; - color: #FFFFFF; - display: inline-block; - float: left; - height: 32px; - margin-right: 1px; - overflow: hidden; - padding: 5px 15px; - text-align: center; - width: 79px; -} -#jnImageroll div a:hover { - text-decoration: none; -} -#jnImageroll div a em { - cursor: pointer; - display: block; - height: 16px; - overflow: hidden; - width: 79px; -} -#jnImageroll .last { - margin: 0; - width: 80px; -} -#jnImageroll a.chos { - background: url("../images/adindex.gif") no-repeat center 39px #37A7D7; - color: #FFFFFF; -} -/* 最新动态 */ -#jnNotice{ - float: left; - height: 321px; - overflow: hidden; - width: 230px; -} -#jnMiaosha { - float: left; - height: 176px; - margin-bottom: 10px; - overflow: hidden; - width: 230px; -} -.JS_css3 img { - -webkit-transition:1s all; - -moz-transition:1s all; - -o-transition:1s all; - transition:1s all; -} -.JS_css3:hover img { - -webkit-transform:rotate(720deg); - -moz-transform:rotate(720deg); - -o-transform:rotate(720deg); - transform:rotate(720deg); -} -#jnNoticeInfo { - float: left; - border: 1px solid #DFDFDF; - height: 133px; - overflow: hidden; - width: 228px; -} -#jnNoticeInfo h2 { - height: 23px; - line-height: 23px; - border-bottom: 1px solid #DFDFDF; - text-indent:12px; -} -#jnNoticeInfo ul { - float: left; - padding: 6px 2px 0 12px; -} -#jnNoticeInfo li { - height: 20px; - line-height: 20px; - overflow: hidden; -} -#jnNoticeInfo li a{ - color:#666666; -} -#jnNoticeInfo li a:hover{ - color: #008CD7; - text-decoration: none; -} -/* 品牌活动 */ -#jnBrand { - float: left; - height: 230px; - margin: 10px 0 0; - overflow: hidden; - width: 790px; -} -#jnBrandTab { - border-bottom: 1px solid #E4E4E4; - height: 29px; - position: relative; - width: 790px; - float: left; -} -#jnBrandTab h2 { - height: 29px; - line-height: 29px; - left: 0; - position: absolute; - width: 100px; -} -#jnBrandTab ul { - position: absolute; - right: 0; - top: 10px; -} -#jnBrandTab li { - float: left; - margin: 0 10px 0 0; -} -#jnBrandTab li a { - background-color: #E4E4E4; - color: #000000; - display: inline-block; - height: 20px; - line-height: 20px; - padding: 0 10px; -} -#jnBrandTab .chos { - background: url("../images/chos.gif") no-repeat scroll 50% bottom transparent; - padding-bottom: 3px; -} -#jnBrandTab .chos a { - background-color: #FA5889; - color: #FFFFFF; - outline: 0 none; -} -#jnBrandContent { - float: left; - height: 188px; - overflow: hidden; - margin: 8px 5px; - width: 790px; - position: relative; -} -#jnBrandList { - position: absolute; - left: 0; - top: 0; - width: 3200px; -} -#jnBrandContent li { - float: left; - height: 188px; - overflow: hidden; - padding: 0 5px; - position: relative; - width: 185px; -} -#jnBrandContent li img { - left: 5px; - position: absolute; - top: 0; -} -#jnBrandContent li span { - background-color: #EFEFEF; - bottom: 0; - color: #666666; - display: block; - font-size: 14px; - height: 24px; - line-height: 24px; - overflow: hidden; - position: absolute; - text-align: center; - width: 183px; -} -#jnBrandContent li a { - color:#666666; -} -#jnBrandContent li a:hover{ - color: #008CD7; - text-decoration: none; -} -/* 底部 */ -#footer { - margin: 0 auto; - width: 990px; - color: #666666; - padding: 18px 0; - text-align: center; -} - - - -/* tooltip */ -#tooltip{ - position:absolute; - border:1px solid #333; - background:#f7f5d1; - padding:1px; - color:#333; - display:none; -} -/* imgHover */ -.imageMask{ - background-color:#ffffff; - filter:alpha(opacity=0); - opacity: 0; - cursor: pointer; -} -.imageOver{ - background:url(../images/zoom.gif) no-repeat 50% 50%; - filter:alpha(opacity=60); - opacity: 0.6; -} \ No newline at end of file +/*头部样式开始*/ +#header{ + background: url("../images/headerbg.png") repeat-x scroll 0 0 #FFFFFF; + height: 105px; +} +#header .contWidth { + position: relative; + height: 105px; + margin: 0 auto; + width: 990px; + z-index: 100; +} +#header .logo { + float:left; + margin:0 0 0 10px; + color:#FFF; + line-height:80px; +} +#header .search { + left: 198px; + position: absolute; + top: 20px; +} +#inputSearch { + border: 1px solid #BABEBF; + color: #999999; + font-size: 14px; + height: 17px; + padding: 3px 6px 5px 6px; + width: 200px; +} +#inputSearch.focus{ + border: 1px solid #00A5FF; +} +/* 切换皮肤控件样式 */ +#skin { + float:right; + margin:10px; + padding:4px; + width:120px; +} +#skin li { + float:left; + margin-right:4px; + width:15px; + height:15px; + text-indent:-9999px; + overflow:hidden; + display:block; + cursor:pointer; + background-image:url("../images/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; } +#skin_1.selected { background-position:15px 15px; } +#skin_2.selected { background-position:35px 15px; } +#skin_3.selected { background-position:55px 15px; } +#skin_4.selected { background-position:75px 15px; } +#skin_5.selected { background-position:95px 15px; } +/*导航样式开始*/ +.mainNav { + position: absolute; + top: 68px; + left: 0; + height: 37px; + line-height: 37px; + width: 990px; + z-index:100; + background-color: #4A4A4A; +} +.mainNav .nav { + display: inline; + float: left; + margin-left: 25px; +} +.mainNav ul li { + float:left; + display: inline; + margin-right:14px; + position: relative ; + z-index:100; +} +.mainNav ul li a { + display:block; + padding:0 8px; + font-weight:700; + color:#fff; + font-size:14px; +} +.mainNav ul li a:hover { + background:none; +} +/* 二级菜单 */ +.jnNav { + background:#FFFFFF; + border: 1px solid #B1B1B1; + border-top:0; + left: 0; + overflow: hidden; + position: absolute; + top: 37px; + width: 474px; + z-index: 1000; + display:none; +} +.jnNav .subitem { + float: left; + height: auto !important; + min-height: 100px; + padding: 10px 12px; + width: 450px; +} +.jnNav .subitem dl { + border-top: 1px dashed #C4C4C4; + overflow: hidden; + padding: 8px 0; + float:left; +} +.jnNav .subitem .fore { + border-top-style: none; + padding-top: 0; +} +.jnNav .subitem dt { + float: left; + font-weight: bold; + line-height: 16px; + padding: 4px 3px; + text-align: center; + width: 76px; +} +.jnNav .subitem dt a { + color: #000; + font-weight: 700; + font-size:12px; + padding:0; +} +.jnNav .subitem dd { + float: left; + overflow: hidden; + padding: 0; + width: 364px; +} +.jnNav .subitem em { + border-right: 1px solid #CCCCCC; + float: left; + font-style: normal; + height: 14px; + line-height: 14px; + margin: 5px 0; + padding: 0 8px; +} +.jnNav .subitem em a { + color: #666666; + white-space: nowrap; + font-size:12px; + font-weight:normal; + padding:0; +} +.jnNav .subitem em.noborder { + border-right: 0 none; +} +/* 主体样式 */ +#content{ + clear: left; + margin: 0 auto; + position: relative; + width: 990px; +} +.janeshop{ + height: 560px; + overflow: hidden; + padding: 10px 0; +} +/* 商品分类 */ +#jnCatalog{ + float: left; + height: 560px; + margin: 0 11px 0 0; + overflow: hidden; + width: 187px; +} +#jnCatalog h2{ + height:30px; + line-height:30px; + color:#fff; + font-size:12px; + text-indent:13px; + background-color:#6E6E6E; +} +.jnCatainfo{ + border: 1px solid #6E6E6E; + border-style: none solid solid; + border-width: 0 1px 1px; + height: 524px; + overflow: hidden; + padding: 5px 10px 0; + width: 165px; +} +.jnCatainfo h3 { + border-bottom: 1px solid #EEEEEE; + height: 24px; + line-height:24px; + width: 164px; +} +.jnCatainfo ul { + float: left; + padding: 0 2px 8px; +} +.jnCatainfo li { + color: #AEADAE; + float: left; + height: 24px; + line-height: 24px; + width: 79px; + overflow: hidden; + position:relative; +} +.jnCatainfo li a{ + color: #444444; +} +.jnCatainfo li a:hover{ + color: #008CD7; + text-decoration: none; +} +.jnCatainfo li a.promoted{ + color:#F9044E; +} +.jnCatainfo li .hot { + background: url("../images/hot.gif") no-repeat scroll 0 0 transparent; + height: 16px; + position: absolute; + top: 0; + width: 21px; +} +/* 大屏广告 */ +#jnImageroll { + float: left; + height: 320px; + margin: 0 11px 0 0; + overflow: hidden; + position: relative; + width: 550px; +} +#jnImageroll img { + position: absolute; + left: 0; + top: 0; +} +#jnImageroll div { + bottom: 0; + overflow: hidden; + position: absolute; + float: left; +} +#jnImageroll div a { + background-color: #444444; + color: #FFFFFF; + display: inline-block; + float: left; + height: 32px; + margin-right: 1px; + overflow: hidden; + padding: 5px 15px; + text-align: center; + width: 79px; +} +#jnImageroll div a:hover { + text-decoration: none; +} +#jnImageroll div a em { + cursor: pointer; + display: block; + height: 16px; + overflow: hidden; + width: 79px; +} +#jnImageroll .last { + margin: 0; + width: 80px; +} +#jnImageroll a.chos { + background: url("../images/adindex.gif") no-repeat center 39px #37A7D7; + color: #FFFFFF; +} +/* 最新动态 */ +#jnNotice{ + float: left; + height: 321px; + overflow: hidden; + width: 230px; +} +#jnMiaosha { + float: left; + height: 176px; + margin-bottom: 10px; + overflow: hidden; + width: 230px; +} +.JS_css3 img { + -webkit-transition:1s all; + -moz-transition:1s all; + -o-transition:1s all; + transition:1s all; +} +.JS_css3:hover img { + -webkit-transform:rotate(720deg); + -moz-transform:rotate(720deg); + -o-transform:rotate(720deg); + transform:rotate(720deg); +} +#jnNoticeInfo { + float: left; + border: 1px solid #DFDFDF; + height: 133px; + overflow: hidden; + width: 228px; +} +#jnNoticeInfo h2 { + height: 23px; + line-height: 23px; + border-bottom: 1px solid #DFDFDF; + text-indent:12px; +} +#jnNoticeInfo ul { + float: left; + padding: 6px 2px 0 12px; +} +#jnNoticeInfo li { + height: 20px; + line-height: 20px; + overflow: hidden; +} +#jnNoticeInfo li a{ + color:#666666; +} +#jnNoticeInfo li a:hover{ + color: #008CD7; + text-decoration: none; +} +/* 品牌活动 */ +#jnBrand { + float: left; + height: 230px; + margin: 10px 0 0; + overflow: hidden; + width: 790px; +} +#jnBrandTab { + border-bottom: 1px solid #E4E4E4; + height: 29px; + position: relative; + width: 790px; + float: left; +} +#jnBrandTab h2 { + height: 29px; + line-height: 29px; + left: 0; + position: absolute; + width: 100px; +} +#jnBrandTab ul { + position: absolute; + right: 0; + top: 10px; +} +#jnBrandTab li { + float: left; + margin: 0 10px 0 0; +} +#jnBrandTab li a { + background-color: #E4E4E4; + color: #000000; + display: inline-block; + height: 20px; + line-height: 20px; + padding: 0 10px; +} +#jnBrandTab .chos { + background: url("../images/chos.gif") no-repeat scroll 50% bottom transparent; + padding-bottom: 3px; +} +#jnBrandTab .chos a { + background-color: #FA5889; + color: #FFFFFF; + outline: 0 none; +} +#jnBrandContent { + float: left; + height: 188px; + overflow: hidden; + margin: 8px 5px; + width: 790px; + position: relative; +} +#jnBrandList { + position: absolute; + left: 0; + top: 0; + width: 3200px; +} +#jnBrandContent li { + float: left; + height: 188px; + overflow: hidden; + padding: 0 5px; + position: relative; + width: 185px; +} +#jnBrandContent li img { + left: 5px; + position: absolute; + top: 0; +} +#jnBrandContent li span { + background-color: #EFEFEF; + bottom: 0; + color: #666666; + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + overflow: hidden; + position: absolute; + text-align: center; + width: 183px; +} +#jnBrandContent li a { + color:#666666; +} +#jnBrandContent li a:hover{ + color: #008CD7; + text-decoration: none; +} +/* details.html */ +#jnProitem{ + float: left; + width: 312px; + height: 560px; + display:inline; +} +#jnProitem .jqzoomWrap { + border: 1px solid #BBBBBB; + cursor: pointer; + float: left; + padding: 0; + position: relative; +} +#jnProitem span { + clear: both; + display: block; + padding-bottom: 10px; + padding-top: 10px; + text-align: center; + width: 320px; +} +#jnProitem ul.imgList{ + height: 80px; +} +#jnProitem ul.imgList li { + float:left; + margin-right:10px; +} +#jnProitem ul.imgList li img { + width:60px; + height:60px; + padding:1px; + background:#EEE; + cursor:pointer; +} +#jnProitem ul.imgList li img:hover { + padding:1px; + background:#999; +} + +.tab{ + clear:both; + float: left; + height: 230px; + overflow: hidden; + width: 310px; +} +.tab .tab_menu { + clear:both; +} +.tab .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 .tab_menu li.hover { + background:#DFDFDF; +} +.tab .tab_menu li.selected { + color:#FFF; + background:#6D84B4; +} +.tab .tab_box { + clear:both; + border:1px solid #898989; +} +.tab .hide{ + display:none +} +#jnDetails { + float: left; + display:inline; + overflow: hidden; + width: 468px; +} +#jnDetails .jnProDetail{ + padding:0 10px 10px 10px; +} +#jnDetails .jnProDetailList li{ + line-height:25px; + float:left; + width:100%; +} +#jnDetails .jnProDetailList strong.del { + color: #404040; + font-size: 12px; + position: static; + text-decoration: line-through; +} +#jnDetails .jnProDetailList strong { + font-weight:400; +} +#jnDetails .jnProDetailList .tbDetailPrice strong { + font-weight: 700; + color: #FF5500; + font: 24px Tahoma,Arial,Helvetica,sans-serif; + padding-right: 5px; + vertical-align: middle; +} +#jnDetails .jnProDetailList .color_change li , #jnDetails .jnProDetailList .pro_size li{ + float:left; + margin-right:10px; + width:40px; +} +#jnDetails .jnProDetailList .color_change img { + width:30px; + height:30px; + padding:1px; + background:#EEE; + border:1px solid #BBB; + cursor:pointer; +} +#jnDetails .jnProDetailList .color_change img:hover,#jnDetails .jnProDetailList .color_change img.hover { + border:1px solid #f60; +} +#jnDetails .jnProDetailList .pro_size li{ + display:block; + margin-right:6px; + border:1px solid #AAA; + cursor:pointer; + width:30px; + height:30px; + line-height:30px; + overflow:hidden; + text-align:center; +} +#jnDetails .jnProDetailList .pro_size li.cur{ + border:1px solid #AAA; + background-color:#f60; +} +/* rating css */ +.rating{ + overflow:hidden; + width:80px; + height:16px; + margin:0 0 20px 0; + padding:0; + list-style:none; + clear:both; + position:relative; + background: url(../images/star-matrix.gif) no-repeat 0 0; +} +.nostar {background-position:0 0} +.onestar {background-position:0 -16px} +.twostar {background-position:0 -32px} +.threestar {background-position:0 -48px} +.fourstar {background-position:0 -64px} +.fivestar {background-position:0 -80px} +ul.rating li { + cursor: pointer; + float:left; + text-indent:-999em; +} +ul.rating li a { + position:absolute; + left:0; + top:0; + width:16px; + height:16px; + text-decoration:none; + z-index: 200; +} +ul.rating li.one a {left:0} +ul.rating li.two a {left:16px;} +ul.rating li.three a {left:32px;} +ul.rating li.four a {left:48px;} +ul.rating li.five a {left:64px;} +ul.rating li a:hover { + z-index:2; + width:80px; + height:16px; + overflow:hidden; + left:0; + background: url(../images/star-matrix.gif) no-repeat 0 0 +} +ul.rating li.one a:hover {background-position:0 -96px;} +ul.rating li.two a:hover {background-position:0 -112px;} +ul.rating li.three a:hover {background-position:0 -128px} +ul.rating li.four a:hover {background-position:0 -144px} +ul.rating li.five a:hover {background-position:0 -160px} + +/* footer */ +#footer { + margin: 0 auto; + width: 990px; + color: #666666; + padding: 18px 0; + text-align: center; +} + +/* tooltip */ +#tooltip{ + position:absolute; + border:1px solid #333; + background:#f7f5d1; + padding:1px; + color:#333; + display:none; +} +/* imgHover */ +.imageMask{ + background-color:#ffffff; + filter:alpha(opacity=0); + opacity: 0; + cursor: pointer; +} +.imageOver{ + background:url(../images/zoom.gif) no-repeat 50% 50%; + filter:alpha(opacity=60); + opacity: 0.6; +} + +/* jquery zoom */ +.zoomPad{ + position:relative; + float:left; + z-index:99; + cursor:crosshair; +} +.zoomPreload{ + -moz-opacity:0.8; + opacity: 0.8; + filter: alpha(opacity = 80); + color: #333; + font-size: 12px; + font-family: Tahoma; + text-decoration: none; + border: 1px solid #CCC; + background-color: white; + padding: 8px; + text-align:center; + background-image: url(../images/zoomloader.gif); + background-repeat: no-repeat; + background-position: 43px 30px; + z-index:110; + width:90px; + height:43px; + position:absolute; + top:0px; + left:0px; + * width:100px; + * height:49px; +} +.zoomPup{ + overflow:hidden; + background-color: #FFF; + -moz-opacity:0.6; + opacity: 0.6; + filter: alpha(opacity = 60); + z-index:120; + position:absolute; + border:1px solid #CCC; + z-index:101; + cursor:crosshair; +} +.zoomOverlay{ + position:absolute; + left:0px; + top:0px; + background:#FFF; + /*opacity:0.5;*/ + z-index:5000; + width:100%; + height:100%; + display:none; + z-index:101; +} +.zoomWindow{ + position:absolute; + left:110%; + top:40px; + background:#FFF; + z-index:6000; + height:auto; + z-index:10000; + z-index:110; +} +.zoomWrapper{ + position:relative; + border:1px solid #999; + z-index:110; +} +.zoomWrapperTitle{ + display:block; + background:#999; + color:#FFF; + height:18px; + line-height:18px; + width:100%; + overflow:hidden; + text-align:center; + font-size:12px; + position:absolute; + top:0px; + left:0px; + z-index:120; + -moz-opacity:0.6; + opacity: 0.6; + filter: alpha(opacity = 60); +} +.zoomWrapperImage{ + display:block; + position:relative; + overflow:hidden; + z-index:110; + +} +.zoomWrapperImage img{ + border:0px; + display:block; + position:absolute; + z-index:101; +} +.zoomIframe{ + z-index: -1; + filter:alpha(opacity=0); + -moz-opacity: 0.80; + opacity: 0.80; + position:absolute; + display:block; +} diff --git a/Ch8/styles/reset.css b/Ch8/styles/reset.css index 6c6fc9e..363dbf1 100644 --- a/Ch8/styles/reset.css +++ b/Ch8/styles/reset.css @@ -1,16 +1,17 @@ -body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;} -body,button,input,select,textarea{font:12px/1.5 tahoma,arial,\5b8b\4f53;} -h1,h2,h3,h4,h5,h6{font-size:100%;} -address,cite,dfn,em,var{font-style:normal;} -code,kbd,pre,samp{font-family:courier new,courier,monospace;} -small{font-size:12px;} -ul,ol{list-style:none;} -a{text-decoration:none;} -a:hover{text-decoration:underline;} -sup{vertical-align:text-top;} -sub{vertical-align:text-bottom;} -legend{color:#000;} -fieldset,img{border:0;} -button,input,select,textarea{font-size:100%;} -table{border-collapse:collapse;border-spacing:0;} -.clear{clear: both;float: none;height: 0;overflow: hidden;} \ No newline at end of file +body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;} +body,button,input,select,textarea{font:12px/1.5 tahoma,arial,\5b8b\4f53;} +h1,h2,h3,h4,h5,h6{font-size:100%;} +address,cite,dfn,em,var{font-style:normal;} +code,kbd,pre,samp{font-family:courier new,courier,monospace;} +small{font-size:12px;} +ul,ol{list-style:none;} +a{text-decoration:none;} +a:hover{text-decoration:underline;} +sup{vertical-align:text-top;} +sub{vertical-align:text-bottom;} +legend{color:#000;} +fieldset,img{border:0;} +button,input,select,textarea{font-size:100%;} +table{border-collapse:collapse;border-spacing:0;} +.clear{clear: both;float: none;height: 0;overflow: hidden;} +html .hide{display:none;} \ No newline at end of file diff --git a/Ch8/styles/skin/skin_0.css b/Ch8/styles/skin/skin_0.css index baf90f6..2a8eb82 100644 --- a/Ch8/styles/skin/skin_0.css +++ b/Ch8/styles/skin/skin_0.css @@ -1,6 +1,6 @@ -.mainNav { - background-color: #4A4A4A; -} -#jnCatalog h2 { - background-color: #6E6E6E; +.mainNav { + background-color: #4A4A4A; +} +#jnCatalog h2 { + background-color: #6E6E6E; } \ No newline at end of file diff --git a/Ch8/styles/skin/skin_1.css b/Ch8/styles/skin/skin_1.css index 273d48a..93d7891 100644 --- a/Ch8/styles/skin/skin_1.css +++ b/Ch8/styles/skin/skin_1.css @@ -1,6 +1,6 @@ -.mainNav { - background-color: #BE46D8; -} -#jnCatalog h2 { - background-color: #D49AE1; +.mainNav { + background-color: #BE46D8; +} +#jnCatalog h2 { + background-color: #D49AE1; } \ No newline at end of file diff --git a/Ch8/styles/skin/skin_2.css b/Ch8/styles/skin/skin_2.css index cc5c97a..08c4d51 100644 --- a/Ch8/styles/skin/skin_2.css +++ b/Ch8/styles/skin/skin_2.css @@ -1,6 +1,6 @@ -.mainNav { - background-color: #E44072; -} -#jnCatalog h2 { - background-color: #F296B2; +.mainNav { + background-color: #E44072; +} +#jnCatalog h2 { + background-color: #F296B2; } \ No newline at end of file diff --git a/Ch8/styles/skin/skin_3.css b/Ch8/styles/skin/skin_3.css index 78fd88c..4c8ec86 100644 --- a/Ch8/styles/skin/skin_3.css +++ b/Ch8/styles/skin/skin_3.css @@ -1,6 +1,6 @@ -.mainNav { - background-color: #37C7D4; -} -#jnCatalog h2 { - background-color: #98E0E6; +.mainNav { + background-color: #37C7D4; +} +#jnCatalog h2 { + background-color: #98E0E6; } \ No newline at end of file diff --git a/Ch8/styles/skin/skin_4.css b/Ch8/styles/skin/skin_4.css index 9b88850..b064d8f 100644 --- a/Ch8/styles/skin/skin_4.css +++ b/Ch8/styles/skin/skin_4.css @@ -1,6 +1,6 @@ -.mainNav { - background-color: #F9AF2A; -} -#jnCatalog h2 { - background-color: #FFCF78; +.mainNav { + background-color: #F9AF2A; +} +#jnCatalog h2 { + background-color: #FFCF78; } \ No newline at end of file diff --git a/Ch8/styles/skin/skin_5.css b/Ch8/styles/skin/skin_5.css index eb8bb89..3b892f8 100644 --- a/Ch8/styles/skin/skin_5.css +++ b/Ch8/styles/skin/skin_5.css @@ -1,6 +1,6 @@ -.mainNav { - background-color: #B1D410; -} -#jnCatalog h2 { - background-color: #CDE074; +.mainNav { + background-color: #B1D410; +} +#jnCatalog h2 { + background-color: #CDE074; } \ No newline at end of file diff --git a/Ch9/css/images/ajax-loader.png b/Ch9/css/images/ajax-loader.png new file mode 100644 index 0000000..0973ae0 Binary files /dev/null and b/Ch9/css/images/ajax-loader.png differ diff --git a/Ch9/css/images/icons-18-black.png b/Ch9/css/images/icons-18-black.png new file mode 100644 index 0000000..32fa6e7 Binary files /dev/null and b/Ch9/css/images/icons-18-black.png differ diff --git a/Ch9/css/images/icons-18-white.png b/Ch9/css/images/icons-18-white.png new file mode 100644 index 0000000..f4e6787 Binary files /dev/null and b/Ch9/css/images/icons-18-white.png differ diff --git a/Ch9/css/images/icons-36-black.png b/Ch9/css/images/icons-36-black.png new file mode 100644 index 0000000..e508159 Binary files /dev/null and b/Ch9/css/images/icons-36-black.png differ diff --git a/Ch9/css/images/icons-36-white.png b/Ch9/css/images/icons-36-white.png new file mode 100644 index 0000000..3f342cc Binary files /dev/null and b/Ch9/css/images/icons-36-white.png differ diff --git a/Ch9/css/jquery.mobile-1.0.1.min.css b/Ch9/css/jquery.mobile-1.0.1.min.css new file mode 100644 index 0000000..32753ca --- /dev/null +++ b/Ch9/css/jquery.mobile-1.0.1.min.css @@ -0,0 +1,2 @@ +/*! jQuery Mobile v1.0.1 jquerymobile.com | jquery.org/license */ +.ui-bar-a{border:1px solid #2a2a2a;background:#111;color:#fff;font-weight:bold;text-shadow:0 -1px 1px #000;background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#111));background-image:-webkit-linear-gradient(#3c3c3c,#111);background-image:-moz-linear-gradient(#3c3c3c,#111);background-image:-ms-linear-gradient(#3c3c3c,#111);background-image:-o-linear-gradient(#3c3c3c,#111);background-image:linear-gradient(#3c3c3c,#111)}.ui-bar-a,.ui-bar-a input,.ui-bar-a select,.ui-bar-a textarea,.ui-bar-a button{font-family:Helvetica,Arial,sans-serif}.ui-bar-a .ui-link-inherit{color:#fff}.ui-bar-a .ui-link{color:#7cc4e7;font-weight:bold}.ui-bar-a .ui-link:hover{color:#2489ce}.ui-bar-a .ui-link:active{color:#2489ce}.ui-bar-a .ui-link:visited{color:#2489ce}.ui-body-a,.ui-dialog.ui-overlay-a{border:1px solid #2a2a2a;background:#222;color:#fff;text-shadow:0 1px 0 #000;font-weight:normal;background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#222));background-image:-webkit-linear-gradient(#666,#222);background-image:-moz-linear-gradient(#666,#222);background-image:-ms-linear-gradient(#666,#222);background-image:-o-linear-gradient(#666,#222);background-image:linear-gradient(#666,#222)}.ui-body-a,.ui-body-a input,.ui-body-a select,.ui-body-a textarea,.ui-body-a button{font-family:Helvetica,Arial,sans-serif}.ui-body-a .ui-link-inherit{color:#fff}.ui-body-a .ui-link{color:#2489ce;font-weight:bold}.ui-body-a .ui-link:hover{color:#2489ce}.ui-body-a .ui-link:active{color:#2489ce}.ui-body-a .ui-link:visited{color:#2489ce}.ui-btn-up-a{border:1px solid #222;background:#333;font-weight:bold;color:#fff;text-shadow:0 -1px 1px #000;background-image:-webkit-gradient(linear,left top,left bottom,from(#555),to(#333));background-image:-webkit-linear-gradient(#555,#333);background-image:-moz-linear-gradient(#555,#333);background-image:-ms-linear-gradient(#555,#333);background-image:-o-linear-gradient(#555,#333);background-image:linear-gradient(#555,#333)}.ui-btn-up-a a.ui-link-inherit{color:#fff}.ui-btn-hover-a{border:1px solid #000;background:#444;font-weight:bold;color:#fff;text-shadow:0 -1px 1px #000;background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#444));background-image:-webkit-linear-gradient(#666,#444);background-image:-moz-linear-gradient(#666,#444);background-image:-ms-linear-gradient(#666,#444);background-image:-o-linear-gradient(#666,#444);background-image:linear-gradient(#666,#444)}.ui-btn-hover-a a.ui-link-inherit{color:#fff}.ui-btn-down-a{border:1px solid #000;background:#3d3d3d;font-weight:bold;color:#fff;text-shadow:0 -1px 1px #000;background-image:-webkit-gradient(linear,left top,left bottom,from(#333),to(#5a5a5a));background-image:-webkit-linear-gradient(#333,#5a5a5a);background-image:-moz-linear-gradient(#333,#5a5a5a);background-image:-ms-linear-gradient(#333,#5a5a5a);background-image:-o-linear-gradient(#333,#5a5a5a);background-image:linear-gradient(#333,#5a5a5a)}.ui-btn-down-a a.ui-link-inherit{color:#fff}.ui-btn-up-a,.ui-btn-hover-a,.ui-btn-down-a{font-family:Helvetica,Arial,sans-serif;text-decoration:none}.ui-bar-b{border:1px solid #456f9a;background:#5e87b0;color:#fff;font-weight:bold;text-shadow:0 -1px 1px #254f7a;background-image:-webkit-gradient(linear,left top,left bottom,from(#81a8ce),to(#5e87b0));background-image:-webkit-linear-gradient(#81a8ce,#5e87b0);background-image:-moz-linear-gradient(#81a8ce,#5e87b0);background-image:-ms-linear-gradient(#81a8ce,#5e87b0);background-image:-o-linear-gradient(#81a8ce,#5e87b0);background-image:linear-gradient(#81a8ce,#5e87b0)}.ui-bar-b,.ui-bar-b input,.ui-bar-b select,.ui-bar-b textarea,.ui-bar-b button{font-family:Helvetica,Arial,sans-serif}.ui-bar-b .ui-link-inherit{color:#fff}.ui-bar-b .ui-link{color:#ddf0f8;font-weight:bold}.ui-bar-b .ui-link:hover{color:#ddf0f8}.ui-bar-b .ui-link:active{color:#ddf0f8}.ui-bar-b .ui-link:visited{color:#ddf0f8}.ui-body-b,.ui-dialog.ui-overlay-b{border:1px solid #c6c6c6;background:#ccc;color:#333;text-shadow:0 1px 0 #fff;font-weight:normal;background-image:-webkit-gradient(linear,left top,left bottom,from(#e6e6e6),to(#ccc));background-image:-webkit-linear-gradient(#e6e6e6,#ccc);background-image:-moz-linear-gradient(#e6e6e6,#ccc);background-image:-ms-linear-gradient(#e6e6e6,#ccc);background-image:-o-linear-gradient(#e6e6e6,#ccc);background-image:linear-gradient(#e6e6e6,#ccc)}.ui-body-b,.ui-body-b input,.ui-body-b select,.ui-body-b textarea,.ui-body-b button{font-family:Helvetica,Arial,sans-serif}.ui-body-b .ui-link-inherit{color:#333}.ui-body-b .ui-link{color:#2489ce;font-weight:bold}.ui-body-b .ui-link:hover{color:#2489ce}.ui-body-b .ui-link:active{color:#2489ce}.ui-body-b .ui-link:visited{color:#2489ce}.ui-btn-up-b{border:1px solid #145072;background:#2567ab;font-weight:bold;color:#fff;text-shadow:0 -1px 1px #145072;background-image:-webkit-gradient(linear,left top,left bottom,from(#5f9cc5),to(#396b9e));background-image:-webkit-linear-gradient(#5f9cc5,#396b9e);background-image:-moz-linear-gradient(#5f9cc5,#396b9e);background-image:-ms-linear-gradient(#5f9cc5,#396b9e);background-image:-o-linear-gradient(#5f9cc5,#396b9e);background-image:linear-gradient(#5f9cc5,#396b9e)}.ui-btn-up-b a.ui-link-inherit{color:#fff}.ui-btn-hover-b{border:1px solid #00516e;background:#4b88b6;font-weight:bold;color:#fff;text-shadow:0 -1px 1px #014d68;background-image:-webkit-gradient(linear,left top,left bottom,from(#72b0d4),to(#4b88b6));background-image:-webkit-linear-gradient(#72b0d4,#4b88b6);background-image:-moz-linear-gradient(#72b0d4,#4b88b6);background-image:-ms-linear-gradient(#72b0d4,#4b88b6);background-image:-o-linear-gradient(#72b0d4,#4b88b6);background-image:linear-gradient(#72b0d4,#4b88b6)}.ui-btn-hover-b a.ui-link-inherit{color:#fff}.ui-btn-down-b{border:1px solid #225377;background:#4e89c5;font-weight:bold;color:#fff;text-shadow:0 -1px 1px #225377;background-image:-webkit-gradient(linear,left top,left bottom,from(#396b9e),to(#4e89c5));background-image:-webkit-linear-gradient(#396b9e,#4e89c5);background-image:-moz-linear-gradient(#396b9e,#4e89c5);background-image:-ms-linear-gradient(#396b9e,#4e89c5);background-image:-o-linear-gradient(#396b9e,#4e89c5);background-image:linear-gradient(#396b9e,#4e89c5)}.ui-btn-down-b a.ui-link-inherit{color:#fff}.ui-btn-up-b,.ui-btn-hover-b,.ui-btn-down-b{font-family:Helvetica,Arial,sans-serif;text-decoration:none}.ui-bar-c{border:1px solid #b3b3b3;background:#e9eaeb;color:#3e3e3e;font-weight:bold;text-shadow:0 1px 1px #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#f0f0f0),to(#e9eaeb));background-image:-webkit-linear-gradient(#f0f0f0,#e9eaeb);background-image:-moz-linear-gradient(#f0f0f0,#e9eaeb);background-image:-ms-linear-gradient(#f0f0f0,#e9eaeb);background-image:-o-linear-gradient(#f0f0f0,#e9eaeb);background-image:linear-gradient(#f0f0f0,#e9eaeb)}.ui-bar-c .ui-link-inherit{color:#3e3e3e}.ui-bar-c .ui-link{color:#7cc4e7;font-weight:bold}.ui-bar-c .ui-link:hover{color:#2489ce}.ui-bar-c .ui-link:active{color:#2489ce}.ui-bar-c .ui-link:visited{color:#2489ce}.ui-bar-c,.ui-bar-c input,.ui-bar-c select,.ui-bar-c textarea,.ui-bar-c button{font-family:Helvetica,Arial,sans-serif}.ui-body-c,.ui-dialog.ui-overlay-c{border:1px solid #b3b3b3;color:#333;text-shadow:0 1px 0 #fff;background:#f0f0f0;background-image:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#ddd));background-image:-webkit-linear-gradient(#eee,#ddd);background-image:-moz-linear-gradient(#eee,#ddd);background-image:-ms-linear-gradient(#eee,#ddd);background-image:-o-linear-gradient(#eee,#ddd);background-image:linear-gradient(#eee,#ddd)}.ui-body-c,.ui-body-c input,.ui-body-c select,.ui-body-c textarea,.ui-body-c button{font-family:Helvetica,Arial,sans-serif}.ui-body-c .ui-link-inherit{color:#333}.ui-body-c .ui-link{color:#2489ce;font-weight:bold}.ui-body-c .ui-link:hover{color:#2489ce}.ui-body-c .ui-link:active{color:#2489ce}.ui-body-c .ui-link:visited{color:#2489ce}.ui-btn-up-c{border:1px solid #ccc;background:#eee;font-weight:bold;color:#444;text-shadow:0 1px 1px #f6f6f6;background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee));background-image:-webkit-linear-gradient(#fdfdfd,#eee);background-image:-moz-linear-gradient(#fdfdfd,#eee);background-image:-ms-linear-gradient(#fdfdfd,#eee);background-image:-o-linear-gradient(#fdfdfd,#eee);background-image:linear-gradient(#fdfdfd,#eee)}.ui-btn-up-c a.ui-link-inherit{color:#2f3e46}.ui-btn-hover-c{border:1px solid #bbb;background:#dadada;font-weight:bold;color:#101010;text-shadow:0 1px 1px #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#ededed),to(#dadada));background-image:-webkit-linear-gradient(#ededed,#dadada);background-image:-moz-linear-gradient(#ededed,#dadada);background-image:-ms-linear-gradient(#ededed,#dadada);background-image:-o-linear-gradient(#ededed,#dadada);background-image:linear-gradient(#ededed,#dadada)}.ui-btn-hover-c a.ui-link-inherit{color:#2f3e46}.ui-btn-down-c{border:1px solid #808080;background:#fdfdfd;font-weight:bold;color:#111;text-shadow:0 1px 1px #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#fdfdfd));background-image:-webkit-linear-gradient(#eee,#fdfdfd);background-image:-moz-linear-gradient(#eee,#fdfdfd);background-image:-ms-linear-gradient(#eee,#fdfdfd);background-image:-o-linear-gradient(#eee,#fdfdfd);background-image:linear-gradient(#eee,#fdfdfd)}.ui-btn-down-c a.ui-link-inherit{color:#2f3e46}.ui-btn-up-c,.ui-btn-hover-c,.ui-btn-down-c{font-family:Helvetica,Arial,sans-serif;text-decoration:none}.ui-bar-d{border:1px solid #ccc;background:#bbb;color:#333;text-shadow:0 1px 0 #eee;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddd),to(#bbb));background-image:-webkit-linear-gradient(#ddd,#bbb);background-image:-moz-linear-gradient(#ddd,#bbb);background-image:-ms-linear-gradient(#ddd,#bbb);background-image:-o-linear-gradient(#ddd,#bbb);background-image:linear-gradient(#ddd,#bbb)}.ui-bar-d,.ui-bar-d input,.ui-bar-d select,.ui-bar-d textarea,.ui-bar-d button{font-family:Helvetica,Arial,sans-serif}.ui-bar-d .ui-link-inherit{color:#333}.ui-bar-d .ui-link{color:#2489ce;font-weight:bold}.ui-bar-d .ui-link:hover{color:#2489ce}.ui-bar-d .ui-link:active{color:#2489ce}.ui-bar-d .ui-link:visited{color:#2489ce}.ui-body-d,.ui-dialog.ui-overlay-d{border:1px solid #ccc;color:#333;text-shadow:0 1px 0 #fff;background:#fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#fff));background-image:-webkit-linear-gradient(#fff,#fff);background-image:-moz-linear-gradient(#fff,#fff);background-image:-ms-linear-gradient(#fff,#fff);background-image:-o-linear-gradient(#fff,#fff);background-image:linear-gradient(#fff,#fff)}.ui-body-d,.ui-body-d input,.ui-body-d select,.ui-body-d textarea,.ui-body-d button{font-family:Helvetica,Arial,sans-serif}.ui-body-d .ui-link-inherit{color:#333}.ui-body-d .ui-link{color:#2489ce;font-weight:bold}.ui-body-d .ui-link:hover{color:#2489ce}.ui-body-d .ui-link:active{color:#2489ce}.ui-body-d .ui-link:visited{color:#2489ce}.ui-btn-up-d{border:1px solid #ccc;background:#fff;font-weight:bold;color:#444;text-shadow:0 1px 1px #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#fff));background-image:-webkit-linear-gradient(#fff,#fff);background-image:-moz-linear-gradient(#fff,#fff);background-image:-ms-linear-gradient(#fff,#fff);background-image:-o-linear-gradient(#fff,#fff);background-image:linear-gradient(#fff,#fff)}.ui-btn-up-d a.ui-link-inherit{color:#333}.ui-btn-hover-d{border:1px solid #aaa;background:#eee;font-weight:bold;color:#222;cursor:pointer;text-shadow:0 1px 1px #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee));background-image:-webkit-linear-gradient(#fdfdfd,#eee);background-image:-moz-linear-gradient(#fdfdfd,#eee);background-image:-ms-linear-gradient(#fdfdfd,#eee);background-image:-o-linear-gradient(#fdfdfd,#eee);background-image:linear-gradient(#fdfdfd,#eee)}.ui-btn-hover-d a.ui-link-inherit{color:#222}.ui-btn-down-d{border:1px solid #aaa;background:#fff;font-weight:bold;color:#111;text-shadow:0 1px 1px #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#fff));background-image:-webkit-linear-gradient(#eee,#fff);background-image:-moz-linear-gradient(#eee,#fff);background-image:-ms-linear-gradient(#eee,#fff);background-image:-o-linear-gradient(#eee,#fff);background-image:linear-gradient(#eee,#fff)}.ui-btn-down-d a.ui-link-inherit{color:#111}.ui-btn-up-d,.ui-btn-hover-d,.ui-btn-down-d{font-family:Helvetica,Arial,sans-serif;text-decoration:none}.ui-bar-e{border:1px solid #f7c942;background:#fadb4e;color:#333;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#fceda7),to(#fadb4e));background-image:-webkit-linear-gradient(#fceda7,#fadb4e);background-image:-moz-linear-gradient(#fceda7,#fadb4e);background-image:-ms-linear-gradient(#fceda7,#fadb4e);background-image:-o-linear-gradient(#fceda7,#fadb4e);background-image:linear-gradient(#fceda7,#fadb4e)}.ui-bar-e,.ui-bar-e input,.ui-bar-e select,.ui-bar-e textarea,.ui-bar-e button{font-family:Helvetica,Arial,sans-serif}.ui-bar-e .ui-link-inherit{color:#333}.ui-bar-e .ui-link{color:#2489ce;font-weight:bold}.ui-bar-e .ui-link:hover{color:#2489ce}.ui-bar-e .ui-link:active{color:#2489ce}.ui-bar-e .ui-link:visited{color:#2489ce}.ui-body-e,.ui-dialog.ui-overlay-e{border:1px solid #f7c942;color:#333;text-shadow:0 1px 0 #fff;background:#faeb9e;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#faeb9e));background-image:-webkit-linear-gradient(#fff,#faeb9e);background-image:-moz-linear-gradient(#fff,#faeb9e);background-image:-ms-linear-gradient(#fff,#faeb9e);background-image:-o-linear-gradient(#fff,#faeb9e);background-image:linear-gradient(#fff,#faeb9e)}.ui-body-e,.ui-body-e input,.ui-body-e select,.ui-body-e textarea,.ui-body-e button{font-family:Helvetica,Arial,sans-serif}.ui-body-e .ui-link-inherit{color:#333}.ui-body-e .ui-link{color:#2489ce;font-weight:bold}.ui-body-e .ui-link:hover{color:#2489ce}.ui-body-e .ui-link:active{color:#2489ce}.ui-body-e .ui-link:visited{color:#2489ce}.ui-btn-up-e{border:1px solid #f7c942;background:#fadb4e;font-weight:bold;color:#333;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#fceda7),to(#fadb4e));background-image:-webkit-linear-gradient(#fceda7,#fadb4e);background-image:-moz-linear-gradient(#fceda7,#fadb4e);background-image:-ms-linear-gradient(#fceda7,#fadb4e);background-image:-o-linear-gradient(#fceda7,#fadb4e);background-image:linear-gradient(#fceda7,#fadb4e)}.ui-btn-up-e a.ui-link-inherit{color:#333}.ui-btn-hover-e{border:1px solid #e79952;background:#fbe26f;font-weight:bold;color:#111;text-shadow:0 1px 1px #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf0b5),to(#fbe26f));background-image:-webkit-linear-gradient(#fcf0b5,#fbe26f);background-image:-moz-linear-gradient(#fcf0b5,#fbe26f);background-image:-ms-linear-gradient(#fcf0b5,#fbe26f);background-image:-o-linear-gradient(#fcf0b5,#fbe26f);background-image:linear-gradient(#fcf0b5,#fbe26f)}.ui-btn-hover-e a.ui-link-inherit{color:#333}.ui-btn-down-e{border:1px solid #f7c942;background:#fceda7;font-weight:bold;color:#111;text-shadow:0 1px 1px #fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#fadb4e),to(#fceda7));background-image:-webkit-linear-gradient(#fadb4e,#fceda7);background-image:-moz-linear-gradient(#fadb4e,#fceda7);background-image:-ms-linear-gradient(#fadb4e,#fceda7);background-image:-o-linear-gradient(#fadb4e,#fceda7);background-image:linear-gradient(#fadb4e,#fceda7)}.ui-btn-down-e a.ui-link-inherit{color:#333}.ui-btn-up-e,.ui-btn-hover-e,.ui-btn-down-e{font-family:Helvetica,Arial,sans-serif;text-decoration:none}a.ui-link-inherit{text-decoration:none!important}.ui-btn-active{border:1px solid #155678;background:#4596ce;font-weight:bold;color:#fff;cursor:pointer;text-shadow:0 -1px 1px #145072;text-decoration:none;background-image:-webkit-gradient(linear,left top,left bottom,from(#85bae4),to(#5393c5));background-image:-webkit-linear-gradient(#85bae4,#5393c5);background-image:-moz-linear-gradient(#85bae4,#5393c5);background-image:-ms-linear-gradient(#85bae4,#5393c5);background-image:-o-linear-gradient(#85bae4,#5393c5);background-image:linear-gradient(#85bae4,#5393c5);font-family:Helvetica,Arial,sans-serif}.ui-btn-active a.ui-link-inherit{color:#fff}.ui-btn-inner{border-top:1px solid #fff;border-color:rgba(255,255,255,.3)}.ui-corner-tl{-moz-border-radius-topleft:.6em;-webkit-border-top-left-radius:.6em;border-top-left-radius:.6em}.ui-corner-tr{-moz-border-radius-topright:.6em;-webkit-border-top-right-radius:.6em;border-top-right-radius:.6em}.ui-corner-bl{-moz-border-radius-bottomleft:.6em;-webkit-border-bottom-left-radius:.6em;border-bottom-left-radius:.6em}.ui-corner-br{-moz-border-radius-bottomright:.6em;-webkit-border-bottom-right-radius:.6em;border-bottom-right-radius:.6em}.ui-corner-top{-moz-border-radius-topleft:.6em;-webkit-border-top-left-radius:.6em;border-top-left-radius:.6em;-moz-border-radius-topright:.6em;-webkit-border-top-right-radius:.6em;border-top-right-radius:.6em}.ui-corner-bottom{-moz-border-radius-bottomleft:.6em;-webkit-border-bottom-left-radius:.6em;border-bottom-left-radius:.6em;-moz-border-radius-bottomright:.6em;-webkit-border-bottom-right-radius:.6em;border-bottom-right-radius:.6em}.ui-corner-right{-moz-border-radius-topright:.6em;-webkit-border-top-right-radius:.6em;border-top-right-radius:.6em;-moz-border-radius-bottomright:.6em;-webkit-border-bottom-right-radius:.6em;border-bottom-right-radius:.6em}.ui-corner-left{-moz-border-radius-topleft:.6em;-webkit-border-top-left-radius:.6em;border-top-left-radius:.6em;-moz-border-radius-bottomleft:.6em;-webkit-border-bottom-left-radius:.6em;border-bottom-left-radius:.6em}.ui-corner-all{-moz-border-radius:.6em;-webkit-border-radius:.6em;border-radius:.6em}.ui-corner-none{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.ui-br{border-bottom:#828282;border-bottom:rgba(130,130,130,.3);border-bottom-width:1px;border-bottom-style:solid}.ui-disabled{opacity:.3}.ui-disabled,.ui-disabled a{pointer-events:none;cursor:default}.ui-icon,.ui-icon-searchfield:after{background:#666;background:rgba(0,0,0,.4);background-image:url(images/icons-18-white.png);background-repeat:no-repeat;-moz-border-radius:9px;-webkit-border-radius:9px;border-radius:9px}.ui-icon-alt{background:#fff;background:rgba(255,255,255,.3);background-image:url(images/icons-18-black.png);background-repeat:no-repeat}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-resolution:240dpi){.ui-icon-plus,.ui-icon-minus,.ui-icon-delete,.ui-icon-arrow-r,.ui-icon-arrow-l,.ui-icon-arrow-u,.ui-icon-arrow-d,.ui-icon-check,.ui-icon-gear,.ui-icon-refresh,.ui-icon-forward,.ui-icon-back,.ui-icon-grid,.ui-icon-star,.ui-icon-alert,.ui-icon-info,.ui-icon-home,.ui-icon-search,.ui-icon-searchfield:after,.ui-icon-checkbox-off,.ui-icon-checkbox-on,.ui-icon-radio-off,.ui-icon-radio-on{background-image:url(images/icons-36-white.png);-moz-background-size:776px 18px;-o-background-size:776px 18px;-webkit-background-size:776px 18px;background-size:776px 18px}.ui-icon-alt{background-image:url(images/icons-36-black.png)}}.ui-icon-plus{background-position:-0 50%}.ui-icon-minus{background-position:-36px 50%}.ui-icon-delete{background-position:-72px 50%}.ui-icon-arrow-r{background-position:-108px 50%}.ui-icon-arrow-l{background-position:-144px 50%}.ui-icon-arrow-u{background-position:-180px 50%}.ui-icon-arrow-d{background-position:-216px 50%}.ui-icon-check{background-position:-252px 50%}.ui-icon-gear{background-position:-288px 50%}.ui-icon-refresh{background-position:-324px 50%}.ui-icon-forward{background-position:-360px 50%}.ui-icon-back{background-position:-396px 50%}.ui-icon-grid{background-position:-432px 50%}.ui-icon-star{background-position:-468px 50%}.ui-icon-alert{background-position:-504px 50%}.ui-icon-info{background-position:-540px 50%}.ui-icon-home{background-position:-576px 50%}.ui-icon-search,.ui-icon-searchfield:after{background-position:-612px 50%}.ui-icon-checkbox-off{background-position:-684px 50%}.ui-icon-checkbox-on{background-position:-648px 50%}.ui-icon-radio-off{background-position:-756px 50%}.ui-icon-radio-on{background-position:-720px 50%}.ui-checkbox .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.ui-icon-checkbox-off,.ui-icon-radio-off{background-color:transparent}.ui-checkbox-on .ui-icon,.ui-radio-on .ui-icon{background-color:#4596ce}.ui-icon-loading{background-image:url(images/ajax-loader.png);width:40px;height:40px;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;background-size:35px 35px}.ui-btn-corner-tl{-moz-border-radius-topleft:1em;-webkit-border-top-left-radius:1em;border-top-left-radius:1em}.ui-btn-corner-tr{-moz-border-radius-topright:1em;-webkit-border-top-right-radius:1em;border-top-right-radius:1em}.ui-btn-corner-bl{-moz-border-radius-bottomleft:1em;-webkit-border-bottom-left-radius:1em;border-bottom-left-radius:1em}.ui-btn-corner-br{-moz-border-radius-bottomright:1em;-webkit-border-bottom-right-radius:1em;border-bottom-right-radius:1em}.ui-btn-corner-top{-moz-border-radius-topleft:1em;-webkit-border-top-left-radius:1em;border-top-left-radius:1em;-moz-border-radius-topright:1em;-webkit-border-top-right-radius:1em;border-top-right-radius:1em}.ui-btn-corner-bottom{-moz-border-radius-bottomleft:1em;-webkit-border-bottom-left-radius:1em;border-bottom-left-radius:1em;-moz-border-radius-bottomright:1em;-webkit-border-bottom-right-radius:1em;border-bottom-right-radius:1em}.ui-btn-corner-right{-moz-border-radius-topright:1em;-webkit-border-top-right-radius:1em;border-top-right-radius:1em;-moz-border-radius-bottomright:1em;-webkit-border-bottom-right-radius:1em;border-bottom-right-radius:1em}.ui-btn-corner-left{-moz-border-radius-topleft:1em;-webkit-border-top-left-radius:1em;border-top-left-radius:1em;-moz-border-radius-bottomleft:1em;-webkit-border-bottom-left-radius:1em;border-bottom-left-radius:1em}.ui-btn-corner-all{-moz-border-radius:1em;-webkit-border-radius:1em;border-radius:1em}.ui-corner-tl,.ui-corner-tr,.ui-corner-bl,.ui-corner-br,.ui-corner-top,.ui-corner-bottom,.ui-corner-right,.ui-corner-left,.ui-corner-all,.ui-btn-corner-tl,.ui-btn-corner-tr,.ui-btn-corner-bl,.ui-btn-corner-br,.ui-btn-corner-top,.ui-btn-corner-bottom,.ui-btn-corner-right,.ui-btn-corner-left,.ui-btn-corner-all{-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.ui-overlay{background:#666;opacity:.5;filter:Alpha(Opacity=50);position:absolute;width:100%;height:100%}.ui-overlay-shadow{-moz-box-shadow:0 0 12px rgba(0,0,0,.6);-webkit-box-shadow:0 0 12px rgba(0,0,0,.6);box-shadow:0 0 12px rgba(0,0,0,.6)}.ui-shadow{-moz-box-shadow:0 1px 4px rgba(0,0,0,.3);-webkit-box-shadow:0 1px 4px rgba(0,0,0,.3);box-shadow:0 1px 4px rgba(0,0,0,.3)}.ui-bar-a .ui-shadow,.ui-bar-b .ui-shadow,.ui-bar-c .ui-shadow{-moz-box-shadow:0 1px 0 rgba(255,255,255,.3);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.3);box-shadow:0 1px 0 rgba(255,255,255,.3)}.ui-shadow-inset{-moz-box-shadow:inset 0 1px 4px rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 4px rgba(0,0,0,.2);box-shadow:inset 0 1px 4px rgba(0,0,0,.2)}.ui-icon-shadow{-moz-box-shadow:0 1px 0 rgba(255,255,255,.4);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.4);box-shadow:0 1px 0 rgba(255,255,255,.4)}.ui-focus{-moz-box-shadow:0 0 12px #387bbe;-webkit-box-shadow:0 0 12px #387bbe;box-shadow:0 0 12px #387bbe}.ui-mobile-nosupport-boxshadow *{-moz-box-shadow:none!important;-webkit-box-shadow:none!important;box-shadow:none!important}.ui-mobile-nosupport-boxshadow .ui-focus{outline-width:2px}.ui-mobile,.ui-mobile body{height:100%}.ui-mobile fieldset,.ui-page{padding:0;margin:0}.ui-mobile a img,.ui-mobile fieldset{border-width:0}.ui-mobile-viewport{margin:0;overflow-x:visible;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}body.ui-mobile-viewport,div.ui-mobile-viewport{overflow-x:hidden}.ui-mobile [data-role=page],.ui-mobile [data-role=dialog],.ui-page{top:0;left:0;width:100%;min-height:100%;position:absolute;display:none;border:0}.ui-mobile .ui-page-active{display:block;overflow:visible}.ui-page{outline:0}@media screen and (orientation:portrait){.ui-mobile,.ui-mobile .ui-page{min-height:420px}}@media screen and (orientation:landscape){.ui-mobile,.ui-mobile .ui-page{min-height:300px}}.ui-page.ui-mobile-touch-overflow,.ui-mobile-touch-overflow.ui-native-fixed .ui-content{overflow:auto;height:100%;left:0;right:0;-webkit-overflow-scrolling:touch;-moz-overflow-scrolling:touch;-o-overflow-scrolling:touch;-ms-overflow-scrolling:touch;overflow-scrolling:touch}.ui-page.ui-mobile-touch-overflow,.ui-page.ui-mobile-touch-overflow *{-webkit-transform:rotateY(0)}.ui-page.ui-mobile-pre-transition{display:block}.ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview{margin-top:0}.ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview-inset{margin-top:1em}.ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview-filter{margin-top:.2em;margin-bottom:0}.ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview-filter-inset{margin-bottom:-.9em}.ui-mobile-touch-overflow.ui-native-fixed .ui-header .ui-btn{z-index:10}.ui-loading .ui-mobile-viewport{overflow:hidden!important}.ui-loading .ui-loader{display:block}.ui-loading .ui-page{overflow:hidden}.ui-loader{display:none;position:absolute;opacity:.85;z-index:100;left:50%;width:200px;margin-left:-130px;margin-top:-35px;padding:10px 30px}.ui-loader h1{font-size:15px;text-align:center}.ui-loader .ui-icon{position:static;display:block;opacity:.9;margin:0 auto;width:35px;height:35px;background-color:transparent}.ui-mobile-rendering>*{visibility:hidden}.ui-bar,.ui-body{position:relative;padding:.4em 15px;overflow:hidden;display:block;clear:both}.ui-bar{font-size:16px;margin:0}.ui-bar h1,.ui-bar h2,.ui-bar h3,.ui-bar h4,.ui-bar h5,.ui-bar h6{margin:0;padding:0;font-size:16px;display:inline-block}.ui-header,.ui-footer{display:block}.ui-page .ui-header,.ui-page .ui-footer{position:relative}.ui-header .ui-btn-left{position:absolute;left:10px;top:.4em}.ui-header .ui-btn-right{position:absolute;right:10px;top:.4em}.ui-header .ui-title,.ui-footer .ui-title{min-height:1.1em;text-align:center;font-size:16px;display:block;margin:.6em 90px .8em;padding:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;outline:0!important}.ui-footer .ui-title{margin:.6em 15px .8em}.ui-content{border-width:0;overflow:visible;overflow-x:hidden;padding:15px}.ui-page-fullscreen .ui-content{padding:0}.ui-mobile-touch-overflow.ui-page.ui-native-fixed,.ui-mobile-touch-overflow.ui-page.ui-native-fullscreen{overflow:visible}.ui-mobile-touch-overflow.ui-native-fixed .ui-header,.ui-mobile-touch-overflow.ui-native-fixed .ui-footer{position:fixed;left:0;right:0;top:0;z-index:200}.ui-mobile-touch-overflow.ui-page.ui-native-fixed .ui-footer{top:auto;bottom:0}.ui-mobile-touch-overflow.ui-native-fixed .ui-content{padding-top:2.5em;padding-bottom:3em;top:0;bottom:0;height:auto;position:absolute}.ui-mobile-touch-overflow.ui-native-fullscreen .ui-content{padding-top:0;padding-bottom:0}.ui-mobile-touch-overflow.ui-native-fullscreen .ui-header,.ui-mobile-touch-overflow.ui-native-fullscreen .ui-footer{opacity:.9}.ui-native-bars-hidden{display:none}.ui-icon{width:18px;height:18px}.ui-fullscreen img{max-width:100%}.ui-nojs{position:absolute;left:-9999px}.ui-hide-label label,.ui-hidden-accessible{position:absolute!important;left:-9999px;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}.spin{-webkit-transform:rotate(360deg);-webkit-animation-name:spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}@-webkit-keyframes spin{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.in,.out{-webkit-animation-timing-function:ease-in-out;-webkit-animation-duration:350ms}.slide.out{-webkit-transform:translateX(-100%);-webkit-animation-name:slideouttoleft}.slide.in{-webkit-transform:translateX(0);-webkit-animation-name:slideinfromright}.slide.out.reverse{-webkit-transform:translateX(100%);-webkit-animation-name:slideouttoright}.slide.in.reverse{-webkit-transform:translateX(0);-webkit-animation-name:slideinfromleft}.slideup.out{-webkit-animation-name:dontmove;z-index:0}.slideup.in{-webkit-transform:translateY(0);-webkit-animation-name:slideinfrombottom;z-index:10}.slideup.in.reverse{z-index:0;-webkit-animation-name:dontmove}.slideup.out.reverse{-webkit-transform:translateY(100%);z-index:10;-webkit-animation-name:slideouttobottom}.slidedown.out{-webkit-animation-name:dontmove;z-index:0}.slidedown.in{-webkit-transform:translateY(0);-webkit-animation-name:slideinfromtop;z-index:10}.slidedown.in.reverse{z-index:0;-webkit-animation-name:dontmove}.slidedown.out.reverse{-webkit-transform:translateY(-100%);z-index:10;-webkit-animation-name:slideouttotop}@-webkit-keyframes slideinfromright{from{-webkit-transform:translateX(100%)}to{-webkit-transform:translateX(0)}}@-webkit-keyframes slideinfromleft{from{-webkit-transform:translateX(-100%)}to{-webkit-transform:translateX(0)}}@-webkit-keyframes slideouttoleft{from{-webkit-transform:translateX(0)}to{-webkit-transform:translateX(-100%)}}@-webkit-keyframes slideouttoright{from{-webkit-transform:translateX(0)}to{-webkit-transform:translateX(100%)}}@-webkit-keyframes slideinfromtop{from{-webkit-transform:translateY(-100%)}to{-webkit-transform:translateY(0)}}@-webkit-keyframes slideinfrombottom{from{-webkit-transform:translateY(100%)}to{-webkit-transform:translateY(0)}}@-webkit-keyframes slideouttobottom{from{-webkit-transform:translateY(0)}to{-webkit-transform:translateY(100%)}}@-webkit-keyframes slideouttotop{from{-webkit-transform:translateY(0)}to{-webkit-transform:translateY(-100%)}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadeout{from{opacity:1}to{opacity:0}}.fade.out{z-index:0;-webkit-animation-name:fadeout}.fade.in{opacity:1;z-index:10;-webkit-animation-name:fadein}.viewport-flip{-webkit-perspective:1000;position:absolute}.ui-mobile-viewport-transitioning,.ui-mobile-viewport-transitioning .ui-page{width:100%;height:100%;overflow:hidden}.flip{-webkit-animation-duration:.65s;-webkit-backface-visibility:hidden;-webkit-transform:translateX(0)}.flip.out{-webkit-transform:rotateY(-180deg) scale(.8);-webkit-animation-name:flipouttoleft}.flip.in{-webkit-transform:rotateY(0) scale(1);-webkit-animation-name:flipinfromleft}.flip.out.reverse{-webkit-transform:rotateY(180deg) scale(.8);-webkit-animation-name:flipouttoright}.flip.in.reverse{-webkit-transform:rotateY(0) scale(1);-webkit-animation-name:flipinfromright}@-webkit-keyframes flipinfromright{from{-webkit-transform:rotateY(-180deg) scale(.8)}to{-webkit-transform:rotateY(0) scale(1)}}@-webkit-keyframes flipinfromleft{from{-webkit-transform:rotateY(180deg) scale(.8)}to{-webkit-transform:rotateY(0) scale(1)}}@-webkit-keyframes flipouttoleft{from{-webkit-transform:rotateY(0) scale(1)}to{-webkit-transform:rotateY(-180deg) scale(.8)}}@-webkit-keyframes flipouttoright{from{-webkit-transform:rotateY(0) scale(1)}to{-webkit-transform:rotateY(180deg) scale(.8)}}@-webkit-keyframes dontmove{from{opacity:1}to{opacity:1}}.pop{-webkit-transform-origin:50% 50%}.pop.in{-webkit-transform:scale(1);opacity:1;-webkit-animation-name:popin;z-index:10}.pop.in.reverse{z-index:0;-webkit-animation-name:dontmove}.pop.out.reverse{-webkit-transform:scale(.2);opacity:0;-webkit-animation-name:popout;z-index:10}@-webkit-keyframes popin{from{-webkit-transform:scale(.2);opacity:0}to{-webkit-transform:scale(1);opacity:1}}@-webkit-keyframes popout{from{-webkit-transform:scale(1);opacity:1}to{-webkit-transform:scale(.2);opacity:0}}.ui-grid-a,.ui-grid-b,.ui-grid-c,.ui-grid-d{overflow:hidden}.ui-block-a,.ui-block-b,.ui-block-c,.ui-block-d,.ui-block-e{margin:0;padding:0;border:0;float:left;min-height:1px}.ui-grid-solo .ui-block-a{width:100%;float:none}.ui-grid-a .ui-block-a,.ui-grid-a .ui-block-b{width:50%}.ui-grid-a .ui-block-a{clear:left}.ui-grid-b .ui-block-a,.ui-grid-b .ui-block-b,.ui-grid-b .ui-block-c{width:33.333%}.ui-grid-b .ui-block-a{clear:left}.ui-grid-c .ui-block-a,.ui-grid-c .ui-block-b,.ui-grid-c .ui-block-c,.ui-grid-c .ui-block-d{width:25%}.ui-grid-c .ui-block-a{clear:left}.ui-grid-d .ui-block-a,.ui-grid-d .ui-block-b,.ui-grid-d .ui-block-c,.ui-grid-d .ui-block-d,.ui-grid-d .ui-block-e{width:20%}.ui-grid-d .ui-block-a{clear:left}.ui-header,.ui-footer,.ui-page-fullscreen .ui-header,.ui-page-fullscreen .ui-footer{position:absolute;overflow:hidden;width:100%;border-left-width:0;border-right-width:0}.ui-header-fixed,.ui-footer-fixed{z-index:1000;-webkit-transform:translateZ(0)}.ui-footer-duplicate,.ui-page-fullscreen .ui-fixed-inline{display:none}.ui-page-fullscreen .ui-header,.ui-page-fullscreen .ui-footer{opacity:.9}.ui-navbar{overflow:hidden}.ui-navbar ul,.ui-navbar-expanded ul{list-style:none;padding:0;margin:0;position:relative;display:block;border:0}.ui-navbar-collapsed ul{float:left;width:75%;margin-right:-2px}.ui-navbar-collapsed .ui-navbar-toggle{float:left;width:25%}.ui-navbar li.ui-navbar-truncate{position:absolute;left:-9999px;top:-9999px}.ui-navbar li .ui-btn,.ui-navbar .ui-navbar-toggle .ui-btn{display:block;font-size:12px;text-align:center;margin:0;border-right-width:0;max-width:100%}.ui-navbar li .ui-btn{margin-right:-1px}.ui-navbar li .ui-btn:last-child{margin-right:0}.ui-header .ui-navbar li .ui-btn,.ui-header .ui-navbar .ui-navbar-toggle .ui-btn,.ui-footer .ui-navbar li .ui-btn,.ui-footer .ui-navbar .ui-navbar-toggle .ui-btn{border-top-width:0;border-bottom-width:0}.ui-navbar .ui-btn-inner{padding-left:2px;padding-right:2px}.ui-navbar-noicons li .ui-btn .ui-btn-inner,.ui-navbar-noicons .ui-navbar-toggle .ui-btn-inner{padding-top:.8em;padding-bottom:.9em}.ui-navbar-expanded .ui-btn{margin:0;font-size:14px}.ui-navbar-expanded .ui-btn-inner{padding-left:5px;padding-right:5px}.ui-navbar-expanded .ui-btn-icon-top .ui-btn-inner{padding:45px 5px 15px;text-align:center}.ui-navbar-expanded .ui-btn-icon-top .ui-icon{top:15px}.ui-navbar-expanded .ui-btn-icon-bottom .ui-btn-inner{padding:15px 5px 45px;text-align:center}.ui-navbar-expanded .ui-btn-icon-bottom .ui-icon{bottom:15px}.ui-navbar-expanded li .ui-btn .ui-btn-inner{min-height:2.5em}.ui-navbar-expanded .ui-navbar-noicons .ui-btn .ui-btn-inner{padding-top:1.8em;padding-bottom:1.9em}.ui-btn{display:block;text-align:center;cursor:pointer;position:relative;margin:.5em 5px;padding:0}.ui-header .ui-btn,.ui-footer .ui-btn,.ui-bar .ui-btn{display:inline-block;font-size:13px;margin:0}.ui-btn-inline{display:inline-block}.ui-btn-inner{padding:.6em 25px;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;position:relative;zoom:1}.ui-btn input,.ui-btn button{z-index:2}.ui-header .ui-btn-inner,.ui-footer .ui-btn-inner,.ui-bar .ui-btn-inner{padding:.4em 8px .5em}.ui-btn-icon-notext{width:24px;height:24px}.ui-btn-icon-notext .ui-btn-inner{padding:2px 1px 2px 3px}.ui-btn-text{position:relative;z-index:1}.ui-btn-icon-notext .ui-btn-text{position:absolute;left:-9999px}.ui-btn-icon-left .ui-btn-inner{padding-left:33px}.ui-header .ui-btn-icon-left .ui-btn-inner,.ui-footer .ui-btn-icon-left .ui-btn-inner,.ui-bar .ui-btn-icon-left .ui-btn-inner{padding-left:27px}.ui-btn-icon-right .ui-btn-inner{padding-right:33px}.ui-header .ui-btn-icon-right .ui-btn-inner,.ui-footer .ui-btn-icon-right .ui-btn-inner,.ui-bar .ui-btn-icon-right .ui-btn-inner{padding-right:27px}.ui-btn-icon-top .ui-btn-inner{padding-top:33px}.ui-header .ui-btn-icon-top .ui-btn-inner,.ui-footer .ui-btn-icon-top .ui-btn-inner,.ui-bar .ui-btn-icon-top .ui-btn-inner{padding-top:27px}.ui-btn-icon-bottom .ui-btn-inner{padding-bottom:33px}.ui-header .ui-btn-icon-bottom .ui-btn-inner,.ui-footer .ui-btn-icon-bottom .ui-btn-inner,.ui-bar .ui-btn-icon-bottom .ui-btn-inner{padding-bottom:27px}.ui-btn-icon-notext .ui-icon{display:block;z-index:0}.ui-btn-icon-left .ui-icon,.ui-btn-icon-right .ui-icon{position:absolute;top:50%;margin-top:-9px}.ui-btn-icon-top .ui-icon,.ui-btn-icon-bottom .ui-icon{position:absolute;left:50%;margin-left:-9px}.ui-btn-icon-left .ui-icon{left:10px}.ui-btn-icon-right .ui-icon{right:10px}.ui-btn-icon-top .ui-icon{top:10px}.ui-btn-icon-bottom .ui-icon{bottom:10px}.ui-header .ui-btn-icon-left .ui-icon,.ui-footer .ui-btn-icon-left .ui-icon,.ui-bar .ui-btn-icon-left .ui-icon{left:4px}.ui-header .ui-btn-icon-right .ui-icon,.ui-footer .ui-btn-icon-right .ui-icon,.ui-bar .ui-btn-icon-right .ui-icon{right:4px}.ui-header .ui-btn-icon-top .ui-icon,.ui-footer .ui-btn-icon-top .ui-icon,.ui-bar .ui-btn-icon-top .ui-icon{top:4px}.ui-header .ui-btn-icon-bottom .ui-icon,.ui-footer .ui-btn-icon-bottom .ui-icon,.ui-bar .ui-btn-icon-bottom .ui-icon{bottom:4px}.ui-btn-hidden{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-appearance:button;opacity:.1;cursor:pointer;background:#fff;background:rgba(255,255,255,0);filter:Alpha(Opacity=.0001);font-size:1px;border:0;line-height:999px}.ui-collapsible{margin:.5em 0}.ui-collapsible-heading{font-size:16px;display:block;margin:0 -8px;padding:0;border-width:0 0 1px 0;position:relative}.ui-collapsible-heading a{text-align:left;margin:0}.ui-collapsible-heading a .ui-btn-inner{padding-left:40px}.ui-collapsible-heading a span.ui-btn{position:absolute;left:6px;top:50%;margin:-12px 0 0 0;width:20px;height:20px;padding:1px 0 1px 2px;text-indent:-9999px}.ui-collapsible-heading a span.ui-btn .ui-btn-inner{padding:10px 0}.ui-collapsible-heading a span.ui-btn .ui-icon{left:0;margin-top:-10px}.ui-collapsible-heading-status{position:absolute;top:-9999px;left:0}.ui-collapsible-content{display:block;margin:0 -8px;padding:10px 16px;border-top:0;background-image:none;font-weight:normal}.ui-collapsible-content-collapsed{display:none}.ui-collapsible-set{margin:.5em 0}.ui-collapsible-set .ui-collapsible{margin:-1px 0 0}.ui-controlgroup,fieldset.ui-controlgroup{padding:0;margin:.5em 0 1em}.ui-bar .ui-controlgroup{margin:0 .3em}.ui-controlgroup-label{font-size:16px;line-height:1.4;font-weight:normal;margin:0 0 .3em}.ui-controlgroup-controls{display:block;width:100%}.ui-controlgroup li{list-style:none}.ui-controlgroup-vertical .ui-btn,.ui-controlgroup-vertical .ui-checkbox,.ui-controlgroup-vertical .ui-radio{margin:0;border-bottom-width:0}.ui-controlgroup-controls label.ui-select{position:absolute;left:-9999px}.ui-controlgroup-vertical .ui-controlgroup-last{border-bottom-width:1px}.ui-controlgroup-horizontal{padding:0}.ui-controlgroup-horizontal .ui-btn,.ui-controlgroup-horizontal .ui-select{display:inline-block;margin:0 -5px 0 0}.ui-controlgroup-horizontal .ui-checkbox,.ui-controlgroup-horizontal .ui-radio{float:left;margin:0 -1px 0 0}.ui-controlgroup-horizontal .ui-checkbox .ui-btn,.ui-controlgroup-horizontal .ui-radio .ui-btn,.ui-controlgroup-horizontal .ui-checkbox:last-child,.ui-controlgroup-horizontal .ui-radio:last-child{margin-right:0}.ui-controlgroup-horizontal .ui-controlgroup-last{margin-right:0}.ui-controlgroup .ui-checkbox label,.ui-controlgroup .ui-radio label{font-size:16px}@media all and (min-width:450px){.ui-field-contain .ui-controlgroup-label{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain .ui-controlgroup-controls{width:60%;display:inline-block}.ui-field-contain .ui-controlgroup .ui-select{width:100%}.ui-field-contain .ui-controlgroup-horizontal .ui-select{width:auto}}.ui-dialog{min-height:480px}.ui-dialog .ui-header,.ui-dialog .ui-content,.ui-dialog .ui-footer{max-width:500px;margin:10% auto 15px auto;width:85%;position:relative}.ui-dialog .ui-header,.ui-dialog .ui-footer{padding:0 15px;z-index:10}.ui-dialog .ui-content{padding:15px}.ui-dialog .ui-content,.ui-dialog .ui-footer{margin-top:-15px}.ui-checkbox,.ui-radio{position:relative;margin:.2em 0 .5em;z-index:1}.ui-checkbox .ui-btn,.ui-radio .ui-btn{margin:0;text-align:left;z-index:2}.ui-checkbox .ui-btn-inner,.ui-radio .ui-btn-inner{white-space:normal}.ui-checkbox .ui-btn-icon-left .ui-btn-inner,.ui-radio .ui-btn-icon-left .ui-btn-inner{padding-left:45px}.ui-checkbox .ui-btn-icon-right .ui-btn-inner,.ui-radio .ui-btn-icon-right .ui-btn-inner{padding-right:45px}.ui-checkbox .ui-icon,.ui-radio .ui-icon{top:1.1em}.ui-checkbox .ui-btn-icon-left .ui-icon,.ui-radio .ui-btn-icon-left .ui-icon{left:15px}.ui-checkbox .ui-btn-icon-right .ui-icon,.ui-radio .ui-btn-icon-right .ui-icon{right:15px}.ui-checkbox input,.ui-radio input{position:absolute;left:20px;top:50%;width:10px;height:10px;margin:-5px 0 0 0;outline:0!important;z-index:1}.ui-field-contain,fieldset.ui-field-contain{padding:1.5em 0;margin:0;border-width:0 0 1px 0;overflow:visible}.ui-field-contain:first-child{border-top-width:0}@media all and (min-width:450px){.ui-field-contain,.ui-mobile fieldset.ui-field-contain{border-width:0;padding:0;margin:1em 0}}.ui-select{display:block;position:relative}.ui-select select{position:absolute;left:-9999px;top:-9999px}.ui-select .ui-btn{overflow:hidden}.ui-select .ui-btn{opacity:1}.ui-select .ui-btn select{cursor:pointer;-webkit-appearance:button;left:0;top:0;width:100%;min-height:1.5em;min-height:100%;height:3em;max-height:100%;opacity:0;-ms-filter:"alpha(opacity=0)";filter:alpha(opacity=0);z-index:2}.ui-select .ui-disabled{opacity:.3}@-moz-document url-prefix(){.ui-select .ui-btn select{opacity:.0001}}.ui-select .ui-btn select.ui-select-nativeonly{opacity:1;text-indent:0}.ui-select .ui-btn-icon-right .ui-btn-inner{padding-right:45px}.ui-select .ui-btn-icon-right .ui-icon{right:15px}label.ui-select{font-size:16px;line-height:1.4;font-weight:normal;margin:0 0 .3em;display:block}.ui-select .ui-btn-text,.ui-selectmenu .ui-btn-text{display:block;min-height:1em;overflow:hidden}.ui-select .ui-btn-text{text-overflow:ellipsis}.ui-selectmenu{position:absolute;padding:0;z-index:1100!important;width:80%;max-width:350px;padding:6px}.ui-selectmenu .ui-listview{margin:0}.ui-selectmenu .ui-btn.ui-li-divider{cursor:default}.ui-selectmenu-hidden{top:-9999px;left:-9999px}.ui-selectmenu-screen{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99}.ui-screen-hidden,.ui-selectmenu-list .ui-li .ui-icon{display:none}.ui-selectmenu-list .ui-li .ui-icon{display:block}.ui-li.ui-selectmenu-placeholder{display:none}.ui-selectmenu .ui-header .ui-title{margin:.6em 46px .8em}@media all and (min-width:450px){.ui-field-contain label.ui-select{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain .ui-select{width:60%;display:inline-block}}.ui-selectmenu .ui-header h1:after{content:'.';visibility:hidden}.ui-li-static .ui-select .ui-li-count{right:38px}label.ui-input-text{font-size:16px;line-height:1.4;display:block;font-weight:normal;margin:0 0 .3em}input.ui-input-text,textarea.ui-input-text{background-image:none;padding:.4em;line-height:1.4;font-size:16px;display:block;width:97%}input.ui-input-text{-webkit-appearance:none}textarea.ui-input-text{height:50px;-webkit-transition:height 200ms linear;-moz-transition:height 200ms linear;-o-transition:height 200ms linear;transition:height 200ms linear}.ui-input-search{padding:0 30px;background-image:none;position:relative}.ui-icon-searchfield:after{position:absolute;left:7px;top:50%;margin-top:-9px;content:"";width:18px;height:18px;opacity:.5}.ui-input-search input.ui-input-text{border:0;width:98%;padding:.4em 0;margin:0;display:block;background:transparent none;outline:0!important}.ui-input-search .ui-input-clear{position:absolute;right:0;top:50%;margin-top:-13px}.ui-input-search .ui-input-clear-hidden{display:none}@media all and (min-width:450px){.ui-field-contain label.ui-input-text{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain input.ui-input-text,.ui-field-contain textarea.ui-input-text,.ui-field-contain .ui-input-search{width:60%;display:inline-block}.ui-field-contain .ui-input-search{width:50%}.ui-hide-label input.ui-input-text,.ui-hide-label textarea.ui-input-text,.ui-hide-label .ui-input-search{padding:.4em;width:97%}.ui-input-search input.ui-input-text{width:98%}}.ui-listview{margin:0;counter-reset:listnumbering}.ui-content .ui-listview{margin:-15px}.ui-content .ui-listview-inset{margin:1em 0}.ui-listview,.ui-li{list-style:none;padding:0}.ui-li,.ui-li.ui-field-contain{display:block;margin:0;position:relative;overflow:visible;text-align:left;border-width:0;border-top-width:1px}.ui-li .ui-btn-text a.ui-link-inherit{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-divider,.ui-li-static{padding:.5em 15px;font-size:14px;font-weight:bold}.ui-li-divider{counter-reset:listnumbering}ol.ui-listview .ui-link-inherit:before,ol.ui-listview .ui-li-static:before,.ui-li-dec{font-size:.8em;display:inline-block;padding-right:.3em;font-weight:normal;counter-increment:listnumbering;content:counter(listnumbering) ". "}ol.ui-listview .ui-li-jsnumbering:before{content:""!important}.ui-listview-inset .ui-li{border-right-width:1px;border-left-width:1px}.ui-li:last-child,.ui-li.ui-field-contain:last-child{border-bottom-width:1px}.ui-li>.ui-btn-inner{display:block;position:relative;padding:0}.ui-li .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li{padding:.7em 15px .7em 15px;display:block}.ui-li-has-thumb .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-thumb{min-height:60px;padding-left:100px}.ui-li-has-icon .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-icon{min-height:20px;padding-left:40px}.ui-li-has-count .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-count{padding-right:45px}.ui-li-has-arrow .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-arrow{padding-right:30px}.ui-li-has-arrow.ui-li-has-count .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-arrow.ui-li-has-count{padding-right:75px}.ui-li-has-count .ui-btn-text{padding-right:15px}.ui-li-heading{font-size:16px;font-weight:bold;display:block;margin:.6em 0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-desc{font-size:12px;font-weight:normal;display:block;margin:-.5em 0 .6em;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-thumb,.ui-listview .ui-li-icon{position:absolute;left:1px;top:0;max-height:80px;max-width:80px}.ui-listview .ui-li-icon{max-height:40px;max-width:40px;left:10px;top:.9em}.ui-li-thumb,.ui-listview .ui-li-icon,.ui-li-content{float:left;margin-right:10px}.ui-li-aside{float:right;width:50%;text-align:right;margin:.3em 0}@media all and (min-width:480px){.ui-li-aside{width:45%}}.ui-li-divider{cursor:default}.ui-li-has-alt .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-alt{padding-right:95px}.ui-li-has-count .ui-li-count{position:absolute;font-size:11px;font-weight:bold;padding:.2em .5em;top:50%;margin-top:-.9em;right:38px}.ui-li-divider .ui-li-count,.ui-li-static .ui-li-count{right:10px}.ui-li-has-alt .ui-li-count{right:55px}.ui-li-link-alt{position:absolute;width:40px;height:100%;border-width:0;border-left-width:1px;top:0;right:0;margin:0;padding:0;z-index:2}.ui-li-link-alt .ui-btn{overflow:hidden;position:absolute;right:8px;top:50%;margin:-11px 0 0 0;border-bottom-width:1px;z-index:-1}.ui-li-link-alt .ui-btn-inner{padding:0;height:100%;position:absolute;width:100%;top:0;left:0}.ui-li-link-alt .ui-btn .ui-icon{right:50%;margin-right:-9px}.ui-listview * .ui-btn-inner>.ui-btn>.ui-btn-inner{border-top:0}.ui-listview-filter{border-width:0;overflow:hidden;margin:-15px -15px 15px -15px}.ui-listview-filter .ui-input-search{margin:5px;width:auto;display:block}.ui-listview-filter-inset{margin:-15px -5px -15px -5px;background:transparent}.ui-li.ui-screen-hidden{display:none}@media only screen and (min-device-width:768px) and (max-device-width:1024px){.ui-li .ui-btn-text{overflow:visible}}label.ui-slider{font-size:16px;line-height:1.4;font-weight:normal;margin:0 0 .3em;display:block}input.ui-slider-input,.ui-field-contain input.ui-slider-input{display:inline-block;width:50px}select.ui-slider-switch{display:none}div.ui-slider{position:relative;display:inline-block;overflow:visible;height:15px;padding:0;margin:0 2% 0 20px;top:4px;width:60%}div.ui-slider-switch{width:99.8%}a.ui-slider-handle{position:absolute;z-index:10;top:50%;width:28px;height:28px;margin-top:-15px;margin-left:-15px}a.ui-slider-handle .ui-btn-inner{padding-left:0;padding-right:0}@media all and (min-width:480px){.ui-field-contain label.ui-slider{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain div.ui-slider{width:43%}}div.ui-slider-switch{height:32px;overflow:hidden;margin-left:0}div.ui-slider-inneroffset{margin-left:50%;position:absolute;top:1px;height:100%;width:50%}a.ui-slider-handle-snapping{-webkit-transition:left 70ms linear;-moz-transition:left 70ms linear}div.ui-slider-labelbg{position:absolute;top:0;margin:0;border-width:0}div.ui-slider-switch div.ui-slider-labelbg-a{width:60%;height:100%;left:0}div.ui-slider-switch div.ui-slider-labelbg-b{width:60%;height:100%;right:0}.ui-slider-switch-a div.ui-slider-labelbg-a,.ui-slider-switch-b div.ui-slider-labelbg-b{z-index:-1}.ui-slider-switch-a div.ui-slider-labelbg-b,.ui-slider-switch-b div.ui-slider-labelbg-a{z-index:0}div.ui-slider-switch a.ui-slider-handle{z-index:20;width:101%;height:32px;margin-top:-18px;margin-left:-101%}span.ui-slider-label{width:100%;position:absolute;height:32px;font-size:16px;text-align:center;line-height:2;background:0;border-color:transparent}span.ui-slider-label-a{left:-100%;margin-right:-1px}span.ui-slider-label-b{right:-100%;margin-left:-1px} \ No newline at end of file diff --git a/Ch9/css/jquery.mobile.structure-1.0.1.min.css b/Ch9/css/jquery.mobile.structure-1.0.1.min.css new file mode 100644 index 0000000..b13b7b1 --- /dev/null +++ b/Ch9/css/jquery.mobile.structure-1.0.1.min.css @@ -0,0 +1,2 @@ +/*! jQuery Mobile v1.0.1 jquerymobile.com | jquery.org/license */ +.ui-mobile,.ui-mobile body{height:100%}.ui-mobile fieldset,.ui-page{padding:0;margin:0}.ui-mobile a img,.ui-mobile fieldset{border-width:0}.ui-mobile-viewport{margin:0;overflow-x:visible;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}body.ui-mobile-viewport,div.ui-mobile-viewport{overflow-x:hidden}.ui-mobile [data-role=page],.ui-mobile [data-role=dialog],.ui-page{top:0;left:0;width:100%;min-height:100%;position:absolute;display:none;border:0}.ui-mobile .ui-page-active{display:block;overflow:visible}.ui-page{outline:0}@media screen and (orientation:portrait){.ui-mobile,.ui-mobile .ui-page{min-height:420px}}@media screen and (orientation:landscape){.ui-mobile,.ui-mobile .ui-page{min-height:300px}}.ui-page.ui-mobile-touch-overflow,.ui-mobile-touch-overflow.ui-native-fixed .ui-content{overflow:auto;height:100%;left:0;right:0;-webkit-overflow-scrolling:touch;-moz-overflow-scrolling:touch;-o-overflow-scrolling:touch;-ms-overflow-scrolling:touch;overflow-scrolling:touch}.ui-page.ui-mobile-touch-overflow,.ui-page.ui-mobile-touch-overflow *{-webkit-transform:rotateY(0)}.ui-page.ui-mobile-pre-transition{display:block}.ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview{margin-top:0}.ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview-inset{margin-top:1em}.ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview-filter{margin-top:.2em;margin-bottom:0}.ui-mobile-touch-overflow.ui-native-fixed .ui-content .ui-listview-filter-inset{margin-bottom:-.9em}.ui-mobile-touch-overflow.ui-native-fixed .ui-header .ui-btn{z-index:10}.ui-loading .ui-mobile-viewport{overflow:hidden!important}.ui-loading .ui-loader{display:block}.ui-loading .ui-page{overflow:hidden}.ui-loader{display:none;position:absolute;opacity:.85;z-index:100;left:50%;width:200px;margin-left:-130px;margin-top:-35px;padding:10px 30px}.ui-loader h1{font-size:15px;text-align:center}.ui-loader .ui-icon{position:static;display:block;opacity:.9;margin:0 auto;width:35px;height:35px;background-color:transparent}.ui-mobile-rendering>*{visibility:hidden}.ui-bar,.ui-body{position:relative;padding:.4em 15px;overflow:hidden;display:block;clear:both}.ui-bar{font-size:16px;margin:0}.ui-bar h1,.ui-bar h2,.ui-bar h3,.ui-bar h4,.ui-bar h5,.ui-bar h6{margin:0;padding:0;font-size:16px;display:inline-block}.ui-header,.ui-footer{display:block}.ui-page .ui-header,.ui-page .ui-footer{position:relative}.ui-header .ui-btn-left{position:absolute;left:10px;top:.4em}.ui-header .ui-btn-right{position:absolute;right:10px;top:.4em}.ui-header .ui-title,.ui-footer .ui-title{min-height:1.1em;text-align:center;font-size:16px;display:block;margin:.6em 90px .8em;padding:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;outline:0!important}.ui-footer .ui-title{margin:.6em 15px .8em}.ui-content{border-width:0;overflow:visible;overflow-x:hidden;padding:15px}.ui-page-fullscreen .ui-content{padding:0}.ui-mobile-touch-overflow.ui-page.ui-native-fixed,.ui-mobile-touch-overflow.ui-page.ui-native-fullscreen{overflow:visible}.ui-mobile-touch-overflow.ui-native-fixed .ui-header,.ui-mobile-touch-overflow.ui-native-fixed .ui-footer{position:fixed;left:0;right:0;top:0;z-index:200}.ui-mobile-touch-overflow.ui-page.ui-native-fixed .ui-footer{top:auto;bottom:0}.ui-mobile-touch-overflow.ui-native-fixed .ui-content{padding-top:2.5em;padding-bottom:3em;top:0;bottom:0;height:auto;position:absolute}.ui-mobile-touch-overflow.ui-native-fullscreen .ui-content{padding-top:0;padding-bottom:0}.ui-mobile-touch-overflow.ui-native-fullscreen .ui-header,.ui-mobile-touch-overflow.ui-native-fullscreen .ui-footer{opacity:.9}.ui-native-bars-hidden{display:none}.ui-icon{width:18px;height:18px}.ui-fullscreen img{max-width:100%}.ui-nojs{position:absolute;left:-9999px}.ui-hide-label label,.ui-hidden-accessible{position:absolute!important;left:-9999px;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}.spin{-webkit-transform:rotate(360deg);-webkit-animation-name:spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}@-webkit-keyframes spin{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.in,.out{-webkit-animation-timing-function:ease-in-out;-webkit-animation-duration:350ms}.slide.out{-webkit-transform:translateX(-100%);-webkit-animation-name:slideouttoleft}.slide.in{-webkit-transform:translateX(0);-webkit-animation-name:slideinfromright}.slide.out.reverse{-webkit-transform:translateX(100%);-webkit-animation-name:slideouttoright}.slide.in.reverse{-webkit-transform:translateX(0);-webkit-animation-name:slideinfromleft}.slideup.out{-webkit-animation-name:dontmove;z-index:0}.slideup.in{-webkit-transform:translateY(0);-webkit-animation-name:slideinfrombottom;z-index:10}.slideup.in.reverse{z-index:0;-webkit-animation-name:dontmove}.slideup.out.reverse{-webkit-transform:translateY(100%);z-index:10;-webkit-animation-name:slideouttobottom}.slidedown.out{-webkit-animation-name:dontmove;z-index:0}.slidedown.in{-webkit-transform:translateY(0);-webkit-animation-name:slideinfromtop;z-index:10}.slidedown.in.reverse{z-index:0;-webkit-animation-name:dontmove}.slidedown.out.reverse{-webkit-transform:translateY(-100%);z-index:10;-webkit-animation-name:slideouttotop}@-webkit-keyframes slideinfromright{from{-webkit-transform:translateX(100%)}to{-webkit-transform:translateX(0)}}@-webkit-keyframes slideinfromleft{from{-webkit-transform:translateX(-100%)}to{-webkit-transform:translateX(0)}}@-webkit-keyframes slideouttoleft{from{-webkit-transform:translateX(0)}to{-webkit-transform:translateX(-100%)}}@-webkit-keyframes slideouttoright{from{-webkit-transform:translateX(0)}to{-webkit-transform:translateX(100%)}}@-webkit-keyframes slideinfromtop{from{-webkit-transform:translateY(-100%)}to{-webkit-transform:translateY(0)}}@-webkit-keyframes slideinfrombottom{from{-webkit-transform:translateY(100%)}to{-webkit-transform:translateY(0)}}@-webkit-keyframes slideouttobottom{from{-webkit-transform:translateY(0)}to{-webkit-transform:translateY(100%)}}@-webkit-keyframes slideouttotop{from{-webkit-transform:translateY(0)}to{-webkit-transform:translateY(-100%)}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadeout{from{opacity:1}to{opacity:0}}.fade.out{z-index:0;-webkit-animation-name:fadeout}.fade.in{opacity:1;z-index:10;-webkit-animation-name:fadein}.viewport-flip{-webkit-perspective:1000;position:absolute}.ui-mobile-viewport-transitioning,.ui-mobile-viewport-transitioning .ui-page{width:100%;height:100%;overflow:hidden}.flip{-webkit-animation-duration:.65s;-webkit-backface-visibility:hidden;-webkit-transform:translateX(0)}.flip.out{-webkit-transform:rotateY(-180deg) scale(.8);-webkit-animation-name:flipouttoleft}.flip.in{-webkit-transform:rotateY(0) scale(1);-webkit-animation-name:flipinfromleft}.flip.out.reverse{-webkit-transform:rotateY(180deg) scale(.8);-webkit-animation-name:flipouttoright}.flip.in.reverse{-webkit-transform:rotateY(0) scale(1);-webkit-animation-name:flipinfromright}@-webkit-keyframes flipinfromright{from{-webkit-transform:rotateY(-180deg) scale(.8)}to{-webkit-transform:rotateY(0) scale(1)}}@-webkit-keyframes flipinfromleft{from{-webkit-transform:rotateY(180deg) scale(.8)}to{-webkit-transform:rotateY(0) scale(1)}}@-webkit-keyframes flipouttoleft{from{-webkit-transform:rotateY(0) scale(1)}to{-webkit-transform:rotateY(-180deg) scale(.8)}}@-webkit-keyframes flipouttoright{from{-webkit-transform:rotateY(0) scale(1)}to{-webkit-transform:rotateY(180deg) scale(.8)}}@-webkit-keyframes dontmove{from{opacity:1}to{opacity:1}}.pop{-webkit-transform-origin:50% 50%}.pop.in{-webkit-transform:scale(1);opacity:1;-webkit-animation-name:popin;z-index:10}.pop.in.reverse{z-index:0;-webkit-animation-name:dontmove}.pop.out.reverse{-webkit-transform:scale(.2);opacity:0;-webkit-animation-name:popout;z-index:10}@-webkit-keyframes popin{from{-webkit-transform:scale(.2);opacity:0}to{-webkit-transform:scale(1);opacity:1}}@-webkit-keyframes popout{from{-webkit-transform:scale(1);opacity:1}to{-webkit-transform:scale(.2);opacity:0}}.ui-grid-a,.ui-grid-b,.ui-grid-c,.ui-grid-d{overflow:hidden}.ui-block-a,.ui-block-b,.ui-block-c,.ui-block-d,.ui-block-e{margin:0;padding:0;border:0;float:left;min-height:1px}.ui-grid-solo .ui-block-a{width:100%;float:none}.ui-grid-a .ui-block-a,.ui-grid-a .ui-block-b{width:50%}.ui-grid-a .ui-block-a{clear:left}.ui-grid-b .ui-block-a,.ui-grid-b .ui-block-b,.ui-grid-b .ui-block-c{width:33.333%}.ui-grid-b .ui-block-a{clear:left}.ui-grid-c .ui-block-a,.ui-grid-c .ui-block-b,.ui-grid-c .ui-block-c,.ui-grid-c .ui-block-d{width:25%}.ui-grid-c .ui-block-a{clear:left}.ui-grid-d .ui-block-a,.ui-grid-d .ui-block-b,.ui-grid-d .ui-block-c,.ui-grid-d .ui-block-d,.ui-grid-d .ui-block-e{width:20%}.ui-grid-d .ui-block-a{clear:left}.ui-header,.ui-footer,.ui-page-fullscreen .ui-header,.ui-page-fullscreen .ui-footer{position:absolute;overflow:hidden;width:100%;border-left-width:0;border-right-width:0}.ui-header-fixed,.ui-footer-fixed{z-index:1000;-webkit-transform:translateZ(0)}.ui-footer-duplicate,.ui-page-fullscreen .ui-fixed-inline{display:none}.ui-page-fullscreen .ui-header,.ui-page-fullscreen .ui-footer{opacity:.9}.ui-navbar{overflow:hidden}.ui-navbar ul,.ui-navbar-expanded ul{list-style:none;padding:0;margin:0;position:relative;display:block;border:0}.ui-navbar-collapsed ul{float:left;width:75%;margin-right:-2px}.ui-navbar-collapsed .ui-navbar-toggle{float:left;width:25%}.ui-navbar li.ui-navbar-truncate{position:absolute;left:-9999px;top:-9999px}.ui-navbar li .ui-btn,.ui-navbar .ui-navbar-toggle .ui-btn{display:block;font-size:12px;text-align:center;margin:0;border-right-width:0;max-width:100%}.ui-navbar li .ui-btn{margin-right:-1px}.ui-navbar li .ui-btn:last-child{margin-right:0}.ui-header .ui-navbar li .ui-btn,.ui-header .ui-navbar .ui-navbar-toggle .ui-btn,.ui-footer .ui-navbar li .ui-btn,.ui-footer .ui-navbar .ui-navbar-toggle .ui-btn{border-top-width:0;border-bottom-width:0}.ui-navbar .ui-btn-inner{padding-left:2px;padding-right:2px}.ui-navbar-noicons li .ui-btn .ui-btn-inner,.ui-navbar-noicons .ui-navbar-toggle .ui-btn-inner{padding-top:.8em;padding-bottom:.9em}.ui-navbar-expanded .ui-btn{margin:0;font-size:14px}.ui-navbar-expanded .ui-btn-inner{padding-left:5px;padding-right:5px}.ui-navbar-expanded .ui-btn-icon-top .ui-btn-inner{padding:45px 5px 15px;text-align:center}.ui-navbar-expanded .ui-btn-icon-top .ui-icon{top:15px}.ui-navbar-expanded .ui-btn-icon-bottom .ui-btn-inner{padding:15px 5px 45px;text-align:center}.ui-navbar-expanded .ui-btn-icon-bottom .ui-icon{bottom:15px}.ui-navbar-expanded li .ui-btn .ui-btn-inner{min-height:2.5em}.ui-navbar-expanded .ui-navbar-noicons .ui-btn .ui-btn-inner{padding-top:1.8em;padding-bottom:1.9em}.ui-btn{display:block;text-align:center;cursor:pointer;position:relative;margin:.5em 5px;padding:0}.ui-header .ui-btn,.ui-footer .ui-btn,.ui-bar .ui-btn{display:inline-block;font-size:13px;margin:0}.ui-btn-inline{display:inline-block}.ui-btn-inner{padding:.6em 25px;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;position:relative;zoom:1}.ui-btn input,.ui-btn button{z-index:2}.ui-header .ui-btn-inner,.ui-footer .ui-btn-inner,.ui-bar .ui-btn-inner{padding:.4em 8px .5em}.ui-btn-icon-notext{width:24px;height:24px}.ui-btn-icon-notext .ui-btn-inner{padding:2px 1px 2px 3px}.ui-btn-text{position:relative;z-index:1}.ui-btn-icon-notext .ui-btn-text{position:absolute;left:-9999px}.ui-btn-icon-left .ui-btn-inner{padding-left:33px}.ui-header .ui-btn-icon-left .ui-btn-inner,.ui-footer .ui-btn-icon-left .ui-btn-inner,.ui-bar .ui-btn-icon-left .ui-btn-inner{padding-left:27px}.ui-btn-icon-right .ui-btn-inner{padding-right:33px}.ui-header .ui-btn-icon-right .ui-btn-inner,.ui-footer .ui-btn-icon-right .ui-btn-inner,.ui-bar .ui-btn-icon-right .ui-btn-inner{padding-right:27px}.ui-btn-icon-top .ui-btn-inner{padding-top:33px}.ui-header .ui-btn-icon-top .ui-btn-inner,.ui-footer .ui-btn-icon-top .ui-btn-inner,.ui-bar .ui-btn-icon-top .ui-btn-inner{padding-top:27px}.ui-btn-icon-bottom .ui-btn-inner{padding-bottom:33px}.ui-header .ui-btn-icon-bottom .ui-btn-inner,.ui-footer .ui-btn-icon-bottom .ui-btn-inner,.ui-bar .ui-btn-icon-bottom .ui-btn-inner{padding-bottom:27px}.ui-btn-icon-notext .ui-icon{display:block;z-index:0}.ui-btn-icon-left .ui-icon,.ui-btn-icon-right .ui-icon{position:absolute;top:50%;margin-top:-9px}.ui-btn-icon-top .ui-icon,.ui-btn-icon-bottom .ui-icon{position:absolute;left:50%;margin-left:-9px}.ui-btn-icon-left .ui-icon{left:10px}.ui-btn-icon-right .ui-icon{right:10px}.ui-btn-icon-top .ui-icon{top:10px}.ui-btn-icon-bottom .ui-icon{bottom:10px}.ui-header .ui-btn-icon-left .ui-icon,.ui-footer .ui-btn-icon-left .ui-icon,.ui-bar .ui-btn-icon-left .ui-icon{left:4px}.ui-header .ui-btn-icon-right .ui-icon,.ui-footer .ui-btn-icon-right .ui-icon,.ui-bar .ui-btn-icon-right .ui-icon{right:4px}.ui-header .ui-btn-icon-top .ui-icon,.ui-footer .ui-btn-icon-top .ui-icon,.ui-bar .ui-btn-icon-top .ui-icon{top:4px}.ui-header .ui-btn-icon-bottom .ui-icon,.ui-footer .ui-btn-icon-bottom .ui-icon,.ui-bar .ui-btn-icon-bottom .ui-icon{bottom:4px}.ui-btn-hidden{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-appearance:button;opacity:.1;cursor:pointer;background:#fff;background:rgba(255,255,255,0);filter:Alpha(Opacity=.0001);font-size:1px;border:0;line-height:999px}.ui-collapsible{margin:.5em 0}.ui-collapsible-heading{font-size:16px;display:block;margin:0 -8px;padding:0;border-width:0 0 1px 0;position:relative}.ui-collapsible-heading a{text-align:left;margin:0}.ui-collapsible-heading a .ui-btn-inner{padding-left:40px}.ui-collapsible-heading a span.ui-btn{position:absolute;left:6px;top:50%;margin:-12px 0 0 0;width:20px;height:20px;padding:1px 0 1px 2px;text-indent:-9999px}.ui-collapsible-heading a span.ui-btn .ui-btn-inner{padding:10px 0}.ui-collapsible-heading a span.ui-btn .ui-icon{left:0;margin-top:-10px}.ui-collapsible-heading-status{position:absolute;top:-9999px;left:0}.ui-collapsible-content{display:block;margin:0 -8px;padding:10px 16px;border-top:0;background-image:none;font-weight:normal}.ui-collapsible-content-collapsed{display:none}.ui-collapsible-set{margin:.5em 0}.ui-collapsible-set .ui-collapsible{margin:-1px 0 0}.ui-controlgroup,fieldset.ui-controlgroup{padding:0;margin:.5em 0 1em}.ui-bar .ui-controlgroup{margin:0 .3em}.ui-controlgroup-label{font-size:16px;line-height:1.4;font-weight:normal;margin:0 0 .3em}.ui-controlgroup-controls{display:block;width:100%}.ui-controlgroup li{list-style:none}.ui-controlgroup-vertical .ui-btn,.ui-controlgroup-vertical .ui-checkbox,.ui-controlgroup-vertical .ui-radio{margin:0;border-bottom-width:0}.ui-controlgroup-controls label.ui-select{position:absolute;left:-9999px}.ui-controlgroup-vertical .ui-controlgroup-last{border-bottom-width:1px}.ui-controlgroup-horizontal{padding:0}.ui-controlgroup-horizontal .ui-btn,.ui-controlgroup-horizontal .ui-select{display:inline-block;margin:0 -5px 0 0}.ui-controlgroup-horizontal .ui-checkbox,.ui-controlgroup-horizontal .ui-radio{float:left;margin:0 -1px 0 0}.ui-controlgroup-horizontal .ui-checkbox .ui-btn,.ui-controlgroup-horizontal .ui-radio .ui-btn,.ui-controlgroup-horizontal .ui-checkbox:last-child,.ui-controlgroup-horizontal .ui-radio:last-child{margin-right:0}.ui-controlgroup-horizontal .ui-controlgroup-last{margin-right:0}.ui-controlgroup .ui-checkbox label,.ui-controlgroup .ui-radio label{font-size:16px}@media all and (min-width:450px){.ui-field-contain .ui-controlgroup-label{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain .ui-controlgroup-controls{width:60%;display:inline-block}.ui-field-contain .ui-controlgroup .ui-select{width:100%}.ui-field-contain .ui-controlgroup-horizontal .ui-select{width:auto}}.ui-dialog{min-height:480px}.ui-dialog .ui-header,.ui-dialog .ui-content,.ui-dialog .ui-footer{max-width:500px;margin:10% auto 15px auto;width:85%;position:relative}.ui-dialog .ui-header,.ui-dialog .ui-footer{padding:0 15px;z-index:10}.ui-dialog .ui-content{padding:15px}.ui-dialog .ui-content,.ui-dialog .ui-footer{margin-top:-15px}.ui-checkbox,.ui-radio{position:relative;margin:.2em 0 .5em;z-index:1}.ui-checkbox .ui-btn,.ui-radio .ui-btn{margin:0;text-align:left;z-index:2}.ui-checkbox .ui-btn-inner,.ui-radio .ui-btn-inner{white-space:normal}.ui-checkbox .ui-btn-icon-left .ui-btn-inner,.ui-radio .ui-btn-icon-left .ui-btn-inner{padding-left:45px}.ui-checkbox .ui-btn-icon-right .ui-btn-inner,.ui-radio .ui-btn-icon-right .ui-btn-inner{padding-right:45px}.ui-checkbox .ui-icon,.ui-radio .ui-icon{top:1.1em}.ui-checkbox .ui-btn-icon-left .ui-icon,.ui-radio .ui-btn-icon-left .ui-icon{left:15px}.ui-checkbox .ui-btn-icon-right .ui-icon,.ui-radio .ui-btn-icon-right .ui-icon{right:15px}.ui-checkbox input,.ui-radio input{position:absolute;left:20px;top:50%;width:10px;height:10px;margin:-5px 0 0 0;outline:0!important;z-index:1}.ui-field-contain,fieldset.ui-field-contain{padding:1.5em 0;margin:0;border-width:0 0 1px 0;overflow:visible}.ui-field-contain:first-child{border-top-width:0}@media all and (min-width:450px){.ui-field-contain,.ui-mobile fieldset.ui-field-contain{border-width:0;padding:0;margin:1em 0}}.ui-select{display:block;position:relative}.ui-select select{position:absolute;left:-9999px;top:-9999px}.ui-select .ui-btn{overflow:hidden}.ui-select .ui-btn{opacity:1}.ui-select .ui-btn select{cursor:pointer;-webkit-appearance:button;left:0;top:0;width:100%;min-height:1.5em;min-height:100%;height:3em;max-height:100%;opacity:0;-ms-filter:"alpha(opacity=0)";filter:alpha(opacity=0);z-index:2}.ui-select .ui-disabled{opacity:.3}@-moz-document url-prefix(){.ui-select .ui-btn select{opacity:.0001}}.ui-select .ui-btn select.ui-select-nativeonly{opacity:1;text-indent:0}.ui-select .ui-btn-icon-right .ui-btn-inner{padding-right:45px}.ui-select .ui-btn-icon-right .ui-icon{right:15px}label.ui-select{font-size:16px;line-height:1.4;font-weight:normal;margin:0 0 .3em;display:block}.ui-select .ui-btn-text,.ui-selectmenu .ui-btn-text{display:block;min-height:1em;overflow:hidden}.ui-select .ui-btn-text{text-overflow:ellipsis}.ui-selectmenu{position:absolute;padding:0;z-index:1100!important;width:80%;max-width:350px;padding:6px}.ui-selectmenu .ui-listview{margin:0}.ui-selectmenu .ui-btn.ui-li-divider{cursor:default}.ui-selectmenu-hidden{top:-9999px;left:-9999px}.ui-selectmenu-screen{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99}.ui-screen-hidden,.ui-selectmenu-list .ui-li .ui-icon{display:none}.ui-selectmenu-list .ui-li .ui-icon{display:block}.ui-li.ui-selectmenu-placeholder{display:none}.ui-selectmenu .ui-header .ui-title{margin:.6em 46px .8em}@media all and (min-width:450px){.ui-field-contain label.ui-select{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain .ui-select{width:60%;display:inline-block}}.ui-selectmenu .ui-header h1:after{content:'.';visibility:hidden}.ui-li-static .ui-select .ui-li-count{right:38px}label.ui-input-text{font-size:16px;line-height:1.4;display:block;font-weight:normal;margin:0 0 .3em}input.ui-input-text,textarea.ui-input-text{background-image:none;padding:.4em;line-height:1.4;font-size:16px;display:block;width:97%}input.ui-input-text{-webkit-appearance:none}textarea.ui-input-text{height:50px;-webkit-transition:height 200ms linear;-moz-transition:height 200ms linear;-o-transition:height 200ms linear;transition:height 200ms linear}.ui-input-search{padding:0 30px;background-image:none;position:relative}.ui-icon-searchfield:after{position:absolute;left:7px;top:50%;margin-top:-9px;content:"";width:18px;height:18px;opacity:.5}.ui-input-search input.ui-input-text{border:0;width:98%;padding:.4em 0;margin:0;display:block;background:transparent none;outline:0!important}.ui-input-search .ui-input-clear{position:absolute;right:0;top:50%;margin-top:-13px}.ui-input-search .ui-input-clear-hidden{display:none}@media all and (min-width:450px){.ui-field-contain label.ui-input-text{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain input.ui-input-text,.ui-field-contain textarea.ui-input-text,.ui-field-contain .ui-input-search{width:60%;display:inline-block}.ui-field-contain .ui-input-search{width:50%}.ui-hide-label input.ui-input-text,.ui-hide-label textarea.ui-input-text,.ui-hide-label .ui-input-search{padding:.4em;width:97%}.ui-input-search input.ui-input-text{width:98%}}.ui-listview{margin:0;counter-reset:listnumbering}.ui-content .ui-listview{margin:-15px}.ui-content .ui-listview-inset{margin:1em 0}.ui-listview,.ui-li{list-style:none;padding:0}.ui-li,.ui-li.ui-field-contain{display:block;margin:0;position:relative;overflow:visible;text-align:left;border-width:0;border-top-width:1px}.ui-li .ui-btn-text a.ui-link-inherit{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-divider,.ui-li-static{padding:.5em 15px;font-size:14px;font-weight:bold}.ui-li-divider{counter-reset:listnumbering}ol.ui-listview .ui-link-inherit:before,ol.ui-listview .ui-li-static:before,.ui-li-dec{font-size:.8em;display:inline-block;padding-right:.3em;font-weight:normal;counter-increment:listnumbering;content:counter(listnumbering) ". "}ol.ui-listview .ui-li-jsnumbering:before{content:""!important}.ui-listview-inset .ui-li{border-right-width:1px;border-left-width:1px}.ui-li:last-child,.ui-li.ui-field-contain:last-child{border-bottom-width:1px}.ui-li>.ui-btn-inner{display:block;position:relative;padding:0}.ui-li .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li{padding:.7em 15px .7em 15px;display:block}.ui-li-has-thumb .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-thumb{min-height:60px;padding-left:100px}.ui-li-has-icon .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-icon{min-height:20px;padding-left:40px}.ui-li-has-count .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-count{padding-right:45px}.ui-li-has-arrow .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-arrow{padding-right:30px}.ui-li-has-arrow.ui-li-has-count .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-arrow.ui-li-has-count{padding-right:75px}.ui-li-has-count .ui-btn-text{padding-right:15px}.ui-li-heading{font-size:16px;font-weight:bold;display:block;margin:.6em 0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-desc{font-size:12px;font-weight:normal;display:block;margin:-.5em 0 .6em;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-thumb,.ui-listview .ui-li-icon{position:absolute;left:1px;top:0;max-height:80px;max-width:80px}.ui-listview .ui-li-icon{max-height:40px;max-width:40px;left:10px;top:.9em}.ui-li-thumb,.ui-listview .ui-li-icon,.ui-li-content{float:left;margin-right:10px}.ui-li-aside{float:right;width:50%;text-align:right;margin:.3em 0}@media all and (min-width:480px){.ui-li-aside{width:45%}}.ui-li-divider{cursor:default}.ui-li-has-alt .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-alt{padding-right:95px}.ui-li-has-count .ui-li-count{position:absolute;font-size:11px;font-weight:bold;padding:.2em .5em;top:50%;margin-top:-.9em;right:38px}.ui-li-divider .ui-li-count,.ui-li-static .ui-li-count{right:10px}.ui-li-has-alt .ui-li-count{right:55px}.ui-li-link-alt{position:absolute;width:40px;height:100%;border-width:0;border-left-width:1px;top:0;right:0;margin:0;padding:0;z-index:2}.ui-li-link-alt .ui-btn{overflow:hidden;position:absolute;right:8px;top:50%;margin:-11px 0 0 0;border-bottom-width:1px;z-index:-1}.ui-li-link-alt .ui-btn-inner{padding:0;height:100%;position:absolute;width:100%;top:0;left:0}.ui-li-link-alt .ui-btn .ui-icon{right:50%;margin-right:-9px}.ui-listview * .ui-btn-inner>.ui-btn>.ui-btn-inner{border-top:0}.ui-listview-filter{border-width:0;overflow:hidden;margin:-15px -15px 15px -15px}.ui-listview-filter .ui-input-search{margin:5px;width:auto;display:block}.ui-listview-filter-inset{margin:-15px -5px -15px -5px;background:transparent}.ui-li.ui-screen-hidden{display:none}@media only screen and (min-device-width:768px) and (max-device-width:1024px){.ui-li .ui-btn-text{overflow:visible}}label.ui-slider{font-size:16px;line-height:1.4;font-weight:normal;margin:0 0 .3em;display:block}input.ui-slider-input,.ui-field-contain input.ui-slider-input{display:inline-block;width:50px}select.ui-slider-switch{display:none}div.ui-slider{position:relative;display:inline-block;overflow:visible;height:15px;padding:0;margin:0 2% 0 20px;top:4px;width:60%}div.ui-slider-switch{width:99.8%}a.ui-slider-handle{position:absolute;z-index:10;top:50%;width:28px;height:28px;margin-top:-15px;margin-left:-15px}a.ui-slider-handle .ui-btn-inner{padding-left:0;padding-right:0}@media all and (min-width:480px){.ui-field-contain label.ui-slider{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain div.ui-slider{width:43%}}div.ui-slider-switch{height:32px;overflow:hidden;margin-left:0}div.ui-slider-inneroffset{margin-left:50%;position:absolute;top:1px;height:100%;width:50%}a.ui-slider-handle-snapping{-webkit-transition:left 70ms linear;-moz-transition:left 70ms linear}div.ui-slider-labelbg{position:absolute;top:0;margin:0;border-width:0}div.ui-slider-switch div.ui-slider-labelbg-a{width:60%;height:100%;left:0}div.ui-slider-switch div.ui-slider-labelbg-b{width:60%;height:100%;right:0}.ui-slider-switch-a div.ui-slider-labelbg-a,.ui-slider-switch-b div.ui-slider-labelbg-b{z-index:-1}.ui-slider-switch-a div.ui-slider-labelbg-b,.ui-slider-switch-b div.ui-slider-labelbg-a{z-index:0}div.ui-slider-switch a.ui-slider-handle{z-index:20;width:101%;height:32px;margin-top:-18px;margin-left:-101%}span.ui-slider-label{width:100%;position:absolute;height:32px;font-size:16px;text-align:center;line-height:2;background:0;border-color:transparent}span.ui-slider-label-a{left:-100%;margin-right:-1px}span.ui-slider-label-b{right:-100%;margin-left:-1px} \ No newline at end of file diff --git a/Ch9/index-1.html b/Ch9/index-1.html new file mode 100644 index 0000000..82c15c4 --- /dev/null +++ b/Ch9/index-1.html @@ -0,0 +1,30 @@ + + + + My Page + + + + + + + +
    +
    +

    My Title

    +
    +
    + +
    +
    +

    Footer content

    +
    +
    + + \ No newline at end of file diff --git a/Ch9/index-2.html b/Ch9/index-2.html new file mode 100644 index 0000000..40a6e8d --- /dev/null +++ b/Ch9/index-2.html @@ -0,0 +1,65 @@ + + + + My Page + + + + + + +
    +
    +

    Jane Shopping

    + 关于 +
    + +
    +
    + +
    + + +
    +
    +

    Footer content

    +
    + +
    + + + +
    +
    + 返回 +

    关于Jane Shopping

    +
    +
    +
    +

    Jane Shopping网站的用途是向少男少女们提供时尚服装,首饰和玩具等。既然面向的客户群是年轻的一代,那么网站应该给人一种很时尚的感觉。因此,需要给网站增加一些与众不同的交互功能来吸引客户.

    +
    +
    +
    + + + + + + + + + \ No newline at end of file diff --git a/Ch9/js/jquery.js b/Ch9/js/jquery.js new file mode 100644 index 0000000..c955155 --- /dev/null +++ b/Ch9/js/jquery.js @@ -0,0 +1,9047 @@ +/*! + * jQuery JavaScript Library v1.6.4 + * http://jquery.com/ + * + * Copyright 2011-2012, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011-2012, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Sep 12 18:54:48 2011-2012 -0400 + */ + +(function( window, undefined ) { + +// Use the correct document accordingly with window argument (sandbox) +var document = window.document, + navigator = window.navigator, + location = window.location; +var jQuery = (function() { + +// Define a local copy of jQuery +var jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.fn.init( selector, context, rootjQuery ); + }, + + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$, + + // A central reference to the root jQuery(document) + rootjQuery, + + // A simple way to check for HTML strings or ID strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + quickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/, + + // Check if a string has a non-whitespace character in it + rnotwhite = /\S/, + + // Used for trimming whitespace + trimLeft = /^\s+/, + trimRight = /\s+$/, + + // Check for digits + rdigit = /\d/, + + // Match a standalone tag + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, + + // JSON RegExp + rvalidchars = /^[\],:{}\s]*$/, + rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, + rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + + // Useragent RegExp + rwebkit = /(webkit)[ \/]([\w.]+)/, + ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/, + rmsie = /(msie) ([\w.]+)/, + rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/, + + // Matches dashed string for camelizing + rdashAlpha = /-([a-z]|[0-9])/ig, + rmsPrefix = /^-ms-/, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return ( letter + "" ).toUpperCase(); + }, + + // Keep a UserAgent string for use with jQuery.browser + userAgent = navigator.userAgent, + + // For matching the engine and version of the browser + browserMatch, + + // The deferred used on DOM ready + readyList, + + // The ready event handler + DOMContentLoaded, + + // Save a reference to some core methods + toString = Object.prototype.toString, + hasOwn = Object.prototype.hasOwnProperty, + push = Array.prototype.push, + slice = Array.prototype.slice, + trim = String.prototype.trim, + indexOf = Array.prototype.indexOf, + + // [[Class]] -> type pairs + class2type = {}; + +jQuery.fn = jQuery.prototype = { + constructor: jQuery, + init: function( selector, context, rootjQuery ) { + var match, elem, ret, doc; + + // Handle $(""), $(null), or $(undefined) + if ( !selector ) { + return this; + } + + // Handle $(DOMElement) + if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + } + + // The body element only exists once, optimize finding it + if ( selector === "body" && !context && document.body ) { + this.context = document; + this[0] = document.body; + this.selector = selector; + this.length = 1; + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + // Are we dealing with HTML string or an ID? + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = quickExpr.exec( selector ); + } + + // Verify a match, and that no context was specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + doc = (context ? context.ownerDocument || context : document); + + // If a single string is passed in and it's a single tag + // just do a createElement and skip the rest + ret = rsingleTag.exec( selector ); + + if ( ret ) { + if ( jQuery.isPlainObject( context ) ) { + selector = [ document.createElement( ret[1] ) ]; + jQuery.fn.attr.call( selector, context, true ); + + } else { + selector = [ doc.createElement( ret[1] ) ]; + } + + } else { + ret = jQuery.buildFragment( [ match[1] ], [ doc ] ); + selector = (ret.cacheable ? jQuery.clone(ret.fragment) : ret.fragment).childNodes; + } + + return jQuery.merge( this, selector ); + + // HANDLE: $("#id") + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return (context || rootjQuery).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return rootjQuery.ready( selector ); + } + + if (selector.selector !== undefined) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }, + + // Start with an empty selector + selector: "", + + // The current version of jQuery being used + jquery: "1.6.4", + + // The default length of a jQuery object is 0 + length: 0, + + // The number of elements contained in the matched element set + size: function() { + return this.length; + }, + + toArray: function() { + return slice.call( this, 0 ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == null ? + + // Return a 'clean' array + this.toArray() : + + // Return just the object + ( num < 0 ? this[ this.length + num ] : this[ num ] ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems, name, selector ) { + // Build a new jQuery matched element set + var ret = this.constructor(); + + if ( jQuery.isArray( elems ) ) { + push.apply( ret, elems ); + + } else { + jQuery.merge( ret, elems ); + } + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + ret.context = this.context; + + if ( name === "find" ) { + ret.selector = this.selector + (this.selector ? " " : "") + selector; + } else if ( name ) { + ret.selector = this.selector + "." + name + "(" + selector + ")"; + } + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + ready: function( fn ) { + // Attach the listeners + jQuery.bindReady(); + + // Add the callback + readyList.done( fn ); + + return this; + }, + + eq: function( i ) { + return i === -1 ? + this.slice( i ) : + this.slice( i, +i + 1 ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ), + "slice", slice.call(arguments).join(",") ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: [].sort, + splice: [].splice +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.fn.init.prototype = jQuery.fn; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( length === i ) { + target = this; + --i; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + noConflict: function( deep ) { + if ( window.$ === jQuery ) { + window.$ = _$; + } + + if ( deep && window.jQuery === jQuery ) { + window.jQuery = _jQuery; + } + + return jQuery; + }, + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + // Either a released hold or an DOMready/load event and not yet ready + if ( (wait === true && !--jQuery.readyWait) || (wait !== true && !jQuery.isReady) ) { + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready, 1 ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger( "ready" ).unbind( "ready" ); + } + } + }, + + bindReady: function() { + if ( readyList ) { + return; + } + + readyList = jQuery._Deferred(); + + // Catch cases where $(document).ready() is called after the + // browser event has already occurred. + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + return setTimeout( jQuery.ready, 1 ); + } + + // Mozilla, Opera and webkit nightlies currently support this event + if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", jQuery.ready, false ); + + // If IE event model is used + } else if ( document.attachEvent ) { + // ensure firing before onload, + // maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", DOMContentLoaded ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", jQuery.ready ); + + // If IE and not a frame + // continually check to see if the document is ready + var toplevel = false; + + try { + toplevel = window.frameElement == null; + } catch(e) {} + + if ( document.documentElement.doScroll && toplevel ) { + doScrollCheck(); + } + } + }, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + // A crude way of determining if an object is a window + isWindow: function( obj ) { + return obj && typeof obj === "object" && "setInterval" in obj; + }, + + isNaN: function( obj ) { + return obj == null || !rdigit.test( obj ) || isNaN( obj ); + }, + + type: function( obj ) { + return obj == null ? + String( obj ) : + class2type[ toString.call(obj) ] || "object"; + }, + + isPlainObject: function( obj ) { + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + + var key; + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + for ( var name in obj ) { + return false; + } + return true; + }, + + error: function( msg ) { + throw msg; + }, + + parseJSON: function( data ) { + if ( typeof data !== "string" || !data ) { + return null; + } + + // Make sure leading/trailing whitespace is removed (IE can't handle it) + data = jQuery.trim( data ); + + // Attempt to parse using the native JSON parser first + if ( window.JSON && window.JSON.parse ) { + return window.JSON.parse( data ); + } + + // Make sure the incoming data is actual JSON + // Logic borrowed from http://json.org/json2.js + if ( rvalidchars.test( data.replace( rvalidescape, "@" ) + .replace( rvalidtokens, "]" ) + .replace( rvalidbraces, "")) ) { + + return (new Function( "return " + data ))(); + + } + jQuery.error( "Invalid JSON: " + data ); + }, + + // Cross-browser xml parsing + parseXML: function( data ) { + var xml, tmp; + try { + if ( window.DOMParser ) { // Standard + tmp = new DOMParser(); + xml = tmp.parseFromString( data , "text/xml" ); + } else { // IE + xml = new ActiveXObject( "Microsoft.XMLDOM" ); + xml.async = "false"; + xml.loadXML( data ); + } + } catch( e ) { + xml = undefined; + } + if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; + }, + + noop: function() {}, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && rnotwhite.test( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase(); + }, + + // args is for internal usage only + each: function( object, callback, args ) { + var name, i = 0, + length = object.length, + isObj = length === undefined || jQuery.isFunction( object ); + + if ( args ) { + if ( isObj ) { + for ( name in object ) { + if ( callback.apply( object[ name ], args ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.apply( object[ i++ ], args ) === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isObj ) { + for ( name in object ) { + if ( callback.call( object[ name ], name, object[ name ] ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.call( object[ i ], i, object[ i++ ] ) === false ) { + break; + } + } + } + } + + return object; + }, + + // Use native String.trim function wherever possible + trim: trim ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + text.toString().replace( trimLeft, "" ).replace( trimRight, "" ); + }, + + // results is for internal usage only + makeArray: function( array, results ) { + var ret = results || []; + + if ( array != null ) { + // The window, strings (and functions) also have 'length' + // The extra typeof function check is to prevent crashes + // in Safari 2 (See: #3039) + // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930 + var type = jQuery.type( array ); + + if ( array.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( array ) ) { + push.call( ret, array ); + } else { + jQuery.merge( ret, array ); + } + } + + return ret; + }, + + inArray: function( elem, array ) { + if ( !array ) { + return -1; + } + + if ( indexOf ) { + return indexOf.call( array, elem ); + } + + for ( var i = 0, length = array.length; i < length; i++ ) { + if ( array[ i ] === elem ) { + return i; + } + } + + return -1; + }, + + merge: function( first, second ) { + var i = first.length, + j = 0; + + if ( typeof second.length === "number" ) { + for ( var l = second.length; j < l; j++ ) { + first[ i++ ] = second[ j ]; + } + + } else { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, inv ) { + var ret = [], retVal; + inv = !!inv; + + // Go through the array, only saving the items + // that pass the validator function + for ( var i = 0, length = elems.length; i < length; i++ ) { + retVal = !!callback( elems[ i ], i ); + if ( inv !== retVal ) { + ret.push( elems[ i ] ); + } + } + + return ret; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, key, ret = [], + i = 0, + length = elems.length, + // jquery objects are treated as arrays + isArray = elems instanceof jQuery || length !== undefined && typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0 || jQuery.isArray( elems ) ) ; + + // Go through the array, translating each of the items to their + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + + // Go through every key on the object, + } else { + for ( key in elems ) { + value = callback( elems[ key ], key, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + } + + // Flatten any nested arrays + return ret.concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + if ( typeof context === "string" ) { + var tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + var args = slice.call( arguments, 2 ), + proxy = function() { + return fn.apply( context, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++; + + return proxy; + }, + + // Mutifunctional method to get and set values to a collection + // The value/s can optionally be executed if it's a function + access: function( elems, key, value, exec, fn, pass ) { + var length = elems.length; + + // Setting many attributes + if ( typeof key === "object" ) { + for ( var k in key ) { + jQuery.access( elems, k, key[k], exec, fn, value ); + } + return elems; + } + + // Setting one attribute + if ( value !== undefined ) { + // Optionally, function values get executed if exec is true + exec = !pass && exec && jQuery.isFunction(value); + + for ( var i = 0; i < length; i++ ) { + fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); + } + + return elems; + } + + // Getting an attribute + return length ? fn( elems[0], key ) : undefined; + }, + + now: function() { + return (new Date()).getTime(); + }, + + // Use of jQuery.browser is frowned upon. + // More details: http://docs.jquery.com/Utilities/jQuery.browser + uaMatch: function( ua ) { + ua = ua.toLowerCase(); + + var match = rwebkit.exec( ua ) || + ropera.exec( ua ) || + rmsie.exec( ua ) || + ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) || + []; + + return { browser: match[1] || "", version: match[2] || "0" }; + }, + + sub: function() { + function jQuerySub( selector, context ) { + return new jQuerySub.fn.init( selector, context ); + } + jQuery.extend( true, jQuerySub, this ); + jQuerySub.superclass = this; + jQuerySub.fn = jQuerySub.prototype = this(); + jQuerySub.fn.constructor = jQuerySub; + jQuerySub.sub = this.sub; + jQuerySub.fn.init = function init( selector, context ) { + if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) { + context = jQuerySub( context ); + } + + return jQuery.fn.init.call( this, selector, context, rootjQuerySub ); + }; + jQuerySub.fn.init.prototype = jQuerySub.fn; + var rootjQuerySub = jQuerySub(document); + return jQuerySub; + }, + + browser: {} +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +browserMatch = jQuery.uaMatch( userAgent ); +if ( browserMatch.browser ) { + jQuery.browser[ browserMatch.browser ] = true; + jQuery.browser.version = browserMatch.version; +} + +// Deprecated, use jQuery.browser.webkit instead +if ( jQuery.browser.webkit ) { + jQuery.browser.safari = true; +} + +// IE doesn't match non-breaking spaces with \s +if ( rnotwhite.test( "\xA0" ) ) { + trimLeft = /^[\s\xA0]+/; + trimRight = /[\s\xA0]+$/; +} + +// All jQuery objects should point back to these +rootjQuery = jQuery(document); + +// Cleanup functions for the document ready method +if ( document.addEventListener ) { + DOMContentLoaded = function() { + document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + jQuery.ready(); + }; + +} else if ( document.attachEvent ) { + DOMContentLoaded = function() { + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( document.readyState === "complete" ) { + document.detachEvent( "onreadystatechange", DOMContentLoaded ); + jQuery.ready(); + } + }; +} + +// The DOM ready check for Internet Explorer +function doScrollCheck() { + if ( jQuery.isReady ) { + return; + } + + try { + // If IE is used, use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + document.documentElement.doScroll("left"); + } catch(e) { + setTimeout( doScrollCheck, 1 ); + return; + } + + // and execute any waiting functions + jQuery.ready(); +} + +return jQuery; + +})(); + + +var // Promise methods + promiseMethods = "done fail isResolved isRejected promise then always pipe".split( " " ), + // Static reference to slice + sliceDeferred = [].slice; + +jQuery.extend({ + // Create a simple deferred (one callbacks list) + _Deferred: function() { + var // callbacks list + callbacks = [], + // stored [ context , args ] + fired, + // to avoid firing when already doing so + firing, + // flag to know if the deferred has been cancelled + cancelled, + // the deferred itself + deferred = { + + // done( f1, f2, ...) + done: function() { + if ( !cancelled ) { + var args = arguments, + i, + length, + elem, + type, + _fired; + if ( fired ) { + _fired = fired; + fired = 0; + } + for ( i = 0, length = args.length; i < length; i++ ) { + elem = args[ i ]; + type = jQuery.type( elem ); + if ( type === "array" ) { + deferred.done.apply( deferred, elem ); + } else if ( type === "function" ) { + callbacks.push( elem ); + } + } + if ( _fired ) { + deferred.resolveWith( _fired[ 0 ], _fired[ 1 ] ); + } + } + return this; + }, + + // resolve with given context and args + resolveWith: function( context, args ) { + if ( !cancelled && !fired && !firing ) { + // make sure args are available (#8421) + args = args || []; + firing = 1; + try { + while( callbacks[ 0 ] ) { + callbacks.shift().apply( context, args ); + } + } + finally { + fired = [ context, args ]; + firing = 0; + } + } + return this; + }, + + // resolve with this as context and given arguments + resolve: function() { + deferred.resolveWith( this, arguments ); + return this; + }, + + // Has this deferred been resolved? + isResolved: function() { + return !!( firing || fired ); + }, + + // Cancel + cancel: function() { + cancelled = 1; + callbacks = []; + return this; + } + }; + + return deferred; + }, + + // Full fledged deferred (two callbacks list) + Deferred: function( func ) { + var deferred = jQuery._Deferred(), + failDeferred = jQuery._Deferred(), + promise; + // Add errorDeferred methods, then and promise + jQuery.extend( deferred, { + then: function( doneCallbacks, failCallbacks ) { + deferred.done( doneCallbacks ).fail( failCallbacks ); + return this; + }, + always: function() { + return deferred.done.apply( deferred, arguments ).fail.apply( this, arguments ); + }, + fail: failDeferred.done, + rejectWith: failDeferred.resolveWith, + reject: failDeferred.resolve, + isRejected: failDeferred.isResolved, + pipe: function( fnDone, fnFail ) { + return jQuery.Deferred(function( newDefer ) { + jQuery.each( { + done: [ fnDone, "resolve" ], + fail: [ fnFail, "reject" ] + }, function( handler, data ) { + var fn = data[ 0 ], + action = data[ 1 ], + returned; + if ( jQuery.isFunction( fn ) ) { + deferred[ handler ](function() { + returned = fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise().then( newDefer.resolve, newDefer.reject ); + } else { + newDefer[ action + "With" ]( this === deferred ? newDefer : this, [ returned ] ); + } + }); + } else { + deferred[ handler ]( newDefer[ action ] ); + } + }); + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + if ( obj == null ) { + if ( promise ) { + return promise; + } + promise = obj = {}; + } + var i = promiseMethods.length; + while( i-- ) { + obj[ promiseMethods[i] ] = deferred[ promiseMethods[i] ]; + } + return obj; + } + }); + // Make sure only one callback list will be used + deferred.done( failDeferred.cancel ).fail( deferred.cancel ); + // Unexpose cancel + delete deferred.cancel; + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + return deferred; + }, + + // Deferred helper + when: function( firstParam ) { + var args = arguments, + i = 0, + length = args.length, + count = length, + deferred = length <= 1 && firstParam && jQuery.isFunction( firstParam.promise ) ? + firstParam : + jQuery.Deferred(); + function resolveFunc( i ) { + return function( value ) { + args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value; + if ( !( --count ) ) { + // Strange bug in FF4: + // Values changed onto the arguments object sometimes end up as undefined values + // outside the $.when method. Cloning the object into a fresh array solves the issue + deferred.resolveWith( deferred, sliceDeferred.call( args, 0 ) ); + } + }; + } + if ( length > 1 ) { + for( ; i < length; i++ ) { + if ( args[ i ] && jQuery.isFunction( args[ i ].promise ) ) { + args[ i ].promise().then( resolveFunc(i), deferred.reject ); + } else { + --count; + } + } + if ( !count ) { + deferred.resolveWith( deferred, args ); + } + } else if ( deferred !== firstParam ) { + deferred.resolveWith( deferred, length ? [ firstParam ] : [] ); + } + return deferred.promise(); + } +}); + + + +jQuery.support = (function() { + + var div = document.createElement( "div" ), + documentElement = document.documentElement, + all, + a, + select, + opt, + input, + marginDiv, + support, + fragment, + body, + testElementParent, + testElement, + testElementStyle, + tds, + events, + eventName, + i, + isSupported; + + // Preliminary tests + div.setAttribute("className", "t"); + div.innerHTML = "
    a"; + + + all = div.getElementsByTagName( "*" ); + a = div.getElementsByTagName( "a" )[ 0 ]; + + // Can't get basic test support + if ( !all || !all.length || !a ) { + return {}; + } + + // First batch of supports tests + select = document.createElement( "select" ); + opt = select.appendChild( document.createElement("option") ); + input = div.getElementsByTagName( "input" )[ 0 ]; + + support = { + // IE strips leading whitespace when .innerHTML is used + leadingWhitespace: ( div.firstChild.nodeType === 3 ), + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + tbody: !div.getElementsByTagName( "tbody" ).length, + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + htmlSerialize: !!div.getElementsByTagName( "link" ).length, + + // Get the style information from getAttribute + // (IE uses .cssText instead) + style: /top/.test( a.getAttribute("style") ), + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + hrefNormalized: ( a.getAttribute( "href" ) === "/a" ), + + // Make sure that element opacity exists + // (IE uses filter instead) + // Use a regex to work around a WebKit issue. See #5145 + opacity: /^0.55$/.test( a.style.opacity ), + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + cssFloat: !!a.style.cssFloat, + + // Make sure that if no value is specified for a checkbox + // that it defaults to "on". + // (WebKit defaults to "" instead) + checkOn: ( input.value === "on" ), + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + optSelected: opt.selected, + + // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) + getSetAttribute: div.className !== "t", + + // Will be defined later + submitBubbles: true, + changeBubbles: true, + focusinBubbles: false, + deleteExpando: true, + noCloneEvent: true, + inlineBlockNeedsLayout: false, + shrinkWrapBlocks: false, + reliableMarginRight: true + }; + + // Make sure checked status is properly cloned + input.checked = true; + support.noCloneChecked = input.cloneNode( true ).checked; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as disabled) + select.disabled = true; + support.optDisabled = !opt.disabled; + + // Test to see if it's possible to delete an expando from an element + // Fails in Internet Explorer + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + + if ( !div.addEventListener && div.attachEvent && div.fireEvent ) { + div.attachEvent( "onclick", function() { + // Cloning a node shouldn't copy over any + // bound event handlers (IE does this) + support.noCloneEvent = false; + }); + div.cloneNode( true ).fireEvent( "onclick" ); + } + + // Check if a radio maintains it's value + // after being appended to the DOM + input = document.createElement("input"); + input.value = "t"; + input.setAttribute("type", "radio"); + support.radioValue = input.value === "t"; + + input.setAttribute("checked", "checked"); + div.appendChild( input ); + fragment = document.createDocumentFragment(); + fragment.appendChild( div.firstChild ); + + // WebKit doesn't clone checked state correctly in fragments + support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; + + div.innerHTML = ""; + + // Figure out if the W3C box model works as expected + div.style.width = div.style.paddingLeft = "1px"; + + body = document.getElementsByTagName( "body" )[ 0 ]; + // We use our own, invisible, body unless the body is already present + // in which case we use a div (#9239) + testElement = document.createElement( body ? "div" : "body" ); + testElementStyle = { + visibility: "hidden", + width: 0, + height: 0, + border: 0, + margin: 0, + background: "none" + }; + if ( body ) { + jQuery.extend( testElementStyle, { + position: "absolute", + left: "-1000px", + top: "-1000px" + }); + } + for ( i in testElementStyle ) { + testElement.style[ i ] = testElementStyle[ i ]; + } + testElement.appendChild( div ); + testElementParent = body || documentElement; + testElementParent.insertBefore( testElement, testElementParent.firstChild ); + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + support.appendChecked = input.checked; + + support.boxModel = div.offsetWidth === 2; + + if ( "zoom" in div.style ) { + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + // (IE < 8 does this) + div.style.display = "inline"; + div.style.zoom = 1; + support.inlineBlockNeedsLayout = ( div.offsetWidth === 2 ); + + // Check if elements with layout shrink-wrap their children + // (IE 6 does this) + div.style.display = ""; + div.innerHTML = "
    "; + support.shrinkWrapBlocks = ( div.offsetWidth !== 2 ); + } + + div.innerHTML = "
    t
    "; + tds = div.getElementsByTagName( "td" ); + + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + // (only IE 8 fails this test) + isSupported = ( tds[ 0 ].offsetHeight === 0 ); + + tds[ 0 ].style.display = ""; + tds[ 1 ].style.display = "none"; + + // Check if empty table cells still have offsetWidth/Height + // (IE < 8 fail this test) + support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); + div.innerHTML = ""; + + // Check if div with explicit width and no margin-right incorrectly + // gets computed margin-right based on width of container. For more + // info see bug #3333 + // Fails in WebKit before Feb 2011-2012 nightlies + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + if ( document.defaultView && document.defaultView.getComputedStyle ) { + marginDiv = document.createElement( "div" ); + marginDiv.style.width = "0"; + marginDiv.style.marginRight = "0"; + div.appendChild( marginDiv ); + support.reliableMarginRight = + ( parseInt( ( document.defaultView.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0; + } + + // Remove the body element we added + testElement.innerHTML = ""; + testElementParent.removeChild( testElement ); + + // Technique from Juriy Zaytsev + // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/ + // We only care about the case where non-standard event systems + // are used, namely in IE. Short-circuiting here helps us to + // avoid an eval call (in setAttribute) which can cause CSP + // to go haywire. See: https://developer.mozilla.org/en/Security/CSP + if ( div.attachEvent ) { + for( i in { + submit: 1, + change: 1, + focusin: 1 + } ) { + eventName = "on" + i; + isSupported = ( eventName in div ); + if ( !isSupported ) { + div.setAttribute( eventName, "return;" ); + isSupported = ( typeof div[ eventName ] === "function" ); + } + support[ i + "Bubbles" ] = isSupported; + } + } + + // Null connected elements to avoid leaks in IE + testElement = fragment = select = opt = body = marginDiv = div = input = null; + + return support; +})(); + +// Keep track of boxModel +jQuery.boxModel = jQuery.support.boxModel; + + + + +var rbrace = /^(?:\{.*\}|\[.*\])$/, + rmultiDash = /([A-Z])/g; + +jQuery.extend({ + cache: {}, + + // Please use with caution + uuid: 0, + + // Unique for each copy of jQuery on the page + // Non-digits removed to match rinlinejQuery + expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ), + + // The following elements throw uncatchable exceptions if you + // attempt to add expando properties to them. + noData: { + "embed": true, + // Ban all objects except for Flash (which handle expandos) + "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", + "applet": true + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, ret, + internalKey = jQuery.expando, + getByName = typeof name === "string", + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ jQuery.expando ] : elem[ jQuery.expando ] && jQuery.expando; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || (pvt && id && (cache[ id ] && !cache[ id ][ internalKey ]))) && getByName && data === undefined ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + elem[ jQuery.expando ] = id = ++jQuery.uuid; + } else { + id = jQuery.expando; + } + } + + if ( !cache[ id ] ) { + cache[ id ] = {}; + + // TODO: This is a hack for 1.5 ONLY. Avoids exposing jQuery + // metadata on plain JS objects when the object is serialized using + // JSON.stringify + if ( !isNode ) { + cache[ id ].toJSON = jQuery.noop; + } + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ][ internalKey ] = jQuery.extend(cache[ id ][ internalKey ], name); + } else { + cache[ id ] = jQuery.extend(cache[ id ], name); + } + } + + thisCache = cache[ id ]; + + // Internal jQuery data is stored in a separate object inside the object's data + // cache in order to avoid key collisions between internal data and user-defined + // data + if ( pvt ) { + if ( !thisCache[ internalKey ] ) { + thisCache[ internalKey ] = {}; + } + + thisCache = thisCache[ internalKey ]; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // TODO: This is a hack for 1.5 ONLY. It will be removed in 1.6. Users should + // not attempt to inspect the internal events object using jQuery.data, as this + // internal data object is undocumented and subject to change. + if ( name === "events" && !thisCache[name] ) { + return thisCache[ internalKey ] && thisCache[ internalKey ].events; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( getByName ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; + }, + + removeData: function( elem, name, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, + + // Reference to internal data cache key + internalKey = jQuery.expando, + + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + + // See jQuery.data for more information + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ][ internalKey ] : cache[ id ]; + + if ( thisCache ) { + + // Support interoperable removal of hyphenated or camelcased keys + if ( !thisCache[ name ] ) { + name = jQuery.camelCase( name ); + } + + delete thisCache[ name ]; + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( !isEmptyDataObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( pvt ) { + delete cache[ id ][ internalKey ]; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject(cache[ id ]) ) { + return; + } + } + + var internalCache = cache[ id ][ internalKey ]; + + // Browsers that fail expando deletion also refuse to delete expandos on + // the window, but it will allow it on all other JS objects; other browsers + // don't care + // Ensure that `cache` is not a window object #10080 + if ( jQuery.support.deleteExpando || !cache.setInterval ) { + delete cache[ id ]; + } else { + cache[ id ] = null; + } + + // We destroyed the entire user cache at once because it's faster than + // iterating through each key, but we need to continue to persist internal + // data if it existed + if ( internalCache ) { + cache[ id ] = {}; + // TODO: This is a hack for 1.5 ONLY. Avoids exposing jQuery + // metadata on plain JS objects when the object is serialized using + // JSON.stringify + if ( !isNode ) { + cache[ id ].toJSON = jQuery.noop; + } + + cache[ id ][ internalKey ] = internalCache; + + // Otherwise, we need to eliminate the expando on the node to avoid + // false lookups in the cache for entries that no longer exist + } else if ( isNode ) { + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( jQuery.support.deleteExpando ) { + delete elem[ jQuery.expando ]; + } else if ( elem.removeAttribute ) { + elem.removeAttribute( jQuery.expando ); + } else { + elem[ jQuery.expando ] = null; + } + } + }, + + // For internal use only. + _data: function( elem, name, data ) { + return jQuery.data( elem, name, data, true ); + }, + + // A method for determining if a DOM node can handle the data expando + acceptData: function( elem ) { + if ( elem.nodeName ) { + var match = jQuery.noData[ elem.nodeName.toLowerCase() ]; + + if ( match ) { + return !(match === true || elem.getAttribute("classid") !== match); + } + } + + return true; + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var data = null; + + if ( typeof key === "undefined" ) { + if ( this.length ) { + data = jQuery.data( this[0] ); + + if ( this[0].nodeType === 1 ) { + var attr = this[0].attributes, name; + for ( var i = 0, l = attr.length; i < l; i++ ) { + name = attr[i].name; + + if ( name.indexOf( "data-" ) === 0 ) { + name = jQuery.camelCase( name.substring(5) ); + + dataAttr( this[0], name, data[ name ] ); + } + } + } + } + + return data; + + } else if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + var parts = key.split("."); + parts[1] = parts[1] ? "." + parts[1] : ""; + + if ( value === undefined ) { + data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); + + // Try to fetch any internally stored data first + if ( data === undefined && this.length ) { + data = jQuery.data( this[0], key ); + data = dataAttr( this[0], key, data ); + } + + return data === undefined && parts[1] ? + this.data( parts[0] ) : + data; + + } else { + return this.each(function() { + var $this = jQuery( this ), + args = [ parts[0], value ]; + + $this.triggerHandler( "setData" + parts[1] + "!", args ); + jQuery.data( this, key, value ); + $this.triggerHandler( "changeData" + parts[1] + "!", args ); + }); + } + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + !jQuery.isNaN( data ) ? parseFloat( data ) : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// TODO: This is a hack for 1.5 ONLY to allow objects with a single toJSON +// property to be considered empty objects; this property always exists in +// order to make sure JSON.stringify does not expose internal metadata +function isEmptyDataObject( obj ) { + for ( var name in obj ) { + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + + + + +function handleQueueMarkDefer( elem, type, src ) { + var deferDataKey = type + "defer", + queueDataKey = type + "queue", + markDataKey = type + "mark", + defer = jQuery.data( elem, deferDataKey, undefined, true ); + if ( defer && + ( src === "queue" || !jQuery.data( elem, queueDataKey, undefined, true ) ) && + ( src === "mark" || !jQuery.data( elem, markDataKey, undefined, true ) ) ) { + // Give room for hard-coded callbacks to fire first + // and eventually mark/queue something else on the element + setTimeout( function() { + if ( !jQuery.data( elem, queueDataKey, undefined, true ) && + !jQuery.data( elem, markDataKey, undefined, true ) ) { + jQuery.removeData( elem, deferDataKey, true ); + defer.resolve(); + } + }, 0 ); + } +} + +jQuery.extend({ + + _mark: function( elem, type ) { + if ( elem ) { + type = (type || "fx") + "mark"; + jQuery.data( elem, type, (jQuery.data(elem,type,undefined,true) || 0) + 1, true ); + } + }, + + _unmark: function( force, elem, type ) { + if ( force !== true ) { + type = elem; + elem = force; + force = false; + } + if ( elem ) { + type = type || "fx"; + var key = type + "mark", + count = force ? 0 : ( (jQuery.data( elem, key, undefined, true) || 1 ) - 1 ); + if ( count ) { + jQuery.data( elem, key, count, true ); + } else { + jQuery.removeData( elem, key, true ); + handleQueueMarkDefer( elem, type, "mark" ); + } + } + }, + + queue: function( elem, type, data ) { + if ( elem ) { + type = (type || "fx") + "queue"; + var q = jQuery.data( elem, type, undefined, true ); + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !q || jQuery.isArray(data) ) { + q = jQuery.data( elem, type, jQuery.makeArray(data), true ); + } else { + q.push( data ); + } + } + return q || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + fn = queue.shift(), + defer; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + } + + if ( fn ) { + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift("inprogress"); + } + + fn.call(elem, function() { + jQuery.dequeue(elem, type); + }); + } + + if ( !queue.length ) { + jQuery.removeData( elem, type + "queue", true ); + handleQueueMarkDefer( elem, type, "queue" ); + } + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + } + + if ( data === undefined ) { + return jQuery.queue( this[0], type ); + } + return this.each(function() { + var queue = jQuery.queue( this, type, data ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + // Based off of the plugin by Clint Helfers, with permission. + // http://blindsignals.com/index.php/2009/07/jquery-delay/ + delay: function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[time] || time : time; + type = type || "fx"; + + return this.queue( type, function() { + var elem = this; + setTimeout(function() { + jQuery.dequeue( elem, type ); + }, time ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, object ) { + if ( typeof type !== "string" ) { + object = type; + type = undefined; + } + type = type || "fx"; + var defer = jQuery.Deferred(), + elements = this, + i = elements.length, + count = 1, + deferDataKey = type + "defer", + queueDataKey = type + "queue", + markDataKey = type + "mark", + tmp; + function resolve() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + } + while( i-- ) { + if (( tmp = jQuery.data( elements[ i ], deferDataKey, undefined, true ) || + ( jQuery.data( elements[ i ], queueDataKey, undefined, true ) || + jQuery.data( elements[ i ], markDataKey, undefined, true ) ) && + jQuery.data( elements[ i ], deferDataKey, jQuery._Deferred(), true ) )) { + count++; + tmp.done( resolve ); + } + } + resolve(); + return defer.promise(); + } +}); + + + + +var rclass = /[\n\t\r]/g, + rspace = /\s+/, + rreturn = /\r/g, + rtype = /^(?:button|input)$/i, + rfocusable = /^(?:button|input|object|select|textarea)$/i, + rclickable = /^a(?:rea)?$/i, + rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, + nodeHook, boolHook; + +jQuery.fn.extend({ + attr: function( name, value ) { + return jQuery.access( this, name, value, true, jQuery.attr ); + }, + + removeAttr: function( name ) { + return this.each(function() { + jQuery.removeAttr( this, name ); + }); + }, + + prop: function( name, value ) { + return jQuery.access( this, name, value, true, jQuery.prop ); + }, + + removeProp: function( name ) { + name = jQuery.propFix[ name ] || name; + return this.each(function() { + // try/catch handles cases where IE balks (such as removing a property on window) + try { + this[ name ] = undefined; + delete this[ name ]; + } catch( e ) {} + }); + }, + + addClass: function( value ) { + var classNames, i, l, elem, + setClass, c, cl; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).addClass( value.call(this, j, this.className) ); + }); + } + + if ( value && typeof value === "string" ) { + classNames = value.split( rspace ); + + for ( i = 0, l = this.length; i < l; i++ ) { + elem = this[ i ]; + + if ( elem.nodeType === 1 ) { + if ( !elem.className && classNames.length === 1 ) { + elem.className = value; + + } else { + setClass = " " + elem.className + " "; + + for ( c = 0, cl = classNames.length; c < cl; c++ ) { + if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) { + setClass += classNames[ c ] + " "; + } + } + elem.className = jQuery.trim( setClass ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classNames, i, l, elem, className, c, cl; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).removeClass( value.call(this, j, this.className) ); + }); + } + + if ( (value && typeof value === "string") || value === undefined ) { + classNames = (value || "").split( rspace ); + + for ( i = 0, l = this.length; i < l; i++ ) { + elem = this[ i ]; + + if ( elem.nodeType === 1 && elem.className ) { + if ( value ) { + className = (" " + elem.className + " ").replace( rclass, " " ); + for ( c = 0, cl = classNames.length; c < cl; c++ ) { + className = className.replace(" " + classNames[ c ] + " ", " "); + } + elem.className = jQuery.trim( className ); + + } else { + elem.className = ""; + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isBool = typeof stateVal === "boolean"; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( i ) { + jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + state = stateVal, + classNames = value.split( rspace ); + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space seperated list + state = isBool ? state : !self.hasClass( className ); + self[ state ? "addClass" : "removeClass" ]( className ); + } + + } else if ( type === "undefined" || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery._data( this, "__className__", this.className ); + } + + // toggle whole className + this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " "; + for ( var i = 0, l = this.length; i < l; i++ ) { + if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) { + return true; + } + } + + return false; + }, + + val: function( value ) { + var hooks, ret, + elem = this[0]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.nodeName.toLowerCase() ] || jQuery.valHooks[ elem.type ]; + + if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { + return ret; + } + + ret = elem.value; + + return typeof ret === "string" ? + // handle most common string cases + ret.replace(rreturn, "") : + // handle cases where value is null/undef or number + ret == null ? "" : ret; + } + + return undefined; + } + + var isFunction = jQuery.isFunction( value ); + + return this.each(function( i ) { + var self = jQuery(this), val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call( this, i, self.val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray( val ) ) { + val = jQuery.map(val, function ( value ) { + return value == null ? "" : value + ""; + }); + } + + hooks = jQuery.valHooks[ this.nodeName.toLowerCase() ] || jQuery.valHooks[ this.type ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + valHooks: { + option: { + get: function( elem ) { + // attributes.value is undefined in Blackberry 4.7 but + // uses .value. See #6932 + var val = elem.attributes.value; + return !val || val.specified ? elem.value : elem.text; + } + }, + select: { + get: function( elem ) { + var value, + index = elem.selectedIndex, + values = [], + options = elem.options, + one = elem.type === "select-one"; + + // Nothing was selected + if ( index < 0 ) { + return null; + } + + // Loop through all the selected options + for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) { + var option = options[ i ]; + + // Don't return options that are disabled or in a disabled optgroup + if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) && + (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + // Fixes Bug #2551 -- select.val() broken in IE after form.reset() + if ( one && !values.length && options.length ) { + return jQuery( options[ index ] ).val(); + } + + return values; + }, + + set: function( elem, value ) { + var values = jQuery.makeArray( value ); + + jQuery(elem).find("option").each(function() { + this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; + }); + + if ( !values.length ) { + elem.selectedIndex = -1; + } + return values; + } + } + }, + + attrFn: { + val: true, + css: true, + html: true, + text: true, + data: true, + width: true, + height: true, + offset: true + }, + + attrFix: { + // Always normalize to ensure hook usage + tabindex: "tabIndex" + }, + + attr: function( elem, name, value, pass ) { + var nType = elem.nodeType; + + // don't get/set attributes on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return undefined; + } + + if ( pass && name in jQuery.attrFn ) { + return jQuery( elem )[ name ]( value ); + } + + // Fallback to prop when attributes are not supported + if ( !("getAttribute" in elem) ) { + return jQuery.prop( elem, name, value ); + } + + var ret, hooks, + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + // Normalize the name if needed + if ( notxml ) { + name = jQuery.attrFix[ name ] || name; + + hooks = jQuery.attrHooks[ name ]; + + if ( !hooks ) { + // Use boolHook for boolean attributes + if ( rboolean.test( name ) ) { + hooks = boolHook; + + // Use nodeHook if available( IE6/7 ) + } else if ( nodeHook ) { + hooks = nodeHook; + } + } + } + + if ( value !== undefined ) { + + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return undefined; + + } else if ( hooks && "set" in hooks && notxml && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + elem.setAttribute( name, "" + value ); + return value; + } + + } else if ( hooks && "get" in hooks && notxml && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + + ret = elem.getAttribute( name ); + + // Non-existent attributes return null, we normalize to undefined + return ret === null ? + undefined : + ret; + } + }, + + removeAttr: function( elem, name ) { + var propName; + if ( elem.nodeType === 1 ) { + name = jQuery.attrFix[ name ] || name; + + jQuery.attr( elem, name, "" ); + elem.removeAttribute( name ); + + // Set corresponding property to false for boolean attributes + if ( rboolean.test( name ) && (propName = jQuery.propFix[ name ] || name) in elem ) { + elem[ propName ] = false; + } + } + }, + + attrHooks: { + type: { + set: function( elem, value ) { + // We can't allow the type property to be changed (since it causes problems in IE) + if ( rtype.test( elem.nodeName ) && elem.parentNode ) { + jQuery.error( "type property can't be changed" ); + } else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { + // Setting the type on a radio button after the value resets the value in IE6-9 + // Reset value to it's default in case type is set after value + // This is for element creation + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + }, + // Use the value property for back compat + // Use the nodeHook for button elements in IE6/7 (#1954) + value: { + get: function( elem, name ) { + if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { + return nodeHook.get( elem, name ); + } + return name in elem ? + elem.value : + null; + }, + set: function( elem, value, name ) { + if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { + return nodeHook.set( elem, value, name ); + } + // Does not return so that setAttribute is also used + elem.value = value; + } + } + }, + + propFix: { + tabindex: "tabIndex", + readonly: "readOnly", + "for": "htmlFor", + "class": "className", + maxlength: "maxLength", + cellspacing: "cellSpacing", + cellpadding: "cellPadding", + rowspan: "rowSpan", + colspan: "colSpan", + usemap: "useMap", + frameborder: "frameBorder", + contenteditable: "contentEditable" + }, + + prop: function( elem, name, value ) { + var nType = elem.nodeType; + + // don't get/set properties on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return undefined; + } + + var ret, hooks, + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + if ( notxml ) { + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + return (elem[ name ] = value); + } + + } else { + if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + return elem[ name ]; + } + } + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + var attributeNode = elem.getAttributeNode("tabindex"); + + return attributeNode && attributeNode.specified ? + parseInt( attributeNode.value, 10 ) : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + undefined; + } + } + } +}); + +// Add the tabindex propHook to attrHooks for back-compat +jQuery.attrHooks.tabIndex = jQuery.propHooks.tabIndex; + +// Hook for boolean attributes +boolHook = { + get: function( elem, name ) { + // Align boolean attributes with corresponding properties + // Fall back to attribute presence where some booleans are not supported + var attrNode; + return jQuery.prop( elem, name ) === true || ( attrNode = elem.getAttributeNode( name ) ) && attrNode.nodeValue !== false ? + name.toLowerCase() : + undefined; + }, + set: function( elem, value, name ) { + var propName; + if ( value === false ) { + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + // value is true since we know at this point it's type boolean and not false + // Set boolean attributes to the same name and set the DOM property + propName = jQuery.propFix[ name ] || name; + if ( propName in elem ) { + // Only set the IDL specifically if it already exists on the element + elem[ propName ] = true; + } + + elem.setAttribute( name, name.toLowerCase() ); + } + return name; + } +}; + +// IE6/7 do not support getting/setting some attributes with get/setAttribute +if ( !jQuery.support.getSetAttribute ) { + + // Use this for any attribute in IE6/7 + // This fixes almost every IE6/7 issue + nodeHook = jQuery.valHooks.button = { + get: function( elem, name ) { + var ret; + ret = elem.getAttributeNode( name ); + // Return undefined if nodeValue is empty string + return ret && ret.nodeValue !== "" ? + ret.nodeValue : + undefined; + }, + set: function( elem, value, name ) { + // Set the existing or create a new attribute node + var ret = elem.getAttributeNode( name ); + if ( !ret ) { + ret = document.createAttribute( name ); + elem.setAttributeNode( ret ); + } + return (ret.nodeValue = value + ""); + } + }; + + // Set width and height to auto instead of 0 on empty string( Bug #8150 ) + // This is for removals + jQuery.each([ "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + set: function( elem, value ) { + if ( value === "" ) { + elem.setAttribute( name, "auto" ); + return value; + } + } + }); + }); +} + + +// Some attributes require a special call on IE +if ( !jQuery.support.hrefNormalized ) { + jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + get: function( elem ) { + var ret = elem.getAttribute( name, 2 ); + return ret === null ? undefined : ret; + } + }); + }); +} + +if ( !jQuery.support.style ) { + jQuery.attrHooks.style = { + get: function( elem ) { + // Return undefined in the case of empty string + // Normalize to lowercase since IE uppercases css property names + return elem.style.cssText.toLowerCase() || undefined; + }, + set: function( elem, value ) { + return (elem.style.cssText = "" + value); + } + }; +} + +// Safari mis-reports the default selected property of an option +// Accessing the parent's selectedIndex property fixes it +if ( !jQuery.support.optSelected ) { + jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { + get: function( elem ) { + var parent = elem.parentNode; + + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + return null; + } + }); +} + +// Radios and checkboxes getter/setter +if ( !jQuery.support.checkOn ) { + jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + get: function( elem ) { + // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified + return elem.getAttribute("value") === null ? "on" : elem.value; + } + }; + }); +} +jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { + set: function( elem, value ) { + if ( jQuery.isArray( value ) ) { + return (elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0); + } + } + }); +}); + + + + +var rnamespaces = /\.(.*)$/, + rformElems = /^(?:textarea|input|select)$/i, + rperiod = /\./g, + rspaces = / /g, + rescape = /[^\w\s.|`]/g, + fcleanup = function( nm ) { + return nm.replace(rescape, "\\$&"); + }; + +/* + * A number of helper functions used for managing events. + * Many of the ideas behind this code originated from + * Dean Edwards' addEvent library. + */ +jQuery.event = { + + // Bind an event to an element + // Original by Dean Edwards + add: function( elem, types, handler, data ) { + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + if ( handler === false ) { + handler = returnFalse; + } else if ( !handler ) { + // Fixes bug #7229. Fix recommended by jdalton + return; + } + + var handleObjIn, handleObj; + + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + } + + // Make sure that the function being executed has a unique ID + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure + var elemData = jQuery._data( elem ); + + // If no elemData is found then we must be trying to bind to one of the + // banned noData elements + if ( !elemData ) { + return; + } + + var events = elemData.events, + eventHandle = elemData.handle; + + if ( !events ) { + elemData.events = events = {}; + } + + if ( !eventHandle ) { + elemData.handle = eventHandle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.handle.apply( eventHandle.elem, arguments ) : + undefined; + }; + } + + // Add elem as a property of the handle function + // This is to prevent a memory leak with non-native events in IE. + eventHandle.elem = elem; + + // Handle multiple events separated by a space + // jQuery(...).bind("mouseover mouseout", fn); + types = types.split(" "); + + var type, i = 0, namespaces; + + while ( (type = types[ i++ ]) ) { + handleObj = handleObjIn ? + jQuery.extend({}, handleObjIn) : + { handler: handler, data: data }; + + // Namespaced event handlers + if ( type.indexOf(".") > -1 ) { + namespaces = type.split("."); + type = namespaces.shift(); + handleObj.namespace = namespaces.slice(0).sort().join("."); + + } else { + namespaces = []; + handleObj.namespace = ""; + } + + handleObj.type = type; + if ( !handleObj.guid ) { + handleObj.guid = handler.guid; + } + + // Get the current list of functions bound to this event + var handlers = events[ type ], + special = jQuery.event.special[ type ] || {}; + + // Init the event handler queue + if ( !handlers ) { + handlers = events[ type ] = []; + + // Check for a special event handler + // Only use addEventListener/attachEvent if the special + // events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add the function to the element's handler list + handlers.push( handleObj ); + + // Keep track of which events have been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + global: {}, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, pos ) { + // don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + if ( handler === false ) { + handler = returnFalse; + } + + var ret, type, fn, j, i = 0, all, namespaces, namespace, special, eventType, handleObj, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ), + events = elemData && elemData.events; + + if ( !elemData || !events ) { + return; + } + + // types is actually an event object here + if ( types && types.type ) { + handler = types.handler; + types = types.type; + } + + // Unbind all events for the element + if ( !types || typeof types === "string" && types.charAt(0) === "." ) { + types = types || ""; + + for ( type in events ) { + jQuery.event.remove( elem, type + types ); + } + + return; + } + + // Handle multiple events separated by a space + // jQuery(...).unbind("mouseover mouseout", fn); + types = types.split(" "); + + while ( (type = types[ i++ ]) ) { + origType = type; + handleObj = null; + all = type.indexOf(".") < 0; + namespaces = []; + + if ( !all ) { + // Namespaced event handlers + namespaces = type.split("."); + type = namespaces.shift(); + + namespace = new RegExp("(^|\\.)" + + jQuery.map( namespaces.slice(0).sort(), fcleanup ).join("\\.(?:.*\\.)?") + "(\\.|$)"); + } + + eventType = events[ type ]; + + if ( !eventType ) { + continue; + } + + if ( !handler ) { + for ( j = 0; j < eventType.length; j++ ) { + handleObj = eventType[ j ]; + + if ( all || namespace.test( handleObj.namespace ) ) { + jQuery.event.remove( elem, origType, handleObj.handler, j ); + eventType.splice( j--, 1 ); + } + } + + continue; + } + + special = jQuery.event.special[ type ] || {}; + + for ( j = pos || 0; j < eventType.length; j++ ) { + handleObj = eventType[ j ]; + + if ( handler.guid === handleObj.guid ) { + // remove the given handler for the given type + if ( all || namespace.test( handleObj.namespace ) ) { + if ( pos == null ) { + eventType.splice( j--, 1 ); + } + + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + + if ( pos != null ) { + break; + } + } + } + + // remove generic event handler if no more handlers exist + if ( eventType.length === 0 || pos != null && eventType.length === 1 ) { + if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + ret = null; + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + var handle = elemData.handle; + if ( handle ) { + handle.elem = null; + } + + delete elemData.events; + delete elemData.handle; + + if ( jQuery.isEmptyObject( elemData ) ) { + jQuery.removeData( elem, undefined, true ); + } + } + }, + + // Events that are safe to short-circuit if no handlers are attached. + // Native DOM events should not be added, they may have inline handlers. + customEvent: { + "getData": true, + "setData": true, + "changeData": true + }, + + trigger: function( event, data, elem, onlyHandlers ) { + // Event object or event type + var type = event.type || event, + namespaces = [], + exclusive; + + if ( type.indexOf("!") >= 0 ) { + // Exclusive events trigger only for the exact event (no namespaces) + type = type.slice(0, -1); + exclusive = true; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + + if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) { + // No jQuery handlers for this event type, and it can't have inline handlers + return; + } + + // Caller can pass in an Event, Object, or just an event type string + event = typeof event === "object" ? + // jQuery.Event object + event[ jQuery.expando ] ? event : + // Object literal + new jQuery.Event( type, event ) : + // Just the event type (string) + new jQuery.Event( type ); + + event.type = type; + event.exclusive = exclusive; + event.namespace = namespaces.join("."); + event.namespace_re = new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.)?") + "(\\.|$)"); + + // triggerHandler() and global events don't bubble or run the default action + if ( onlyHandlers || !elem ) { + event.preventDefault(); + event.stopPropagation(); + } + + // Handle a global trigger + if ( !elem ) { + // TODO: Stop taunting the data cache; remove global events and always attach to document + jQuery.each( jQuery.cache, function() { + // internalKey variable is just used to make it easier to find + // and potentially change this stuff later; currently it just + // points to jQuery.expando + var internalKey = jQuery.expando, + internalCache = this[ internalKey ]; + if ( internalCache && internalCache.events && internalCache.events[ type ] ) { + jQuery.event.trigger( event, data, internalCache.handle.elem ); + } + }); + return; + } + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // Clean up the event in case it is being reused + event.result = undefined; + event.target = elem; + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data != null ? jQuery.makeArray( data ) : []; + data.unshift( event ); + + var cur = elem, + // IE doesn't like method names with a colon (#3533, #8272) + ontype = type.indexOf(":") < 0 ? "on" + type : ""; + + // Fire event on the current element, then bubble up the DOM tree + do { + var handle = jQuery._data( cur, "handle" ); + + event.currentTarget = cur; + if ( handle ) { + handle.apply( cur, data ); + } + + // Trigger an inline bound script + if ( ontype && jQuery.acceptData( cur ) && cur[ ontype ] && cur[ ontype ].apply( cur, data ) === false ) { + event.result = false; + event.preventDefault(); + } + + // Bubble up to document, then to window + cur = cur.parentNode || cur.ownerDocument || cur === event.target.ownerDocument && window; + } while ( cur && !event.isPropagationStopped() ); + + // If nobody prevented the default action, do it now + if ( !event.isDefaultPrevented() ) { + var old, + special = jQuery.event.special[ type ] || {}; + + if ( (!special._default || special._default.call( elem.ownerDocument, event ) === false) && + !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction)() check here because IE6/7 fails that test. + // IE<9 dies on focus to hidden element (#1486), may want to revisit a try/catch. + try { + if ( ontype && elem[ type ] ) { + // Don't re-trigger an onFOO event when we call its FOO() method + old = elem[ ontype ]; + + if ( old ) { + elem[ ontype ] = null; + } + + jQuery.event.triggered = type; + elem[ type ](); + } + } catch ( ieError ) {} + + if ( old ) { + elem[ ontype ] = old; + } + + jQuery.event.triggered = undefined; + } + } + + return event.result; + }, + + handle: function( event ) { + event = jQuery.event.fix( event || window.event ); + // Snapshot the handlers list since a called handler may add/remove events. + var handlers = ((jQuery._data( this, "events" ) || {})[ event.type ] || []).slice(0), + run_all = !event.exclusive && !event.namespace, + args = Array.prototype.slice.call( arguments, 0 ); + + // Use the fix-ed Event rather than the (read-only) native event + args[0] = event; + event.currentTarget = this; + + for ( var j = 0, l = handlers.length; j < l; j++ ) { + var handleObj = handlers[ j ]; + + // Triggered event must 1) be non-exclusive and have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event. + if ( run_all || event.namespace_re.test( handleObj.namespace ) ) { + // Pass in a reference to the handler function itself + // So that we can later remove it + event.handler = handleObj.handler; + event.data = handleObj.data; + event.handleObj = handleObj; + + var ret = handleObj.handler.apply( this, args ); + + if ( ret !== undefined ) { + event.result = ret; + if ( ret === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + + if ( event.isImmediatePropagationStopped() ) { + break; + } + } + } + return event.result; + }, + + props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // store a copy of the original event object + // and "clone" to set read-only properties + var originalEvent = event; + event = jQuery.Event( originalEvent ); + + for ( var i = this.props.length, prop; i; ) { + prop = this.props[ --i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Fix target property, if necessary + if ( !event.target ) { + // Fixes #1925 where srcElement might not be defined either + event.target = event.srcElement || document; + } + + // check if target is a textnode (safari) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && event.fromElement ) { + event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement; + } + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && event.clientX != null ) { + var eventDocument = event.target.ownerDocument || document, + doc = eventDocument.documentElement, + body = eventDocument.body; + + event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0); + event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0); + } + + // Add which for key events + if ( event.which == null && (event.charCode != null || event.keyCode != null) ) { + event.which = event.charCode != null ? event.charCode : event.keyCode; + } + + // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs) + if ( !event.metaKey && event.ctrlKey ) { + event.metaKey = event.ctrlKey; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && event.button !== undefined ) { + event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) )); + } + + return event; + }, + + // Deprecated, use jQuery.guid instead + guid: 1E8, + + // Deprecated, use jQuery.proxy instead + proxy: jQuery.proxy, + + special: { + ready: { + // Make sure the ready event is setup + setup: jQuery.bindReady, + teardown: jQuery.noop + }, + + live: { + add: function( handleObj ) { + jQuery.event.add( this, + liveConvert( handleObj.origType, handleObj.selector ), + jQuery.extend({}, handleObj, {handler: liveHandler, guid: handleObj.handler.guid}) ); + }, + + remove: function( handleObj ) { + jQuery.event.remove( this, liveConvert( handleObj.origType, handleObj.selector ), handleObj ); + } + }, + + beforeunload: { + setup: function( data, namespaces, eventHandle ) { + // We only want to do this special case on windows + if ( jQuery.isWindow( this ) ) { + this.onbeforeunload = eventHandle; + } + }, + + teardown: function( namespaces, eventHandle ) { + if ( this.onbeforeunload === eventHandle ) { + this.onbeforeunload = null; + } + } + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + if ( elem.detachEvent ) { + elem.detachEvent( "on" + type, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !this.preventDefault ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false || + src.getPreventDefault && src.getPreventDefault()) ? returnTrue : returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // timeStamp is buggy for some events on Firefox(#3843) + // So we won't rely on the native value + this.timeStamp = jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +function returnFalse() { + return false; +} +function returnTrue() { + return true; +} + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + preventDefault: function() { + this.isDefaultPrevented = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + + // if preventDefault exists run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // otherwise set the returnValue property of the original event to false (IE) + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + this.isPropagationStopped = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + // if stopPropagation exists run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + // otherwise set the cancelBubble property of the original event to true (IE) + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + }, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse +}; + +// Checks if an event happened on an element within another element +// Used in jQuery.event.special.mouseenter and mouseleave handlers +var withinElement = function( event ) { + + // Check if mouse(over|out) are still within the same parent element + var related = event.relatedTarget, + inside = false, + eventType = event.type; + + event.type = event.data; + + if ( related !== this ) { + + if ( related ) { + inside = jQuery.contains( this, related ); + } + + if ( !inside ) { + + jQuery.event.handle.apply( this, arguments ); + + event.type = eventType; + } + } +}, + +// In case of event delegation, we only need to rename the event.type, +// liveHandler will take care of the rest. +delegate = function( event ) { + event.type = event.data; + jQuery.event.handle.apply( this, arguments ); +}; + +// Create mouseenter and mouseleave events +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + setup: function( data ) { + jQuery.event.add( this, fix, data && data.selector ? delegate : withinElement, orig ); + }, + teardown: function( data ) { + jQuery.event.remove( this, fix, data && data.selector ? delegate : withinElement ); + } + }; +}); + +// submit delegation +if ( !jQuery.support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function( data, namespaces ) { + if ( !jQuery.nodeName( this, "form" ) ) { + jQuery.event.add(this, "click.specialSubmit", function( e ) { + // Avoid triggering error on non-existent type attribute in IE VML (#7071) + var elem = e.target, + type = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.type : ""; + + if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) { + trigger( "submit", this, arguments ); + } + }); + + jQuery.event.add(this, "keypress.specialSubmit", function( e ) { + var elem = e.target, + type = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.type : ""; + + if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) { + trigger( "submit", this, arguments ); + } + }); + + } else { + return false; + } + }, + + teardown: function( namespaces ) { + jQuery.event.remove( this, ".specialSubmit" ); + } + }; + +} + +// change delegation, happens here so we have bind. +if ( !jQuery.support.changeBubbles ) { + + var changeFilters, + + getVal = function( elem ) { + var type = jQuery.nodeName( elem, "input" ) ? elem.type : "", + val = elem.value; + + if ( type === "radio" || type === "checkbox" ) { + val = elem.checked; + + } else if ( type === "select-multiple" ) { + val = elem.selectedIndex > -1 ? + jQuery.map( elem.options, function( elem ) { + return elem.selected; + }).join("-") : + ""; + + } else if ( jQuery.nodeName( elem, "select" ) ) { + val = elem.selectedIndex; + } + + return val; + }, + + testChange = function testChange( e ) { + var elem = e.target, data, val; + + if ( !rformElems.test( elem.nodeName ) || elem.readOnly ) { + return; + } + + data = jQuery._data( elem, "_change_data" ); + val = getVal(elem); + + // the current data will be also retrieved by beforeactivate + if ( e.type !== "focusout" || elem.type !== "radio" ) { + jQuery._data( elem, "_change_data", val ); + } + + if ( data === undefined || val === data ) { + return; + } + + if ( data != null || val ) { + e.type = "change"; + e.liveFired = undefined; + jQuery.event.trigger( e, arguments[1], elem ); + } + }; + + jQuery.event.special.change = { + filters: { + focusout: testChange, + + beforedeactivate: testChange, + + click: function( e ) { + var elem = e.target, type = jQuery.nodeName( elem, "input" ) ? elem.type : ""; + + if ( type === "radio" || type === "checkbox" || jQuery.nodeName( elem, "select" ) ) { + testChange.call( this, e ); + } + }, + + // Change has to be called before submit + // Keydown will be called before keypress, which is used in submit-event delegation + keydown: function( e ) { + var elem = e.target, type = jQuery.nodeName( elem, "input" ) ? elem.type : ""; + + if ( (e.keyCode === 13 && !jQuery.nodeName( elem, "textarea" ) ) || + (e.keyCode === 32 && (type === "checkbox" || type === "radio")) || + type === "select-multiple" ) { + testChange.call( this, e ); + } + }, + + // Beforeactivate happens also before the previous element is blurred + // with this event you can't trigger a change event, but you can store + // information + beforeactivate: function( e ) { + var elem = e.target; + jQuery._data( elem, "_change_data", getVal(elem) ); + } + }, + + setup: function( data, namespaces ) { + if ( this.type === "file" ) { + return false; + } + + for ( var type in changeFilters ) { + jQuery.event.add( this, type + ".specialChange", changeFilters[type] ); + } + + return rformElems.test( this.nodeName ); + }, + + teardown: function( namespaces ) { + jQuery.event.remove( this, ".specialChange" ); + + return rformElems.test( this.nodeName ); + } + }; + + changeFilters = jQuery.event.special.change.filters; + + // Handle when the input is .focus()'d + changeFilters.focus = changeFilters.beforeactivate; +} + +function trigger( type, elem, args ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + // Don't pass args or remember liveFired; they apply to the donor event. + var event = jQuery.extend( {}, args[ 0 ] ); + event.type = type; + event.originalEvent = {}; + event.liveFired = undefined; + jQuery.event.handle.call( elem, event ); + if ( event.isDefaultPrevented() ) { + args[ 0 ].preventDefault(); + } +} + +// Create "bubbling" focus and blur events +if ( !jQuery.support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler while someone wants focusin/focusout + var attaches = 0; + + jQuery.event.special[ fix ] = { + setup: function() { + if ( attaches++ === 0 ) { + document.addEventListener( orig, handler, true ); + } + }, + teardown: function() { + if ( --attaches === 0 ) { + document.removeEventListener( orig, handler, true ); + } + } + }; + + function handler( donor ) { + // Donor event is always a native one; fix it and switch its type. + // Let focusin/out handler cancel the donor focus/blur event. + var e = jQuery.event.fix( donor ); + e.type = fix; + e.originalEvent = {}; + jQuery.event.trigger( e, null, e.target ); + if ( e.isDefaultPrevented() ) { + donor.preventDefault(); + } + } + }); +} + +jQuery.each(["bind", "one"], function( i, name ) { + jQuery.fn[ name ] = function( type, data, fn ) { + var handler; + + // Handle object literals + if ( typeof type === "object" ) { + for ( var key in type ) { + this[ name ](key, data, type[key], fn); + } + return this; + } + + if ( arguments.length === 2 || data === false ) { + fn = data; + data = undefined; + } + + if ( name === "one" ) { + handler = function( event ) { + jQuery( this ).unbind( event, handler ); + return fn.apply( this, arguments ); + }; + handler.guid = fn.guid || jQuery.guid++; + } else { + handler = fn; + } + + if ( type === "unload" && name !== "one" ) { + this.one( type, data, fn ); + + } else { + for ( var i = 0, l = this.length; i < l; i++ ) { + jQuery.event.add( this[i], type, handler, data ); + } + } + + return this; + }; +}); + +jQuery.fn.extend({ + unbind: function( type, fn ) { + // Handle object literals + if ( typeof type === "object" && !type.preventDefault ) { + for ( var key in type ) { + this.unbind(key, type[key]); + } + + } else { + for ( var i = 0, l = this.length; i < l; i++ ) { + jQuery.event.remove( this[i], type, fn ); + } + } + + return this; + }, + + delegate: function( selector, types, data, fn ) { + return this.live( types, data, fn, selector ); + }, + + undelegate: function( selector, types, fn ) { + if ( arguments.length === 0 ) { + return this.unbind( "live" ); + + } else { + return this.die( types, null, fn, selector ); + } + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + + triggerHandler: function( type, data ) { + if ( this[0] ) { + return jQuery.event.trigger( type, data, this[0], true ); + } + }, + + toggle: function( fn ) { + // Save reference to arguments for access in closure + var args = arguments, + guid = fn.guid || jQuery.guid++, + i = 0, + toggler = function( event ) { + // Figure out which function to execute + var lastToggle = ( jQuery.data( this, "lastToggle" + fn.guid ) || 0 ) % i; + jQuery.data( this, "lastToggle" + fn.guid, lastToggle + 1 ); + + // Make sure that clicks stop + event.preventDefault(); + + // and execute the function + return args[ lastToggle ].apply( this, arguments ) || false; + }; + + // link all the functions, so any of them can unbind this click handler + toggler.guid = guid; + while ( i < args.length ) { + args[ i++ ].guid = guid; + } + + return this.click( toggler ); + }, + + hover: function( fnOver, fnOut ) { + return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); + } +}); + +var liveMap = { + focus: "focusin", + blur: "focusout", + mouseenter: "mouseover", + mouseleave: "mouseout" +}; + +jQuery.each(["live", "die"], function( i, name ) { + jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) { + var type, i = 0, match, namespaces, preType, + selector = origSelector || this.selector, + context = origSelector ? this : jQuery( this.context ); + + if ( typeof types === "object" && !types.preventDefault ) { + for ( var key in types ) { + context[ name ]( key, data, types[key], selector ); + } + + return this; + } + + if ( name === "die" && !types && + origSelector && origSelector.charAt(0) === "." ) { + + context.unbind( origSelector ); + + return this; + } + + if ( data === false || jQuery.isFunction( data ) ) { + fn = data || returnFalse; + data = undefined; + } + + types = (types || "").split(" "); + + while ( (type = types[ i++ ]) != null ) { + match = rnamespaces.exec( type ); + namespaces = ""; + + if ( match ) { + namespaces = match[0]; + type = type.replace( rnamespaces, "" ); + } + + if ( type === "hover" ) { + types.push( "mouseenter" + namespaces, "mouseleave" + namespaces ); + continue; + } + + preType = type; + + if ( liveMap[ type ] ) { + types.push( liveMap[ type ] + namespaces ); + type = type + namespaces; + + } else { + type = (liveMap[ type ] || type) + namespaces; + } + + if ( name === "live" ) { + // bind live handler + for ( var j = 0, l = context.length; j < l; j++ ) { + jQuery.event.add( context[j], "live." + liveConvert( type, selector ), + { data: data, selector: selector, handler: fn, origType: type, origHandler: fn, preType: preType } ); + } + + } else { + // unbind live handler + context.unbind( "live." + liveConvert( type, selector ), fn ); + } + } + + return this; + }; +}); + +function liveHandler( event ) { + var stop, maxLevel, related, match, handleObj, elem, j, i, l, data, close, namespace, ret, + elems = [], + selectors = [], + events = jQuery._data( this, "events" ); + + // Make sure we avoid non-left-click bubbling in Firefox (#3861) and disabled elements in IE (#6911) + if ( event.liveFired === this || !events || !events.live || event.target.disabled || event.button && event.type === "click" ) { + return; + } + + if ( event.namespace ) { + namespace = new RegExp("(^|\\.)" + event.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)"); + } + + event.liveFired = this; + + var live = events.live.slice(0); + + for ( j = 0; j < live.length; j++ ) { + handleObj = live[j]; + + if ( handleObj.origType.replace( rnamespaces, "" ) === event.type ) { + selectors.push( handleObj.selector ); + + } else { + live.splice( j--, 1 ); + } + } + + match = jQuery( event.target ).closest( selectors, event.currentTarget ); + + for ( i = 0, l = match.length; i < l; i++ ) { + close = match[i]; + + for ( j = 0; j < live.length; j++ ) { + handleObj = live[j]; + + if ( close.selector === handleObj.selector && (!namespace || namespace.test( handleObj.namespace )) && !close.elem.disabled ) { + elem = close.elem; + related = null; + + // Those two events require additional checking + if ( handleObj.preType === "mouseenter" || handleObj.preType === "mouseleave" ) { + event.type = handleObj.preType; + related = jQuery( event.relatedTarget ).closest( handleObj.selector )[0]; + + // Make sure not to accidentally match a child element with the same selector + if ( related && jQuery.contains( elem, related ) ) { + related = elem; + } + } + + if ( !related || related !== elem ) { + elems.push({ elem: elem, handleObj: handleObj, level: close.level }); + } + } + } + } + + for ( i = 0, l = elems.length; i < l; i++ ) { + match = elems[i]; + + if ( maxLevel && match.level > maxLevel ) { + break; + } + + event.currentTarget = match.elem; + event.data = match.handleObj.data; + event.handleObj = match.handleObj; + + ret = match.handleObj.origHandler.apply( match.elem, arguments ); + + if ( ret === false || event.isPropagationStopped() ) { + maxLevel = match.level; + + if ( ret === false ) { + stop = false; + } + if ( event.isImmediatePropagationStopped() ) { + break; + } + } + } + + return stop; +} + +function liveConvert( type, selector ) { + return (type && type !== "*" ? type + "." : "") + selector.replace(rperiod, "`").replace(rspaces, "&"); +} + +jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + + "change select submit keydown keypress keyup error").split(" "), function( i, name ) { + + // Handle event binding + jQuery.fn[ name ] = function( data, fn ) { + if ( fn == null ) { + fn = data; + data = null; + } + + return arguments.length > 0 ? + this.bind( name, data, fn ) : + this.trigger( name ); + }; + + if ( jQuery.attrFn ) { + jQuery.attrFn[ name ] = true; + } +}); + + + +/*! + * Sizzle CSS Selector Engine + * Copyright 2011-2012, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){ + +var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, + done = 0, + toString = Object.prototype.toString, + hasDuplicate = false, + baseHasDuplicate = true, + rBackslash = /\\/g, + rNonWord = /\W/; + +// Here we check if the JavaScript engine is using some sort of +// optimization where it does not always call our comparision +// function. If that is the case, discard the hasDuplicate value. +// Thus far that includes Google Chrome. +[0, 0].sort(function() { + baseHasDuplicate = false; + return 0; +}); + +var Sizzle = function( selector, context, results, seed ) { + results = results || []; + context = context || document; + + var origContext = context; + + if ( context.nodeType !== 1 && context.nodeType !== 9 ) { + return []; + } + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + var m, set, checkSet, extra, ret, cur, pop, i, + prune = true, + contextXML = Sizzle.isXML( context ), + parts = [], + soFar = selector; + + // Reset the position of the chunker regexp (start from head) + do { + chunker.exec( "" ); + m = chunker.exec( soFar ); + + if ( m ) { + soFar = m[3]; + + parts.push( m[1] ); + + if ( m[2] ) { + extra = m[3]; + break; + } + } + } while ( m ); + + if ( parts.length > 1 && origPOS.exec( selector ) ) { + + if ( parts.length === 2 && Expr.relative[ parts[0] ] ) { + set = posProcess( parts[0] + parts[1], context ); + + } else { + set = Expr.relative[ parts[0] ] ? + [ context ] : + Sizzle( parts.shift(), context ); + + while ( parts.length ) { + selector = parts.shift(); + + if ( Expr.relative[ selector ] ) { + selector += parts.shift(); + } + + set = posProcess( selector, set ); + } + } + + } else { + // Take a shortcut and set the context if the root selector is an ID + // (but not if it'll be faster if the inner selector is an ID) + if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML && + Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) { + + ret = Sizzle.find( parts.shift(), context, contextXML ); + context = ret.expr ? + Sizzle.filter( ret.expr, ret.set )[0] : + ret.set[0]; + } + + if ( context ) { + ret = seed ? + { expr: parts.pop(), set: makeArray(seed) } : + Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML ); + + set = ret.expr ? + Sizzle.filter( ret.expr, ret.set ) : + ret.set; + + if ( parts.length > 0 ) { + checkSet = makeArray( set ); + + } else { + prune = false; + } + + while ( parts.length ) { + cur = parts.pop(); + pop = cur; + + if ( !Expr.relative[ cur ] ) { + cur = ""; + } else { + pop = parts.pop(); + } + + if ( pop == null ) { + pop = context; + } + + Expr.relative[ cur ]( checkSet, pop, contextXML ); + } + + } else { + checkSet = parts = []; + } + } + + if ( !checkSet ) { + checkSet = set; + } + + if ( !checkSet ) { + Sizzle.error( cur || selector ); + } + + if ( toString.call(checkSet) === "[object Array]" ) { + if ( !prune ) { + results.push.apply( results, checkSet ); + + } else if ( context && context.nodeType === 1 ) { + for ( i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) { + results.push( set[i] ); + } + } + + } else { + for ( i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && checkSet[i].nodeType === 1 ) { + results.push( set[i] ); + } + } + } + + } else { + makeArray( checkSet, results ); + } + + if ( extra ) { + Sizzle( extra, origContext, results, seed ); + Sizzle.uniqueSort( results ); + } + + return results; +}; + +Sizzle.uniqueSort = function( results ) { + if ( sortOrder ) { + hasDuplicate = baseHasDuplicate; + results.sort( sortOrder ); + + if ( hasDuplicate ) { + for ( var i = 1; i < results.length; i++ ) { + if ( results[i] === results[ i - 1 ] ) { + results.splice( i--, 1 ); + } + } + } + } + + return results; +}; + +Sizzle.matches = function( expr, set ) { + return Sizzle( expr, null, null, set ); +}; + +Sizzle.matchesSelector = function( node, expr ) { + return Sizzle( expr, null, null, [node] ).length > 0; +}; + +Sizzle.find = function( expr, context, isXML ) { + var set; + + if ( !expr ) { + return []; + } + + for ( var i = 0, l = Expr.order.length; i < l; i++ ) { + var match, + type = Expr.order[i]; + + if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { + var left = match[1]; + match.splice( 1, 1 ); + + if ( left.substr( left.length - 1 ) !== "\\" ) { + match[1] = (match[1] || "").replace( rBackslash, "" ); + set = Expr.find[ type ]( match, context, isXML ); + + if ( set != null ) { + expr = expr.replace( Expr.match[ type ], "" ); + break; + } + } + } + } + + if ( !set ) { + set = typeof context.getElementsByTagName !== "undefined" ? + context.getElementsByTagName( "*" ) : + []; + } + + return { set: set, expr: expr }; +}; + +Sizzle.filter = function( expr, set, inplace, not ) { + var match, anyFound, + old = expr, + result = [], + curLoop = set, + isXMLFilter = set && set[0] && Sizzle.isXML( set[0] ); + + while ( expr && set.length ) { + for ( var type in Expr.filter ) { + if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) { + var found, item, + filter = Expr.filter[ type ], + left = match[1]; + + anyFound = false; + + match.splice(1,1); + + if ( left.substr( left.length - 1 ) === "\\" ) { + continue; + } + + if ( curLoop === result ) { + result = []; + } + + if ( Expr.preFilter[ type ] ) { + match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter ); + + if ( !match ) { + anyFound = found = true; + + } else if ( match === true ) { + continue; + } + } + + if ( match ) { + for ( var i = 0; (item = curLoop[i]) != null; i++ ) { + if ( item ) { + found = filter( item, match, i, curLoop ); + var pass = not ^ !!found; + + if ( inplace && found != null ) { + if ( pass ) { + anyFound = true; + + } else { + curLoop[i] = false; + } + + } else if ( pass ) { + result.push( item ); + anyFound = true; + } + } + } + } + + if ( found !== undefined ) { + if ( !inplace ) { + curLoop = result; + } + + expr = expr.replace( Expr.match[ type ], "" ); + + if ( !anyFound ) { + return []; + } + + break; + } + } + } + + // Improper expression + if ( expr === old ) { + if ( anyFound == null ) { + Sizzle.error( expr ); + + } else { + break; + } + } + + old = expr; + } + + return curLoop; +}; + +Sizzle.error = function( msg ) { + throw "Syntax error, unrecognized expression: " + msg; +}; + +var Expr = Sizzle.selectors = { + order: [ "ID", "NAME", "TAG" ], + + match: { + ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, + CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, + NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/, + ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/, + TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/, + CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/, + POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, + PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ + }, + + leftMatch: {}, + + attrMap: { + "class": "className", + "for": "htmlFor" + }, + + attrHandle: { + href: function( elem ) { + return elem.getAttribute( "href" ); + }, + type: function( elem ) { + return elem.getAttribute( "type" ); + } + }, + + relative: { + "+": function(checkSet, part){ + var isPartStr = typeof part === "string", + isTag = isPartStr && !rNonWord.test( part ), + isPartStrNotTag = isPartStr && !isTag; + + if ( isTag ) { + part = part.toLowerCase(); + } + + for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) { + if ( (elem = checkSet[i]) ) { + while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} + + checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ? + elem || false : + elem === part; + } + } + + if ( isPartStrNotTag ) { + Sizzle.filter( part, checkSet, true ); + } + }, + + ">": function( checkSet, part ) { + var elem, + isPartStr = typeof part === "string", + i = 0, + l = checkSet.length; + + if ( isPartStr && !rNonWord.test( part ) ) { + part = part.toLowerCase(); + + for ( ; i < l; i++ ) { + elem = checkSet[i]; + + if ( elem ) { + var parent = elem.parentNode; + checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false; + } + } + + } else { + for ( ; i < l; i++ ) { + elem = checkSet[i]; + + if ( elem ) { + checkSet[i] = isPartStr ? + elem.parentNode : + elem.parentNode === part; + } + } + + if ( isPartStr ) { + Sizzle.filter( part, checkSet, true ); + } + } + }, + + "": function(checkSet, part, isXML){ + var nodeCheck, + doneName = done++, + checkFn = dirCheck; + + if ( typeof part === "string" && !rNonWord.test( part ) ) { + part = part.toLowerCase(); + nodeCheck = part; + checkFn = dirNodeCheck; + } + + checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML ); + }, + + "~": function( checkSet, part, isXML ) { + var nodeCheck, + doneName = done++, + checkFn = dirCheck; + + if ( typeof part === "string" && !rNonWord.test( part ) ) { + part = part.toLowerCase(); + nodeCheck = part; + checkFn = dirNodeCheck; + } + + checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML ); + } + }, + + find: { + ID: function( match, context, isXML ) { + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }, + + NAME: function( match, context ) { + if ( typeof context.getElementsByName !== "undefined" ) { + var ret = [], + results = context.getElementsByName( match[1] ); + + for ( var i = 0, l = results.length; i < l; i++ ) { + if ( results[i].getAttribute("name") === match[1] ) { + ret.push( results[i] ); + } + } + + return ret.length === 0 ? null : ret; + } + }, + + TAG: function( match, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( match[1] ); + } + } + }, + preFilter: { + CLASS: function( match, curLoop, inplace, result, not, isXML ) { + match = " " + match[1].replace( rBackslash, "" ) + " "; + + if ( isXML ) { + return match; + } + + for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { + if ( elem ) { + if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n\r]/g, " ").indexOf(match) >= 0) ) { + if ( !inplace ) { + result.push( elem ); + } + + } else if ( inplace ) { + curLoop[i] = false; + } + } + } + + return false; + }, + + ID: function( match ) { + return match[1].replace( rBackslash, "" ); + }, + + TAG: function( match, curLoop ) { + return match[1].replace( rBackslash, "" ).toLowerCase(); + }, + + CHILD: function( match ) { + if ( match[1] === "nth" ) { + if ( !match[2] ) { + Sizzle.error( match[0] ); + } + + match[2] = match[2].replace(/^\+|\s*/g, ''); + + // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6' + var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec( + match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" || + !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]); + + // calculate the numbers (first)n+(last) including if they are negative + match[2] = (test[1] + (test[2] || 1)) - 0; + match[3] = test[3] - 0; + } + else if ( match[2] ) { + Sizzle.error( match[0] ); + } + + // TODO: Move to normal caching system + match[0] = done++; + + return match; + }, + + ATTR: function( match, curLoop, inplace, result, not, isXML ) { + var name = match[1] = match[1].replace( rBackslash, "" ); + + if ( !isXML && Expr.attrMap[name] ) { + match[1] = Expr.attrMap[name]; + } + + // Handle if an un-quoted value was used + match[4] = ( match[4] || match[5] || "" ).replace( rBackslash, "" ); + + if ( match[2] === "~=" ) { + match[4] = " " + match[4] + " "; + } + + return match; + }, + + PSEUDO: function( match, curLoop, inplace, result, not ) { + if ( match[1] === "not" ) { + // If we're dealing with a complex expression, or a simple one + if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) { + match[3] = Sizzle(match[3], null, null, curLoop); + + } else { + var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not); + + if ( !inplace ) { + result.push.apply( result, ret ); + } + + return false; + } + + } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) { + return true; + } + + return match; + }, + + POS: function( match ) { + match.unshift( true ); + + return match; + } + }, + + filters: { + enabled: function( elem ) { + return elem.disabled === false && elem.type !== "hidden"; + }, + + disabled: function( elem ) { + return elem.disabled === true; + }, + + checked: function( elem ) { + return elem.checked === true; + }, + + selected: function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + parent: function( elem ) { + return !!elem.firstChild; + }, + + empty: function( elem ) { + return !elem.firstChild; + }, + + has: function( elem, i, match ) { + return !!Sizzle( match[3], elem ).length; + }, + + header: function( elem ) { + return (/h\d/i).test( elem.nodeName ); + }, + + text: function( elem ) { + var attr = elem.getAttribute( "type" ), type = elem.type; + // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) + // use getAttribute instead to test this case + return elem.nodeName.toLowerCase() === "input" && "text" === type && ( attr === type || attr === null ); + }, + + radio: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "radio" === elem.type; + }, + + checkbox: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "checkbox" === elem.type; + }, + + file: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "file" === elem.type; + }, + + password: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "password" === elem.type; + }, + + submit: function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && "submit" === elem.type; + }, + + image: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "image" === elem.type; + }, + + reset: function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && "reset" === elem.type; + }, + + button: function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && "button" === elem.type || name === "button"; + }, + + input: function( elem ) { + return (/input|select|textarea|button/i).test( elem.nodeName ); + }, + + focus: function( elem ) { + return elem === elem.ownerDocument.activeElement; + } + }, + setFilters: { + first: function( elem, i ) { + return i === 0; + }, + + last: function( elem, i, match, array ) { + return i === array.length - 1; + }, + + even: function( elem, i ) { + return i % 2 === 0; + }, + + odd: function( elem, i ) { + return i % 2 === 1; + }, + + lt: function( elem, i, match ) { + return i < match[3] - 0; + }, + + gt: function( elem, i, match ) { + return i > match[3] - 0; + }, + + nth: function( elem, i, match ) { + return match[3] - 0 === i; + }, + + eq: function( elem, i, match ) { + return match[3] - 0 === i; + } + }, + filter: { + PSEUDO: function( elem, match, i, array ) { + var name = match[1], + filter = Expr.filters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + + } else if ( name === "contains" ) { + return (elem.textContent || elem.innerText || Sizzle.getText([ elem ]) || "").indexOf(match[3]) >= 0; + + } else if ( name === "not" ) { + var not = match[3]; + + for ( var j = 0, l = not.length; j < l; j++ ) { + if ( not[j] === elem ) { + return false; + } + } + + return true; + + } else { + Sizzle.error( name ); + } + }, + + CHILD: function( elem, match ) { + var type = match[1], + node = elem; + + switch ( type ) { + case "only": + case "first": + while ( (node = node.previousSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + if ( type === "first" ) { + return true; + } + + node = elem; + + case "last": + while ( (node = node.nextSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + return true; + + case "nth": + var first = match[2], + last = match[3]; + + if ( first === 1 && last === 0 ) { + return true; + } + + var doneName = match[0], + parent = elem.parentNode; + + if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) { + var count = 0; + + for ( node = parent.firstChild; node; node = node.nextSibling ) { + if ( node.nodeType === 1 ) { + node.nodeIndex = ++count; + } + } + + parent.sizcache = doneName; + } + + var diff = elem.nodeIndex - last; + + if ( first === 0 ) { + return diff === 0; + + } else { + return ( diff % first === 0 && diff / first >= 0 ); + } + } + }, + + ID: function( elem, match ) { + return elem.nodeType === 1 && elem.getAttribute("id") === match; + }, + + TAG: function( elem, match ) { + return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match; + }, + + CLASS: function( elem, match ) { + return (" " + (elem.className || elem.getAttribute("class")) + " ") + .indexOf( match ) > -1; + }, + + ATTR: function( elem, match ) { + var name = match[1], + result = Expr.attrHandle[ name ] ? + Expr.attrHandle[ name ]( elem ) : + elem[ name ] != null ? + elem[ name ] : + elem.getAttribute( name ), + value = result + "", + type = match[2], + check = match[4]; + + return result == null ? + type === "!=" : + type === "=" ? + value === check : + type === "*=" ? + value.indexOf(check) >= 0 : + type === "~=" ? + (" " + value + " ").indexOf(check) >= 0 : + !check ? + value && result !== false : + type === "!=" ? + value !== check : + type === "^=" ? + value.indexOf(check) === 0 : + type === "$=" ? + value.substr(value.length - check.length) === check : + type === "|=" ? + value === check || value.substr(0, check.length + 1) === check + "-" : + false; + }, + + POS: function( elem, match, i, array ) { + var name = match[2], + filter = Expr.setFilters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + } + } + } +}; + +var origPOS = Expr.match.POS, + fescape = function(all, num){ + return "\\" + (num - 0 + 1); + }; + +for ( var type in Expr.match ) { + Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) ); + Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) ); +} + +var makeArray = function( array, results ) { + array = Array.prototype.slice.call( array, 0 ); + + if ( results ) { + results.push.apply( results, array ); + return results; + } + + return array; +}; + +// Perform a simple check to determine if the browser is capable of +// converting a NodeList to an array using builtin methods. +// Also verifies that the returned array holds DOM nodes +// (which is not the case in the Blackberry browser) +try { + Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType; + +// Provide a fallback method if it does not work +} catch( e ) { + makeArray = function( array, results ) { + var i = 0, + ret = results || []; + + if ( toString.call(array) === "[object Array]" ) { + Array.prototype.push.apply( ret, array ); + + } else { + if ( typeof array.length === "number" ) { + for ( var l = array.length; i < l; i++ ) { + ret.push( array[i] ); + } + + } else { + for ( ; array[i]; i++ ) { + ret.push( array[i] ); + } + } + } + + return ret; + }; +} + +var sortOrder, siblingCheck; + +if ( document.documentElement.compareDocumentPosition ) { + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) { + return a.compareDocumentPosition ? -1 : 1; + } + + return a.compareDocumentPosition(b) & 4 ? -1 : 1; + }; + +} else { + sortOrder = function( a, b ) { + // The nodes are identical, we can exit early + if ( a === b ) { + hasDuplicate = true; + return 0; + + // Fallback to using sourceIndex (in IE) if it's available on both nodes + } else if ( a.sourceIndex && b.sourceIndex ) { + return a.sourceIndex - b.sourceIndex; + } + + var al, bl, + ap = [], + bp = [], + aup = a.parentNode, + bup = b.parentNode, + cur = aup; + + // If the nodes are siblings (or identical) we can do a quick check + if ( aup === bup ) { + return siblingCheck( a, b ); + + // If no parents were found then the nodes are disconnected + } else if ( !aup ) { + return -1; + + } else if ( !bup ) { + return 1; + } + + // Otherwise they're somewhere else in the tree so we need + // to build up a full list of the parentNodes for comparison + while ( cur ) { + ap.unshift( cur ); + cur = cur.parentNode; + } + + cur = bup; + + while ( cur ) { + bp.unshift( cur ); + cur = cur.parentNode; + } + + al = ap.length; + bl = bp.length; + + // Start walking down the tree looking for a discrepancy + for ( var i = 0; i < al && i < bl; i++ ) { + if ( ap[i] !== bp[i] ) { + return siblingCheck( ap[i], bp[i] ); + } + } + + // We ended someplace up the tree so do a sibling check + return i === al ? + siblingCheck( a, bp[i], -1 ) : + siblingCheck( ap[i], b, 1 ); + }; + + siblingCheck = function( a, b, ret ) { + if ( a === b ) { + return ret; + } + + var cur = a.nextSibling; + + while ( cur ) { + if ( cur === b ) { + return -1; + } + + cur = cur.nextSibling; + } + + return 1; + }; +} + +// Utility function for retreiving the text value of an array of DOM nodes +Sizzle.getText = function( elems ) { + var ret = "", elem; + + for ( var i = 0; elems[i]; i++ ) { + elem = elems[i]; + + // Get the text from text nodes and CDATA nodes + if ( elem.nodeType === 3 || elem.nodeType === 4 ) { + ret += elem.nodeValue; + + // Traverse everything else, except comment nodes + } else if ( elem.nodeType !== 8 ) { + ret += Sizzle.getText( elem.childNodes ); + } + } + + return ret; +}; + +// Check to see if the browser returns elements by name when +// querying by getElementById (and provide a workaround) +(function(){ + // We're going to inject a fake input element with a specified name + var form = document.createElement("div"), + id = "script" + (new Date()).getTime(), + root = document.documentElement; + + form.innerHTML = ""; + + // Inject it into the root element, check its status, and remove it quickly + root.insertBefore( form, root.firstChild ); + + // The workaround has to do additional checks after a getElementById + // Which slows things down for other browsers (hence the branching) + if ( document.getElementById( id ) ) { + Expr.find.ID = function( match, context, isXML ) { + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + + return m ? + m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? + [m] : + undefined : + []; + } + }; + + Expr.filter.ID = function( elem, match ) { + var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); + + return elem.nodeType === 1 && node && node.nodeValue === match; + }; + } + + root.removeChild( form ); + + // release memory in IE + root = form = null; +})(); + +(function(){ + // Check to see if the browser returns only elements + // when doing getElementsByTagName("*") + + // Create a fake element + var div = document.createElement("div"); + div.appendChild( document.createComment("") ); + + // Make sure no comments are found + if ( div.getElementsByTagName("*").length > 0 ) { + Expr.find.TAG = function( match, context ) { + var results = context.getElementsByTagName( match[1] ); + + // Filter out possible comments + if ( match[1] === "*" ) { + var tmp = []; + + for ( var i = 0; results[i]; i++ ) { + if ( results[i].nodeType === 1 ) { + tmp.push( results[i] ); + } + } + + results = tmp; + } + + return results; + }; + } + + // Check to see if an attribute returns normalized href attributes + div.innerHTML = ""; + + if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" && + div.firstChild.getAttribute("href") !== "#" ) { + + Expr.attrHandle.href = function( elem ) { + return elem.getAttribute( "href", 2 ); + }; + } + + // release memory in IE + div = null; +})(); + +if ( document.querySelectorAll ) { + (function(){ + var oldSizzle = Sizzle, + div = document.createElement("div"), + id = "__sizzle__"; + + div.innerHTML = "

    "; + + // Safari can't handle uppercase or unicode characters when + // in quirks mode. + if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) { + return; + } + + Sizzle = function( query, context, extra, seed ) { + context = context || document; + + // Only use querySelectorAll on non-XML documents + // (ID selectors don't work in non-HTML documents) + if ( !seed && !Sizzle.isXML(context) ) { + // See if we find a selector to speed up + var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query ); + + if ( match && (context.nodeType === 1 || context.nodeType === 9) ) { + // Speed-up: Sizzle("TAG") + if ( match[1] ) { + return makeArray( context.getElementsByTagName( query ), extra ); + + // Speed-up: Sizzle(".CLASS") + } else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) { + return makeArray( context.getElementsByClassName( match[2] ), extra ); + } + } + + if ( context.nodeType === 9 ) { + // Speed-up: Sizzle("body") + // The body element only exists once, optimize finding it + if ( query === "body" && context.body ) { + return makeArray( [ context.body ], extra ); + + // Speed-up: Sizzle("#ID") + } else if ( match && match[3] ) { + var elem = context.getElementById( match[3] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id === match[3] ) { + return makeArray( [ elem ], extra ); + } + + } else { + return makeArray( [], extra ); + } + } + + try { + return makeArray( context.querySelectorAll(query), extra ); + } catch(qsaError) {} + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + var oldContext = context, + old = context.getAttribute( "id" ), + nid = old || id, + hasParent = context.parentNode, + relativeHierarchySelector = /^\s*[+~]/.test( query ); + + if ( !old ) { + context.setAttribute( "id", nid ); + } else { + nid = nid.replace( /'/g, "\\$&" ); + } + if ( relativeHierarchySelector && hasParent ) { + context = context.parentNode; + } + + try { + if ( !relativeHierarchySelector || hasParent ) { + return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra ); + } + + } catch(pseudoError) { + } finally { + if ( !old ) { + oldContext.removeAttribute( "id" ); + } + } + } + } + + return oldSizzle(query, context, extra, seed); + }; + + for ( var prop in oldSizzle ) { + Sizzle[ prop ] = oldSizzle[ prop ]; + } + + // release memory in IE + div = null; + })(); +} + +(function(){ + var html = document.documentElement, + matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector; + + if ( matches ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9 fails this) + var disconnectedMatch = !matches.call( document.createElement( "div" ), "div" ), + pseudoWorks = false; + + try { + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( document.documentElement, "[test!='']:sizzle" ); + + } catch( pseudoError ) { + pseudoWorks = true; + } + + Sizzle.matchesSelector = function( node, expr ) { + // Make sure that attribute selectors are quoted + expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); + + if ( !Sizzle.isXML( node ) ) { + try { + if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) { + var ret = matches.call( node, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || !disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9, so check for that + node.document && node.document.nodeType !== 11 ) { + return ret; + } + } + } catch(e) {} + } + + return Sizzle(expr, null, null, [node]).length > 0; + }; + } +})(); + +(function(){ + var div = document.createElement("div"); + + div.innerHTML = "
    "; + + // Opera can't find a second classname (in 9.6) + // Also, make sure that getElementsByClassName actually exists + if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) { + return; + } + + // Safari caches class attributes, doesn't catch changes (in 3.2) + div.lastChild.className = "e"; + + if ( div.getElementsByClassName("e").length === 1 ) { + return; + } + + Expr.order.splice(1, 0, "CLASS"); + Expr.find.CLASS = function( match, context, isXML ) { + if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { + return context.getElementsByClassName(match[1]); + } + }; + + // release memory in IE + div = null; +})(); + +function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + + if ( elem ) { + var match = false; + + elem = elem[dir]; + + while ( elem ) { + if ( elem.sizcache === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 && !isXML ){ + elem.sizcache = doneName; + elem.sizset = i; + } + + if ( elem.nodeName.toLowerCase() === cur ) { + match = elem; + break; + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + + if ( elem ) { + var match = false; + + elem = elem[dir]; + + while ( elem ) { + if ( elem.sizcache === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 ) { + if ( !isXML ) { + elem.sizcache = doneName; + elem.sizset = i; + } + + if ( typeof cur !== "string" ) { + if ( elem === cur ) { + match = true; + break; + } + + } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) { + match = elem; + break; + } + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +if ( document.documentElement.contains ) { + Sizzle.contains = function( a, b ) { + return a !== b && (a.contains ? a.contains(b) : true); + }; + +} else if ( document.documentElement.compareDocumentPosition ) { + Sizzle.contains = function( a, b ) { + return !!(a.compareDocumentPosition(b) & 16); + }; + +} else { + Sizzle.contains = function() { + return false; + }; +} + +Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement; + + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +var posProcess = function( selector, context ) { + var match, + tmpSet = [], + later = "", + root = context.nodeType ? [context] : context; + + // Position selectors must be done after the filter + // And so must :not(positional) so we move all PSEUDOs to the end + while ( (match = Expr.match.PSEUDO.exec( selector )) ) { + later += match[0]; + selector = selector.replace( Expr.match.PSEUDO, "" ); + } + + selector = Expr.relative[selector] ? selector + "*" : selector; + + for ( var i = 0, l = root.length; i < l; i++ ) { + Sizzle( selector, root[i], tmpSet ); + } + + return Sizzle.filter( later, tmpSet ); +}; + +// EXPOSE +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.filters; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + +})(); + + +var runtil = /Until$/, + rparentsprev = /^(?:parents|prevUntil|prevAll)/, + // Note: This RegExp should be improved, or likely pulled from Sizzle + rmultiselector = /,/, + isSimple = /^.[^:#\[\.,]*$/, + slice = Array.prototype.slice, + POS = jQuery.expr.match.POS, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend({ + find: function( selector ) { + var self = this, + i, l; + + if ( typeof selector !== "string" ) { + return jQuery( selector ).filter(function() { + for ( i = 0, l = self.length; i < l; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }); + } + + var ret = this.pushStack( "", "find", selector ), + length, n, r; + + for ( i = 0, l = this.length; i < l; i++ ) { + length = ret.length; + jQuery.find( selector, this[i], ret ); + + if ( i > 0 ) { + // Make sure that the results are unique + for ( n = length; n < ret.length; n++ ) { + for ( r = 0; r < length; r++ ) { + if ( ret[r] === ret[n] ) { + ret.splice(n--, 1); + break; + } + } + } + } + } + + return ret; + }, + + has: function( target ) { + var targets = jQuery( target ); + return this.filter(function() { + for ( var i = 0, l = targets.length; i < l; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + not: function( selector ) { + return this.pushStack( winnow(this, selector, false), "not", selector); + }, + + filter: function( selector ) { + return this.pushStack( winnow(this, selector, true), "filter", selector ); + }, + + is: function( selector ) { + return !!selector && ( typeof selector === "string" ? + jQuery.filter( selector, this ).length > 0 : + this.filter( selector ).length > 0 ); + }, + + closest: function( selectors, context ) { + var ret = [], i, l, cur = this[0]; + + // Array + if ( jQuery.isArray( selectors ) ) { + var match, selector, + matches = {}, + level = 1; + + if ( cur && selectors.length ) { + for ( i = 0, l = selectors.length; i < l; i++ ) { + selector = selectors[i]; + + if ( !matches[ selector ] ) { + matches[ selector ] = POS.test( selector ) ? + jQuery( selector, context || this.context ) : + selector; + } + } + + while ( cur && cur.ownerDocument && cur !== context ) { + for ( selector in matches ) { + match = matches[ selector ]; + + if ( match.jquery ? match.index( cur ) > -1 : jQuery( cur ).is( match ) ) { + ret.push({ selector: selector, elem: cur, level: level }); + } + } + + cur = cur.parentNode; + level++; + } + } + + return ret; + } + + // String + var pos = POS.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( i = 0, l = this.length; i < l; i++ ) { + cur = this[i]; + + while ( cur ) { + if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { + ret.push( cur ); + break; + + } else { + cur = cur.parentNode; + if ( !cur || !cur.ownerDocument || cur === context || cur.nodeType === 11 ) { + break; + } + } + } + } + + ret = ret.length > 1 ? jQuery.unique( ret ) : ret; + + return this.pushStack( ret, "closest", selectors ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + var set = typeof selector === "string" ? + jQuery( selector, context ) : + jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), + all = jQuery.merge( this.get(), set ); + + return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? + all : + jQuery.unique( all ) ); + }, + + andSelf: function() { + return this.add( this.prevObject ); + } +}); + +// A painfully simple check to see if an element is disconnected +// from a document (should be improved, where feasible). +function isDisconnected( node ) { + return !node || !node.parentNode || node.parentNode.nodeType === 11; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return jQuery.nth( elem, 2, "nextSibling" ); + }, + prev: function( elem ) { + return jQuery.nth( elem, 2, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( elem.parentNode.firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.makeArray( elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ), + // The variable 'args' was introduced in + // https://github.com/jquery/jquery/commit/52a0238 + // to work around a bug in Chrome 10 (Dev) and should be removed when the bug is fixed. + // http://code.google.com/p/v8/issues/detail?id=1050 + args = slice.call(arguments); + + if ( !runtil.test( name ) ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; + + if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + + return this.pushStack( ret, name, args.join(",") ); + }; +}); + +jQuery.extend({ + filter: function( expr, elems, not ) { + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 ? + jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : + jQuery.find.matches(expr, elems); + }, + + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + nth: function( cur, result, dir, elem ) { + result = result || 1; + var num = 0; + + for ( ; cur; cur = cur[dir] ) { + if ( cur.nodeType === 1 && ++num === result ) { + break; + } + } + + return cur; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, keep ) { + + // Can't pass null or undefined to indexOf in Firefox 4 + // Set to 0 to skip string check + qualifier = qualifier || 0; + + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep(elements, function( elem, i ) { + var retVal = !!qualifier.call( elem, i, elem ); + return retVal === keep; + }); + + } else if ( qualifier.nodeType ) { + return jQuery.grep(elements, function( elem, i ) { + return (elem === qualifier) === keep; + }); + + } else if ( typeof qualifier === "string" ) { + var filtered = jQuery.grep(elements, function( elem ) { + return elem.nodeType === 1; + }); + + if ( isSimple.test( qualifier ) ) { + return jQuery.filter(qualifier, filtered, !keep); + } else { + qualifier = jQuery.filter( qualifier, filtered ); + } + } + + return jQuery.grep(elements, function( elem, i ) { + return (jQuery.inArray( elem, qualifier ) >= 0) === keep; + }); +} + + + + +var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, + rtagName = /<([\w:]+)/, + rtbody = /" ], + legend: [ 1, "
    ", "
    " ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + col: [ 2, "", "
    " ], + area: [ 1, "", "" ], + _default: [ 0, "", "" ] + }; + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// IE can't serialize and + + diff --git a/flB-firebug/firebug2.html b/flB-firebug/firebug2.html new file mode 100644 index 0000000..f3aef20 --- /dev/null +++ b/flB-firebug/firebug2.html @@ -0,0 +1,18 @@ + + + + Firebug + + + + + + + diff --git a/flB-firebug/firebug3.html b/flB-firebug/firebug3.html new file mode 100644 index 0000000..a44ffbf --- /dev/null +++ b/flB-firebug/firebug3.html @@ -0,0 +1,26 @@ + + + + Firebug + + + + + + + + + + diff --git a/flB-firebug/firebug4.html b/flB-firebug/firebug4.html new file mode 100644 index 0000000..4e446ba --- /dev/null +++ b/flB-firebug/firebug4.html @@ -0,0 +1,19 @@ + + + + Firebug + + + + + +
    +
    + + + + diff --git a/flB-firebug/firebug4.php b/flB-firebug/firebug4.php new file mode 100644 index 0000000..911aa21 --- /dev/null +++ b/flB-firebug/firebug4.php @@ -0,0 +1,6 @@ +$value){ + echo "\n$param=$value"; + } +?> diff --git a/flB-firebug/firebug5.html b/flB-firebug/firebug5.html new file mode 100644 index 0000000..3db3d8e --- /dev/null +++ b/flB-firebug/firebug5.html @@ -0,0 +1,35 @@ + + + + Firebug + + + + + +
    + 测试
    + 测试
    + 测试 +
    +
    + + + +
    + + + diff --git a/flB-firebug/firebug6.html b/flB-firebug/firebug6.html new file mode 100644 index 0000000..c7f099c --- /dev/null +++ b/flB-firebug/firebug6.html @@ -0,0 +1,30 @@ + + + + Firebug + + + + + + + + +
    + 测试
    + 测试
    + 测试 +
    +
    + + + +
    + + diff --git a/flB-firebug/firebug7.html b/flB-firebug/firebug7.html new file mode 100644 index 0000000..3b1d66f --- /dev/null +++ b/flB-firebug/firebug7.html @@ -0,0 +1,18 @@ + + + +Javascript Debugging with Firebug + + + +
    +
    + +
    + + \ No newline at end of file diff --git a/flB-firebug/firebug8.html b/flB-firebug/firebug8.html new file mode 100644 index 0000000..e3a3919 --- /dev/null +++ b/flB-firebug/firebug8.html @@ -0,0 +1,21 @@ + + + +Javascript Debugging with Firebug + + + +
    +
    + +
    + + \ No newline at end of file diff --git "a/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/dots.png" "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/dots.png" new file mode 100644 index 0000000..2731a9d Binary files /dev/null and "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/dots.png" differ diff --git "a/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/left.png" "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/left.png" new file mode 100644 index 0000000..bb9c9a7 Binary files /dev/null and "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/left.png" differ diff --git "a/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/right.png" "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/right.png" new file mode 100644 index 0000000..469a229 Binary files /dev/null and "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/right.png" differ diff --git "a/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/scrollable.css" "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/scrollable.css" new file mode 100644 index 0000000..60ef014 --- /dev/null +++ "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/css/scrollable.css" @@ -0,0 +1,66 @@ +/* outmost wrapper element, containing all elements */ +#scrollable { + background-color:#efefef; + border:1px solid #ddd; + padding:10px 8px; + width:523px; + height:65px; + margin-top:30px; +} + +/* container for the scrollable items */ +div.items { + height:66px; + margin-left:8px; + float:left; + width:475px !important; +} + +/* single item */ +div.items a { + display:block; + float:left; + margin-right:8px; + width:88px; + height:66px; + background:#BBB; + font-size:50px; + color:#ccc; + line-height:66px; + text-decoration:none; + text-align:center; + cursor:pointer; +} + +div.items a:hover { + color:#999; +} + +div.items a.active { + background-position:-174px 0; + color:#555; + cursor:default; +} + +/* next / prev buttons */ +a.prev, a.next { + background:url(left.png) no-repeat 0 0; + display:block; + width:18px; + height:18px; + float:left; + margin:22px 0 0 0; + cursor:pointer; +} + +a.next { + background-image:url(right.png) +} + +a.prev:hover { + background-position:0 -18px; +} + +a.next:hover { + background-position:0 -18px; +} diff --git "a/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/demo.html" "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/demo.html" new file mode 100644 index 0000000..390bd7c --- /dev/null +++ "b/flB-firebug/\346\232\227\347\256\261\346\223\215\344\275\234/demo.html" @@ -0,0 +1,71 @@ + + + + + + + + + + + + +
    + + +
    + + +
    +
    + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 +
    +
    +
    + + +
    + +
    + + \ No newline at end of file diff --git a/flE-AjaxXML/ajax.xml b/flE-AjaxXML/ajax.xml new file mode 100644 index 0000000..efd2f59 --- /dev/null +++ b/flE-AjaxXML/ajax.xml @@ -0,0 +1,11 @@ + + + + zhangsan + 1 + + + lisi + 2 + + \ No newline at end of file diff --git a/flE-AjaxXML/demo.html b/flE-AjaxXML/demo.html new file mode 100644 index 0000000..17c3eda --- /dev/null +++ b/flE-AjaxXML/demo.html @@ -0,0 +1,50 @@ + + + + new document + + + + + + + +
    + +