Scrolling title bar in browser using javascript

Click to rate this tutorial!
[Total: 9 Average: 4.7]

This is a simple script that demonstrates how to implement a scrolling text in the website title bar using simple javscript.Here is the code, Just copy and paste it inside your html …

<script type='text/javascript'> 
//script by, please donot delete this.Thanks.
msg = ",";
msg = " ........Just a scrolling title example..add your own title here " + msg;position = 0;
function scrolltitle() {
document.title = msg.substring(position, msg.length) + msg.substring(0, position); position++;
if (position > msg.length) position = 0

Click to rate this tutorial!
[Total: 9 Average: 4.7]

Leave a Reply

Your email address will not be published.