mirror of
https://github.com/dyzulk/cdn.git
synced 2026-01-26 13:31:58 +07:00
Create errorpage001.js
This commit is contained in:
committed by
GitHub
parent
40d542eeb8
commit
f1c94482e8
9
errorpage001.js
Normal file
9
errorpage001.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
var showText = function (target, message, index, interval) {
|
||||||
|
if (index < message.length) {
|
||||||
|
$(target).append(message[index++]);
|
||||||
|
setTimeout(function () { showText(target, message, index, interval); }, interval);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$(function () {
|
||||||
|
showText("h1", "I am error 404.", 0, 80);
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user