Blogger Widgets

ျမန္မာ

မဂ္လာပါanyataya.poet@gmail.com
မဂ္လာပါ... အညတရ ပရဟိတ ဆိုဒ္ေလးသို႔ ေရာက္လာခဲ့ေသာ သူငယ္ခ်င္း ညီအကို ေမာင္ႏွမအားလံုးကို လိုက္လွည္းပ်ဴငွာေႏြးေထြးစြားၾကိဳဆိုပါ၏.. ကြ်န္ေတာ္ အညတရ ေတာ္လြန္းတတ္လြန္း ေနလို႔ ဒီဆိုဒ္ေလးကို တည္ေထာင္ခဲ့ရတာမဟုတ္ပါဘူး ဘာမွမသိ့ဘာမွမတတ္ပဲ ေယာင္၀ါး၀ါး စမ္းတ၀ါး၀ါး နဲ႔ ယိုင္နဲ႔နဲ႔ တည္ေဆာက္ေနတာပါ အမွား အယြန္းမ်ား ရွိခဲ့ရင္ သြန္သင္ညႊန္ျပေပးေစးလိုပါတယ္ အားလံုးကိုခ်စ္တဲ့ အညတရ
မင္းႏွင္းသစ္
Blogger Tips And Tricks|Latest Tips For BloggersFree BacklinksBlogger Tips And Tricks
....

Sunday, February 17, 2013

marquee

Making your blog or Website attractive is a very tough and complicated task. Most developers uses JavaScript and CSS to design more relevant webpages. Instead of JavaScript there are some predefined tags in HTML to provide best User Interface in your website. In this series, I will tell you how to make webpages more interactive using light and predefined HTML  tags. In the first part of this i am telling how to use the most popular HTML tag Marquee in your website to make it more User friendly. The main use of marquee tag is to provide sliding effect, dynamically. You can make text/image scroll from left to right, top to bottom and vice versa respectively. So Let`s start with <Marquee> tag.

There are various flow of marquee like scroll, up, down, slide. I will explain one by one.The simplest form to write Marquee tag is
<marquee> your text </marquee>
Instead of it, there are various attribute of marquee tags are
  • Behavior (Slide, Scroll, alternate)
  • Direction (Up,Down , Left, Right)
  • scrollamount (time in seconds)
  • scrolldelay (time in seconds)

1.Marquee Scrolling Text

Your ScrollingText

<!-- HTML codes by Probloggingtools.com -->
<marquee behavior="scroll" direction="left">Your ScrollingText</marquee>

Change the direction properties to right for scrolling it to right.

2.Marquee Sliding Text

Your Sliding Text
<marquee behavior="slide" direction="left">Your sliding text</marquee>
Change the direction attribute for sliding direction.

3.Marquee Bouncing Text

Your Bouncing Text
<marquee behavior="alternate" direction="left">Your Bouncing Text</marquee>

4.Marquee in Up and Down direction 

Your ScrollingText
<marquee behavior="scroll" direction="up">Your ScrollingText</marquee>

5.Marquee Scrolling Speed

Your Slow Speed Text
Your Medium Speed Text
Your Fast Speed Text
<marquee behavior="scroll" direction="left" scrollamount="1">Your Slow Speed Text</marquee> <br />
<marquee behavior="scroll" direction="left" scrollamount="10">Your Medium Speed Text</marquee><br />
<marquee behavior="scroll" direction="left" scrollamount="20">Your Fast Speed Text</marquee>

6.Marquee Scrolldelay attribute

scrolldelay attribute is used to scroll the text or image after some delay. It take time in second to pause the scrolling of the marquee.
Your Slow Speed Text
<marquee behavior="scroll" direction="left" scrollamount="50" scrolldelay='500'>Your Slow Speed Text</marquee>

6.Marquee in Images

You can use any Image tag in between <marquee> </marquee> tags to scroll images. All the other properties are same. See this example.
 
<marquee behavior="scroll" direction="left"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi2Er0Iqh-JTrqPMha0uCeTMttYcsPJPss0S9X143BWc3UAUWZaKZS4jG1JD48rfWrCBiXFxWfi0m3qAizQDyivKBtZEQgGg0IkE53tvwk0h5y7pdxK7mmdfs9vg9wLsxAZtYRvZ3O6qiC/s72/icon1.png" />&nbsp;</marquee>

I hope with the help of this tutorials, you can create cool and awesome sliding text for your blog. In next tutorials, i will explain  how to use stop and start in marquee tags. 

0 comments:

Post a Comment

Blogger news


Flag Counter