put this script in the header of the page
------------------------------------------
<script type='text/javascript'>
msg = "Welcome to our new Sample Test Website";
pos = 0;
function ScrollHeaderTitle() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
if (pos > msg.length) pos = 0
window.setTimeout("ScrollHeaderTitle()", 200);
}
ScrollHeaderTitle();
</script>
My details page structure is as follows .
------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type='text/javascript'>
msg = "Welcome to our new Sample Test Website";
pos = 0;
function ScrollHeaderTitle() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
if (pos > msg.length) pos = 0
window.setTimeout("ScrollHeaderTitle()", 200);
}
ScrollHeaderTitle();
</script>
</head>
<body>
</body>
</html>
------------------------------------------
<script type='text/javascript'>
msg = "Welcome to our new Sample Test Website";
pos = 0;
function ScrollHeaderTitle() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
if (pos > msg.length) pos = 0
window.setTimeout("ScrollHeaderTitle()", 200);
}
ScrollHeaderTitle();
</script>
My details page structure is as follows .
------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type='text/javascript'>
msg = "Welcome to our new Sample Test Website";
pos = 0;
function ScrollHeaderTitle() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
if (pos > msg.length) pos = 0
window.setTimeout("ScrollHeaderTitle()", 200);
}
ScrollHeaderTitle();
</script>
</head>
<body>
</body>
</html>
No comments:
Post a Comment