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 / sman1baleendah_sch_id / html /
server ip : 172.67.156.115

your ip : 172.70.100.191

H O M E


Filename/var/www/html/sman1baleendah_sch_id/html/scroller_ff.js
Size1.2 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time11-Jun-2025 21:32
Last modified11-Jun-2025 21:32
Last accessed05-Jul-2025 07:19
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);
}