Ask Question in MZ User
3

HTML5 section

Posted May 25th, 2010 in Knowledgebase, nothing and tagged by saturngod

HTML 5 section ကို ဒီေန႕မွ စမ္းၾကည့္တယ္။ ေတာ္ေတာ္မိုက္တာပဲ။ contenteditable ကို အၾကိဳက္ဆံုးပဲ အရင္က content ေတြကို editable ျဖစ္ဖို႕ jquery နဲ႕ ေရးရတယ္။ အခုေတာ့ လြယ္ပါ့။ editable ျဖစ္ခ်င္ရင္ contenteditable ကို true ေပးလုိက္ရံုပဲ။ jquery နဲ႕ ေပါင္းျပီး သံုးလိုက္ေတာ့ inline edition က အရမ္းလြယ္သြားျပီ။

<section contenteditable="true">ဒီစာကို ျပင္လုိ႕ရတယ္။</section>

HTML5 ကို သေဘာက်ျပီး က်လာတာေတာ့ အမွန္ပဲ။


3 Responses so far.

  1. leo says:

    အက်ယ္တစ္ခုေလာက္ ပို့စ္တင္ေပးမလား

    • saturngod says:

      contenteditable="true" က div layer ေတြမွာလည္း အသံုးျပဳလို႕ရပါတယ္။ section ဆိုတာကလည္း div id="section" ဆိုတဲ့အစား section ဆိုျပီး tag တစ္ခုျဖစ္လာတာပဲ ရိွတာေလ။

  2. Emily says:

    contenteditable="true" က div layer ေတြမွာလည္း အသံုးျပဳလို႕ရပါတယ္။ section ဆိုတာကလည္း div id="section" ဆိုတဲ့အစား section ဆိုျပီး tag တစ္ခုျဖစ္လာတာပဲ ရိွတာေလ။

Leave a Reply