It's free and you have access to premium codes!
Welcome back! Please login to your account.
Don't worry, we'll send you a message to help you to recover your acount.
Please check your email for instructions to activate your account.
Written by 21 August 2012
This code writes something in the status bar and moves it!
<!-- this script is provided by https://www.javascriptfreecode.com coded by: Kerixa Inc. -->
<!-- TWO STEPS TO INSTALL WRITE AND SLIDE:
1. Paste the coding into the HEAD of your HTML document
2. Copy the onLoad event handler into the BODY tag -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<html>
<head><script LANGUAGE="JavaScript">
<!--Total Java Scripts 99 - Next Step Software-->
<!-- Begin
var Message="welcome***to***www.javascriptfreecode.com*****";
var place=1;
function scrollIn() {
window.status=Message.substring(0, place);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollOut()",300);
} else {
place++;
window.setTimeout("scrollIn()",50);
}
}
function scrollOut() {
window.status=Message.substring(place, Message.length);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollIn()", 100);
} else {
place++;
window.setTimeout("scrollOut()", 50);
}
}
// End -->
</script>
<!-- STEP TWO: Add this onLoad event handler into the BODY tag -->
<title>E:\scrolls\vertical2_.htm</title>
</head>
<body onLoad="scrollIn()">
<!-- Script Size: 1.09 KB -->
<br />
</body>
</html>
<a target='_blank' href='https://www.javascriptfreecode.com' style='font-size: 8pt; text-decoration: none'>JavaScript Best Codes</a>
Comments
Here you can leave us commments. Let us know what you think about this code tutorial!