File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 40
40
1 . [ Ajax调用错误处理] ( #ajax-call-error-handling )
41
41
1 . [ 连锁插件调用] ( #chain-plugin-calls )
42
42
1 . [ 排序列表项按字母顺序] ( #sort-list-items-alphabetically )
43
- 1 . [ 禁用右鍵單擊 ] ( #disable-right-click )
43
+ 1 . [ 禁用右键单击 ] ( #禁用右键单击 )
44
44
45
45
46
46
<div id =" use-noconflict " ></div >
@@ -524,23 +524,24 @@ ul.append(lis);
524
524
525
525
<div id =" disable-right-click " ></div >
526
526
527
- ### 禁用右鍵單擊
527
+ ### 禁用右键单击
528
528
529
- 如果要禁用右鍵單擊,您可以對整個頁面進行操作...
529
+
530
+ 如果要禁用右键单击,您可以对整个页面进行操作...
530
531
531
532
``` javascript
532
- $ (document ).ready (function (){
533
- $ (document ).bind (' contextmenu' , function (e ){
533
+ $ (document ).ready (function () {
534
+ $ (document ).bind (' contextmenu' , function (e ) {
534
535
return false ;
535
536
})
536
537
})
537
538
```
538
539
539
- ...但是您也可以為特定元素做同樣的事情 :
540
+ ...但是您也可以为特定元素做同样的事情 :
540
541
541
542
``` javascript
542
- $ (document ).ready (function (){
543
- $ (' #submit' ).bind (' contextmenu' , function (e ){
543
+ $ (document ).ready (function () {
544
+ $ (' #submit' ).bind (' contextmenu' , function (e ) {
544
545
return false ;
545
546
})
546
547
})
Original file line number Diff line number Diff line change 36
36
1 . [ Ajax 程序的錯誤處理] ( #ajax-程序的錯誤處理 )
37
37
1 . [ 串連 Plugin 的函式呼叫] ( #串連-plugin-的函式呼叫 )
38
38
1 . [ 照字母順序排序清單元素(list)] ( #照字母順序排清單元素list )
39
- 1 . [ 禁用右键单击 ] ( #禁用右键单击 )
39
+ 1 . [ 停用右鍵 ] ( #停用右鍵 )
40
40
41
41
42
42
### 使用 ` noConflict() `
@@ -474,11 +474,9 @@ ul.append(lis);
474
474
475
475
<sup >[ 回到目錄] ( #目錄 ) </sup >
476
476
477
+ ### 停用右鍵
477
478
478
- ### 禁用右键单击
479
-
480
-
481
- 如果要禁用右键单击,您可以对整个页面进行操作...
479
+ 如果要停用右鍵,您可以對整個頁面這麼做...
482
480
483
481
``` javascript
484
482
$ (document ).ready (function () {
@@ -488,7 +486,7 @@ $(document).ready(function () {
488
486
})
489
487
```
490
488
491
- ...但是您也可以为特定元素做同样的事情 :
489
+ ...而您也可以為特定元素做同樣的事情 :
492
490
493
491
``` javascript
494
492
$ (document ).ready (function () {
You can’t perform that action at this time.
0 commit comments