How to put scrolling text in tab of browser in

Posted by Prabu_Spark under ASP.NET on 3/20/2013 | Points: 10 | Views : 3144 | Status : [Member] | Replies : 1
Hi sir,
Tell me the steps to put scrolling text in tab of browser in I used <marquee> tag in title, but i did not get the output.
Kindly give me the solution for this problem.

[Hint: If you see in gmail, if anyone sent msg in chat, it will show in tab of the browser, Ganesh message you like that.
Similarly i need like that. I used the code below, but i did not get the solution]

<title><marquee>Welcome to</marquee></title>

With regards,


Posted by: Satyapriyanayak on: 3/20/2013 [Member] [MVP] Silver | Points: 25

<head runat="server">
<title>Untitled Page</title>
<script type='text/javascript'>
msg = "Welcome to";
msg = " ......" + msg;pos = 0;
function scrollMSG() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
if (pos > msg.length) pos = 0


If this post helps you mark it as answer

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response