Monday 7 December 2015

HTML Page Title Marquee

<!-- Add the event loader to the body tag as below -->
<title> Marquee Use in HTML Page Title</title>

<body onLoad="scrlsts()">
<h1>TITLE MARQUEE</h1>
<h2> Marquee Use in HTML page title</h2>
</body>

<!-- Add the script to the HEAD of your document -->
<script LANGUAGE="JavaScript">
//alert(document.title);
<!-- Begin
var scrl = document.title+" ";

function scrlsts() {
 scrl = scrl.substring(1, scrl.length) + scrl.substring(0, 1);
 document.title = scrl;
 setTimeout("scrlsts()", 300);
 }
//  End -->
</script>

No comments:

Post a Comment