Script Categories













Messages >>> Welcome.

Customize this Flash style intro to display a welcome message on your site.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">      
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
message = "Place your message here! ";
colours = new Array('#fff000','#00ff00')//Pick your colors, any amount.
siZe = 20;
message = message.split(' ');
timer = null;
clrPos = 0;
msgPos = 0;
jog = 1;
currentStep = 10;
step = 8;
ns = (!document.all);
viz = 'hidden';
Stop = false;
document.write("<div style='position:absolute'>");
document.write("<div align='center' style='position:relative'>");
document.write("<div id='T' style='position:absolute;width:0;height:0;font-family:Arial;font-size:0;'>kurt</div>");
document.write("</div></div><br>");
TT = document.getElementById('T')
function Message() {
var pageHeight = (ns)?window.innerHeight :window.document.body.offsetHeight;
var pageWidth = (ns)?window.innerWidth:window.document.body.offsetWidth;
if (ns) {
ypos = pageHeight / 8;
xpos = pageWidth / 2;
TT.style.width = currentStep;
TT.style.top = ypos + -currentStep / 16 + window.scrollY;
TT.style.left = (xpos - 20)+ -currentStep / 2;
TT.style.fontSize = currentStep / 8;
TT.innerHTML = message[msgPos];
TT.style.color = colours[clrPos];
}
else {
ypos = pageHeight / 8;
xpos = pageWidth / 2;
TT.style.width = currentStep;
TT.style.pixelTop = ypos + -currentStep / 16 + document.body.scrollTop;
TT.style.pixelLeft = (xpos - 20)+ -currentStep / 2;
TT.style.fontSize = currentStep / 8;
TT.innerHTML = message[msgPos];
TT.style.color = colours[clrPos];
}
if (ns)step += 5;
else step += 15;
currentStep += step
if (ns) {
if (currentStep > pageWidth) {
currentStep = 10;
step = 8;
msgPos += jog;
clrPos += jog;
}
if (clrPos >= colours.length) clrPos = 0;
}
else {
if (currentStep > pageWidth * siZe) {
currentStep = 10;
step = 8;
msgPos += jog;
clrPos += jog;
}
if (clrPos >= colours.length) clrPos = 0;
}
if (msgPos >= message.length) {
clearTimeout(timer); Stop = true;
TT.style.visibility = viz;

}
  if (!Stop) timer = setTimeout("Message()",40)
}
window.onload = Message;
//  End -->
</script>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

http://www.cashadvance-loans.net/idaho/cash-advance-caldwell-id/ . Bitcoin Gambling Site


©