Scrolling Message
Scrolls message at bottom left of screen. Please vote for me thanks.
AI
Ringkasan AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Kode Sumber
<html>
<head>
<title>Scrolling Message</title>
</head>
//Done by Priscilla Khoo
<body>
<script LANGUAGE="JavaScript">
<!--
// Scrolling message settings
var MessageText = "Welcome to Yupigirl's Homepage enjoy!:)"
var DisplayLength = 130
var pos = 1 - DisplayLength;
function ScrollInStatusBar(){
var scroll = "";
pos++;
if (pos == MessageText.length) pos = 1 - DisplayLength;
if (pos<0) {
for (var i=1; i<=Math.abs(pos); i++)
scroll = scroll + "";
scroll = scroll + MessageText.substring(0, DisplayLength - i + 1);
}
else
scroll = scroll + MessageText.substring(pos, pos + DisplayLength);
window.status = scroll;
//Scrolling speed
setTimeout("ScrollInStatusBar()",0);
}
ScrollInStatusBar()
//-->
</script>
</body>
</html>
Komentar Asli (3)
Dipulihkan dari Wayback Machine