Pages - পৃষ্ঠাসমূহ

marquee tutorial in html and javascript

Latest news in various websites are used in marquee way. This post learn this marque tag in html. How it works and how to define it. More recent uses , more attractive things and highlighted anything marquee is sometimes necessary. It is simple task and simple way to declare.

Hide Example Show Example
Taslim is a good boy.

how to decalre Marquee

           Syntax : <marque></marquee>

Other attributes:

           behaviour=scroll || slide || alternate
           direction= up || right || down || left
           scrollamount= any number

On Javascript:

           stop = this.stop();
           start = this.start()

Marquee in style

This simple marquee syntax will more feturable using javascript tag. When hover on th marquee the marquee is stop and when remobue over the marquee the marquee is again run.
 <marquee behavior="scroll" direction="right" scrollamount="25" onmouseover="this.stop()" onmouseout="this.start()">
  Taslim is a good boy.
 </marquee>

No comments:

Post a Comment