One of the most common uses of JavaScript is to create a scrolling message in the browser's status line. You can create a scrolling message using the string methods you have learned in this hour.
To begin, you'll need to define the message to be scrolled. You will use a variable called msg to store the message. To begin the script, initialize the variable (feel free to choose your own text for the message):
Steps to follow:
STEP #1
Log in to Blogger -> Layout -> Edit HTML and select the tick-box Expand Widget Templates
Then, find (CTRL+F) this code in the template
<head>
And immediately before it, paste this code:
<script type='text/javascript'>
//<![CDATA[
msg = "==>Blogspot Tutorial<==";
msg = " .................................. " + msg;pos = 0;
function scrollMSG() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
if (pos > msg.length) pos = 0
window.setTimeout("scrollMSG()",200);
}
scrollMSG();
//]]>
</script>
Now click Save Template
Thanks for your posts !!!!
ReplyDeleteGreat round up, thanks for sharing the helpful resources. They all look like they could be a great addition for development and design.
ReplyDeleteexcellent website templates
Great Prof! Kudos.
ReplyDeletePlease can you help me? the information I was actually looking for that brought me to this great blog is as quoted below:
"How Do I Show Post Title: Blog Title in Title Bar"?
What code can I add to my Blogger template, or whatever I have to change, so that on each post page it shows the title of the post, then the blog title. Something like this:
Scrolling Title in Browser: Blogger Tutorial
What do I do to accomplish this?
My email address is benwits@yahoo.com
Thank you.
P.S: It was me who added the comment that talks about making this blog my homepage.
@McBeeny
ReplyDeleteyou can change the code [msg = "==>Blogspot Tutorial<==";]
add your Title bar [msg = "==>Microsoft Word Tutorial<==";]
i love diz blog.. :)
ReplyDeletethank u very much...... nice post
ReplyDeletereally appriciate it..thanx for ur sharing !
ReplyDeletethank you for your useful tips. it`s great.
ReplyDeletehow about typing text effect? :)
ReplyDelete@Anonymous
ReplyDeleteKham-sa-ham-nidah??
ReplyDeletethanks so much..
ReplyDeletethanks its awesome
ReplyDeletehttp://www.drupalnetworks.com/
Thanks, i tried it and it works! :D
ReplyDeletethank so much
ReplyDeleteI think everything said made a lot of sense. But, think about this, suppose you were to create a awesome headline?
ReplyDeleteI mean, I don't want to tell you how to run your website, but
what if you added a title that grabbed people's attention? I mean "Scrolling Title in Browser title bar for blogspot" is kinda boring.
You ought to glance at Yahoo's front page and watch how they create article
headlines to grab viewers to click. You might add a
video or a pic or two to grab readers excited about everything've got
to say. In my opinion, it could make your
posts a little livelier.
my blog ... foods that increase testosterone