The HTML Code is one of many blog's builder. Today, I will share to you about
marquee code. A marquee is a walking text in a place of a blog. For example is below:
The above marquee text has code. The code is
<marquee>...</marquee>. For more information, please search by yourself on Google,
here.
And as you know, I don't discuss about marquee text too much. And back to our topic,
how to stop marquee text when cursor moving.
In the HTML coding, there are many codes which performs different actions, for example:
But we don't use code above [ color ; behavior ]. But we use:
To stop the marquee when cursor over, you can add
onmouseover="stop()" code. Look below!
<marquee onmouseover="stop()">
And to start the marquee when mouse is out, add
onmouseout="start()" after code above.
<marquee onmouseover="stop()" onmouseout="start()">
If you're success, the result will appear as below:
So easy, huh? Happy coding :D