Written by
Daniel Likin
The scrolling text has always been used by bloggers mostly to make a scrolling menu on their blogs. By adding this scrolling text box to your blog, you will finally have a great place on placing lots of links or texts without consuming lots of space in your blog. This scrolling text will be automatically shown to you when the remaining element of your chosen text can't be possibly shown. But if you don't understand with what i'm talking about, now look at the scrolling text below!
1. How to blog?
2. How to cook?
3. How to play guitar?
4. How to kick the ball?
5. How to blog?
6. How to cook?
7. How to play guitar?
8. How to kick the ball?
2. How to cook?
3. How to play guitar?
4. How to kick the ball?
5. How to blog?
6. How to cook?
7. How to play guitar?
8. How to kick the ball?
As you can see in that scrolling text above, the sentences "How to blog?", How to cook?", "How to kick the ball" and "How to play guitar?" etc will be shown as a scrolling element. Interested to add this scrolling text function to your blog?
1. Log in to Blogger
To begin this tutorial, now log in to your Blogger account.
2. Go to Page Element
In the Dashboard page, pick one of your blog and go to the Layout/Design page. In the Layout/Design page, you will land to the Page Element tab. In this tab, you will be able to customize the layout of your blog.
3. Find the best area for this scroll element
For this tutorial, i only want to show you how to make a scrolling element, so this is kind of practical tutorial than the actual tutorial i usually gave you on other posts. So, i think, Page Element is the best place to practice this thing. Okay, back to the topic. In this Page Element, now find the best position for the scrolling text element.
4. Click Add a Gadget
After finding the suitable position for the scrolling text, now press the link called "Add a Gadget", and then you will be prompted with the new small tab on your browser. In the new Add a Gadget page, now pick "HTML/JavaScript" as a suitable platform for the scrolling code.
5. Paste the code
Now block all the codes below and then press copy. Now put the code in the HTML/Javascript empty box you've already chosen before.
<div style="overflow:auto;width:200px;height:200px;padding:10px;border:1px dotted #696969;margin:10px;">
As you can see in the code above, the words "Your content Here.." indicates the element that you want to be shown inside the scrolling text. You can put any kind of element inside that div style codes above. Remember, just wrap up the element using the opening div tags above along with the closing </div>.Your content Here...
</div>
6. Save the change
By pressing the Save button, now save the current change you've just made. Now the result on your blog will look exactly like this:
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Your content Here...
Scrolling Element Configurations
As always, in this post, i will show you how to modify the scrolling element you've just added to your blog. Now look at the code below:
<div style="overflow:auto;width:200px;height:200px;padding:10px;border:1px dotted #696969;margin:10px;">
1. How to blog?
2. How to cook?
3. How to play guitar?
4. How to kick the ball?
5. How to train your dog?
6. How to build my muscle?
2. How to cook?
3. How to play guitar?
4. How to kick the ball?
5. How to train your dog?
6. How to build my muscle?
</div>
Adjusting the Width and Height size of Scrolling Text
As you can see in the code above, the property width:200px indicates the width size of the scrolling text is 200 pixel, this value can be adjusted to any number that fit to your template, by replacing the value from 200px to 100% or 50% will be much accurate than just adjusting manually by yourself. It goes the same with the code height:200px, which can also be modified using any value.
Adjusting the Padding area
Next, the code padding:10px indicates the size of space inside the scrolling text area. Like many other elements, the value 10px can also be adjusted to any number that suits you well.
Customizing the border line
And then the property border:1px dotted #696969 is the property that controls the line border of the scrolling text. By changing the value dotted to solid or dashed can give you a different kind of border. The value #696969 indicates the code for the color code of grey. It also can be changed to any color code you like most, for example: red, blue, or many other colors.
Adding the Margin outside area
And last but not least, the property margin:10px indicates the space outside area of the scrolling text. By adding this margin function to the scrolling element, will avoid the element from getting collided.
Okay, that's it for now. If you feel that this post helps you a lot, then consider to share this post to your friends or family by using the social media buttons in this article, i'll appreciate that.
Good luck bloggers!
You might also like to read :
Share This Article to Other People Across the World !
Thanks!
Get the fresh update from Whatmakesblog.com!
To get updates from this blog, just enter your email address in the below subscription form and then click Subscribe.
Your email address will not be shared to any third party
Delivered by FeedBurner
Labels:
Scrolling Text




0 comments:
Post a Comment