How to program a creeping line
Creeping line. Using the tag: marquee.
Hello dear readers!
Today I will tell you how to make a scrolling line or an image using the marquee tag.
In the wordpress text editor, click the text tab and enter the html code in the right place
We get like this:
The marquee tag makes the line or image scroll, the closing / </marquee> tag is required.
behavior=”alternate” the text moves between the right and left margins
scrollamount=”5″ sets the speed of movement.
bgcolor=”bc4dfff” sets the background color.
<span style=”font-family: arial, helvetica, sans-serif; font-size: 24px; color: #ff6600;”> sets the style, size and color of the text.
Hexadecimal colors do not need to be chosen empirically. For this purpose, the graphic editor inkscape or any other one capable of working with different color models is suitable.
I make a picture in motion from left to right endlessly
behavior=”scroll” The image scrolls over and over.
direction=”right” specifies movement to the right.
onmouseover=”this.stop()” onmouseout=”this.start()” freezes the picture on mouse hover.
make a picture in motion from left to right a limited number of times with a stop on the right.
behavior=”slide” the picture moves from left to right and stops on the right.
loop=”10″ sets the number of passes to stop.
Move to the left:
direction=”left” movement to the left.
down movement from top to bottom.
right movement to the right.
up upward movement.
That’s all ! Everything is simple and affordable.All happiness, success, health!
Likes, links, tweets and comments are welcome.
Did you like the post? Ticker. Help others to learn about this article by clicking on the social media button
Feedback on the project ‘My first blog’.
Leave a Reply