jQuery ကျူတိုရီရယ်

jQuery ပင်မစာမျက်နှာ jQuery မိတ်ဆက် jQuery စတင်လိုက်ပါ။ jQuery Syntax jQuery ရွေးချယ်မှုများ jQuery ပွဲများ

jQuery အကျိုးသက်ရောက်မှုများ

jQuery ဖျောက်/ပြပါ။ jQuery အရောင်မှိန်ခြင်း။ jQuery Slide jQuery Animate jQuery stop() jQuery ပြန်ခေါ်ပါ။ jQuery ချိတ်ဆက်ခြင်း။

jQuery HTML

jQuery ကိုရယူပါ။ jQuery သတ်မှတ် jQuery ကိုထည့်ပါ။ jQuery ကိုဖယ်ရှားပါ။ jQuery CSS အတန်းများ jQuery css() jQuery အတိုင်းအတာများ

jQuery လမ်းလျှောက်ခြင်း။

jQuery လမ်းလျှောက်ခြင်း။ jQuery ဘိုးဘေးများ jQuery မျိုးဆက်များ jQuery မောင်နှမများ jQuery စစ်ထုတ်ခြင်း။

jQuery AJAX

jQuery AJAX နိဒါန်း jQuery Load jQuery Get/Post

jQuery ထွေ

jQuery noConflict() jQuery စစ်ထုတ်မှုများ

jQuery ဥပမာများ

jQuery ဥပမာများ jQuery စာမေးပွဲ jQuery လေ့ကျင့်ခန်းများ jQuery လက်မှတ်

jQuery ကိုးကားချက်များ

jQuery ခြုံငုံသုံးသပ်ချက် jQuery ရွေးချယ်မှုများ jQuery ပွဲများ jQuery အကျိုးသက်ရောက်မှုများ jQuery HTML/CSS jQuery လမ်းလျှောက်ခြင်း။ jQuery AJAX jQuery ထွေ jQuery ဂုဏ်သတ္တိများ

jQuery Effect show() နည်းလမ်း

❮ jQuery Effect နည်းလမ်းများ

ဥပမာ

လျှို့ဝှက် <p> အစိတ်အပိုင်းအားလုံးကို ပြပါ-

$("button").click(function(){
  $("p").show();
});

အဓိပ္ပါယ်နှင့် အသုံးပြုမှု

show() method သည် ဝှက်ထားသော၊ ရွေးချယ်ထားသော အစိတ်အပိုင်းများကို ပြသသည်။

မှတ်ချက်- show() သည် jQuery နည်းလမ်းများဖြင့် ဝှက်ထားသော ဒြပ်စင်များပေါ်တွင် အလုပ်လုပ်ပြီး display-CSS တွင် မရှိပါ။ (သို့သော် မြင်နိုင်မှု-hidden မဟုတ်ပါ။)

အကြံပြုချက်- ဒြပ်စင်များကို ဝှက်ရန်၊ hide() နည်းလမ်းကို ကြည့်ပါ။


အထားအသို

$(selector).show(speed,easing,callback)

Parameter Description
speed Optional. Specifies the speed of the show effect. Default value is 400 milliseconds

Possible values:

  • milliseconds
  • "slow"
  • "fast"
easing Optional. Specifies the speed of the element in different points of the animation. Default value is "swing"

Possible values:

  • "swing" - moves slower at the beginning/end, but faster in the middle
  • "linear" - moves in a constant speed
Tip: More easing functions are available in external plugins
callback Optional. A function to be executed after the show() method is completed

To learn more about callback, visit our jQuery Callback chapter


သင်ကိုယ်တိုင်စမ်းကြည့်ပါ - ဥပမာများ


ဒြပ်စင်တစ်ခုအား ဖုံးကွယ်/ပြသသည့်အခါ အမြန်နှုန်း ကန့်သတ်ဘောင်ကို အသုံးပြုနည်း။


ကိုအသုံးပြု၍ element တစ်ခုကို ဝှက်ထား/ပြသသည့်အခါ callback parameter ကိုအသုံးပြုနည်း။


❮ jQuery Effect နည်းလမ်းများ