1.Aşağıdaki javaScript
kodlarını sayfada <head >..</Head>tagının arasına gelecek şekilde
kopyalayın.
<SCRIPT LANGUAGE="JavaScript">
<!--
// ValueParameters
ValueNoText = true;
ValueHost = "h0100882";
ValueID = "indexpage";
ValueLoaded = false;
ValueVersion = "0.9";
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
/* Copyright (C) 1996
Frequency Graphics All Rights Reserved.
Feel free to reuse or
modify this code, provided this header remains in tact
Andy Augustine 2.26.96
[www.FreqGrafx.com]*/
function snapIn(jumpSpaces,position)
{
var msg = "Sitemi
ziyaret ettiğiniz için teşekkürler."
var out = ""
if (killScroll) {return false}
for (var i=0; i<position;
i++){
out += msg.charAt(i)}
for (i=1;i<jumpSpaces;i++)
{
out += " "}
out += msg.charAt(position)
window.status =
out
if (jumpSpaces
<= 1) {
position++
if (msg.charAt(position)
== ' ') {
position++ }
jumpSpaces = 100-position
}
else if (jumpSpaces
> 3) {
jumpSpaces *=
.75}
else {
jumpSpaces--}
if (position !=
msg.length) {
var cmd = "snapIn("
+ jumpSpaces + "," + position + ")";
scrollID = window.setTimeout(cmd,5);
}
else {
scrolling = false
return false
}
return true
}
function snapSetup() {
if (scrolling)
if (!confirm('Re-initialize
snapIn?'))
return false
// only way to
break the function
// if its already
running
killScroll = true
// will cause recursive
snapIn to break
scrolling = true
// sets so that
this function can't run twice
// without breaking
the first instance
var killID = window.setTimeout('killScroll=false',6)
// now that first
occurance was killed,
// reset it so
that this instance can proceed
scrollID = window.setTimeout('snapIn(100,0)',10)
// make sure it
waits until killScroll is reset
return true
//must return true
to comply with above break
}
//-------------------------------------------------------------
var scrollID = Object
var scrolling = false
var killScroll
= false
//-------------------------------------------------------------
// -->
</SCRIPT>
2.Body tag'ının içine yazılacak
kod.
<body onLoad="snapSetup()">
|