Because the template blogger template is divided into two classic and new template, then for how to make text run will be different, therefore the discussion would be my divided into two parts. However, I need to say, the example that I will give this result is not the same as on this blog is the text runs from left-right direction, but I'll give an example text runs from left to right direction and there is a lag time between the writing of First Instance with the second and subsequent writings.
For the classic template please follow the steps below:
6.Click the Save Template Changes
7.Done.
For the new template please follow the steps below:
8.Click the SAVE TEMPLATE.
9.completed.
in the above code there is written that I made red, the text must be my friend now replace with your desired text. example: welcome to my blog. or whatever is appropriate to think my friend is written on it. the example I gave above contains four text messages or text, if my friend wants more could be done by adding a code line written as yet To improve the code -> scrollSpeed = 130. the number "130" is the speed of the text goes, the smaller the value the faster the text runs, and the greater its value then the text will be slower. Please adjust to the wishes buddy.
As I said at the beginning of the article that the code I gave above results are not the same effect as the one on this blog, to see real results.
Good Luck........
For the classic template please follow the steps below:
- Sign in blogger with your id
- Click the Template menu
- click the Edit HTML
- Copy the entire HTML code and paste it into notepad and save. This is meant to keep the event of any errors in the process of editting the template, my friend still has the data to restore it to its original.
- Copy and paste the following code above the code </ head>
<script language='javascript'>
message = "
Write the first text to appear here ^" +
"
Write a second text here ^" +
"
Write a third text here ^" +
"
Write a fourth text here ^"
scrollSpeed = 130
lineDelay = 0
// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
scrollText(0)
</script>
6.Click the Save Template Changes
7.Done.
For the new template please follow the steps below:
- Sign in blogger with your id
- Click the Layout menu
- Click the Edit HTML
- Click Download Full Template, and then save that data. This is a precaution in case of an error in editing the template code
- Click the small box beside Expand Widget Templates to give a check mark. Once again do not forget to click the small box beside Expand Widget Templates
- Wait a while until the process is complete
- Save the following code under the code </ body>, the code is to be located at the bottom before the code </ html>
<script language='javascript'>
message = "
Write the first text to appear here ^" +
"
Write a second text here ^" +
"
Write a third text here
^" +
"
Write a fourth text here ^"
scrollSpeed = 130
lineDelay = 0
// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
scrollText(0)
</script>
8.Click the SAVE TEMPLATE.
9.completed.
in the above code there is written that I made red, the text must be my friend now replace with your desired text. example: welcome to my blog. or whatever is appropriate to think my friend is written on it. the example I gave above contains four text messages or text, if my friend wants more could be done by adding a code line written as yet To improve the code -> scrollSpeed = 130. the number "130" is the speed of the text goes, the smaller the value the faster the text runs, and the greater its value then the text will be slower. Please adjust to the wishes buddy.
As I said at the beginning of the article that the code I gave above results are not the same effect as the one on this blog, to see real results.
Good Luck........
0 komentar:
Post a Comment