A #1 SNAKE GAME , 1 OR 2 PLAYER , BY SUFYAN
By Sufyan Jabr, A COOL SNAKE GAME, ITS REALLY DEFRANT FROM OTHER SNAKE GAME, IT DESIGNED TO BE PLAYED WITH THE EGAVGA.BGI FILE SHOULD BE IN THE SAME FOLDER WITH COULD TO MAKE IT RUN.
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
Upload
<span id="theText" style="width:100%">
<h2>This is Pulsating Text!!</h2>
</span>
<script>
<!--
/*
Pulsating Text (Richard Smythe)
*/
//range of glowing
var from = 5;
var to = 11;
//speed of pulsing
var delay = 55;
//color of glow, name or RGB value (example:'#00FF00')
var glowColor = "lime";
//NO MORE EDITING!!!
var i = to;
var j = 0;
//can be called here or whenever you want the text to start pulsing
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//-->
</script>
Komentar Asli (3)
Dipulihkan dari Wayback Machine