K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / www / html / sman1baleendahok / html /
server ip : 104.21.89.46

your ip : 172.71.255.130

H O M E


Filename/var/www/html/sman1baleendahok/html/scroller_ff.js
Size1.2 kb
Permissionrw-rw-r--
Ownerulung : ulung
Create time27-Apr-2025 11:12
Last modified05-Feb-2025 08:55
Last accessed06-Jul-2025 20:14
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
function startTicker()
{
// Define run time values
theCurrentStory = -1;
theCurrentLength = 0;

// Locate base objects
if(document.getElementById)
{
theAnchorObject = document.getElementById("tickerAnchor");
runTheTicker();
}
else
{
document.write("Javascript is turned off in your browser");
return true;
}
}

// Ticker main run loop
function runTheTicker()
{
var myTimeout;

// Go for the next story data block
if(theCurrentLength == 0)
{
theCurrentStory++;
theCurrentStory = theCurrentStory % theItemCount;
theStorySummary = theSummaries[theCurrentStory].replace(/"/g,'"');
theTargetLink = theSiteLinks[theCurrentStory];
theAnchorObject.href = theTargetLink;
}

// Stuff the current ticker text into the anchor
theAnchorObject.innerHTML = theStorySummary.substring(0,theCurrentLength) + ((theCurrentLength == theStorySummary.length) ? "" : "_");

// Modify the length for the substring and define the timer
if(theCurrentLength != theStorySummary.length)
{
theCurrentLength++;
myTimeout = theCharacterTimeout;
}
else
{
theCurrentLength = 0;
myTimeout = theStoryTimeout;
}

// Call up the next cycle of the ticker
setTimeout("runTheTicker()", myTimeout);
}