ကြၽန္ေတာ္တုိ႕ Blog မွာ စာတန္းေလးေတြ ေျပးေနတာကုိ ျမင္ဘူးက်မွာပါ၊ အဲဒီလုိ ကုိ႕ blogမွာ ထည္႔ခ်င္တယ္ဆုိရင္ေတာ႕ ေအာက္က နမႈနာ code ေတြကုိ ထည္႕သြင္း အသုံးျပဳၾကည္႔ပါ၊
<marquee behavior="scroll" direction="left">Left ဘက္ကေန႔ စာတန္းေျပတာကုိ ေရးနည္းျဖစ္ပါတယ္ </marquee>
ေအာက္က marquee ကုိၾကည္႔ပါ။
<marquee behavior="scroll" direction="left">Left ဘက္ကေန႔ စာတန္းေျပတာကုိ ေရးနည္းျဖစ္ပါတယ္ </marquee>
<marquee behavior="scroll" direction="up">ေအာက္ကေန စာတန္းေတြ ေျပးနည္းျဖစ္ပါတယ္</marquee>
Marguee (3) ခုကုိ ေပါင္းေရးထားတာျဖစ္ပါတယ္။ ပထမတစ္ခုက အေႏွး၊ ဒုတိယ တစ္ခုက အလယ္အလတ္၊ တတိယတစ္ခုက အျမန္ျဖစ္ပါတယ္
<marquee behavior="scroll" direction="left" scrollamount="1">ေႏွးေႏွးေလးသြားမယ္</marquee>
<marquee behavior="scroll" direction="left" scrollamount="10">အလယ္အလက္သြားမယ္</marquee>
<marquee behavior="scroll" direction="left" scrollamount="20">ျမန္ျမန္သြားမယ္</marquee>
မိမိတုိ႕ပုံေလးေတြ ေျပးခ်င္တယ္ဆုိရင္ေတာ႕ ေအာက္က code ေတြကုိ အသုံးျပဳႏုိင္ပါတယ္။ direction မ်ားကုိေတာ႕ စိတ္ၾကိဳက္ အေပၚက ဥပမာ မ်ားအတုိင္း ေျပာင္းလည္အသုံးျပဳႏုိင္ပါသည္.
<marquee behavior="scroll" direction="left"><img src="http://files.myopera.com/velmu/albums/35829/thumbs/picture.jpeg_thumb.jpg" width="100" height="100" alt="smile" /></marquee>
0 comments:
Post a Comment