Tuesday, 20 August 2013

Title Bar Marquee using simple Javascript

Leave a Comment
                   Title Bar Marquee using simple Javascript


If you Want a Moving Marquee for your Website,then just paste the code in respective Header and body  sections.

<!-- Add the script to the HEAD Section -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var mar = " welcome to altuts.com ";
function altuts() {
 mar = mar.substring(1, mar.length) + mar.substring(0, 1);
 document.title = mar;
 setTimeout("altuts()", 300);
 }
//  End -->
</script>






<!-- Add this code  line to the body tag as below -->


<body onLoad="altuts()">



0 comments:

Post a Comment