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:
- color
- behavior
- etc.
- onmouseover
- onmouseout
<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
Tidak ada komentar:
Posting Komentar
Harap tinggalkan komentar jika terdapat tautan yang rusak atau bertanya seputar artikel ini!