tulungin dun... :crybaby:
tambahin kode shake window ke txt ku.. :cry:
ini ngeletakin kode js nya dimana nya yah???
//CSS injection
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://www.geocities.com/metropolis_part22/metropoliz60.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
//change
//change 1 to another integer to alter the scroll speed. Greater is faster
var speed=1
var currentpos=0,alt=1,curpos1=0,curpos2=-1
function initialize(){
startit()
}
function iecompattest(){
return (document.compatMode!="BackCompat")? document.documentElement : document.body
}
function scrollwindow(){
if (document.all)
temp=iecompattest().scrollTop
else
temp=window.pageYOffset
if (alt==0)
alt=1
else
alt=0
if (alt==0)
curpos1=temp
else
curpos2=temp
if (curpos1!=curpos2){
if (document.all)
currentpos=iecompattest().scrollTop+speed
else
currentpos=window.pageYOffset+speed
window.scroll(0,currentpos)
}
else{
currentpos=0
window.scroll(0,currentpos)
}
}
function startit(){
setInterval("scrollwindow()",10)
}
window.onload=initialize
function getNodeObj(divClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp("(^\s*|\s*$)" + divClass + "(\s|[\$]*?)");
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
//Created by Status bar Maker (
http://www.bosiljak.hr/sbmaker)
function sb4_makeArray(n){
this.length = n;
return this.length;
}
sb4_messages = new sb4_makeArray(1);
sb4_messages[0] = "metro under silver";
sb4_rptType = 'infinite';
sb4_rptNbr = 6;
sb4_speed = 1;
sb4_inputDelay = 2000;
var sb4_counter = 1;
var sb4_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopwrstuvwxyz.";
var sb4_pogodjenih = 0;
var sb4_stsmsg = "";
var sb4_currMsg = 0;
var sb4_timer = null;
var sb4_mozeDalje=true;
function sb4_addChar(ch){
if (sb4_chars.search(ch) == -1){
sb4_chars=sb4_chars+ch;
}
}
for (var i=0; i<sb4_messages.length; i++){
for (var j=0; j<sb4_messages[i].length; j++)
sb4_addChar(sb4_messages[i].charAt(j));
}
function sb4_shuffle(arr){
var k;
for (i=0; i<arr.length; i++){
k = Math.round(Math.random() * (arr.length - i - 1)) + i;
temp = arr[i];arr[i]=arr[k];arr[k]=temp;
}
return arr;
}
sb4_arr = new sb4_makeArray(sb4_messages[sb4_currMsg].length);
sb4_sts = new sb4_makeArray(sb4_messages[sb4_currMsg].length);
for (var i=0; i<sb4_messages[sb4_currMsg].length; i++){
sb4_arr[i] = i;
}
sb4_arr = sb4_shuffle(sb4_arr);
for (var i=0; i<sb4_messages[sb4_currMsg].length; i++){
sb4_sts[i] = sb4_messages[sb4_currMsg].charAt(sb4_arr[i]);
}
function sb4_setChar(k){
r = Math.round(Math.random() * sb4_chars.length);
sb4_sts[k] = sb4_chars.charAt(r);
sb4_stsmsg = "";
for (var i=0; i<sb4_sts.length; i++)
sb4_stsmsg += sb4_sts[i];
window.status = sb4_stsmsg;
if (sb4_chars.charAt(r) == sb4_messages[sb4_currMsg].charAt(k)){
sb4_stsmsg = "";
for (var i=0; i<sb4_sts.length; i++)
sb4_stsmsg += sb4_sts[i];
window.status = sb4_stsmsg;
sb4_pogodjenih++;
return;
}
setTimeout("sb4_setChar("+k+")", sb4_speed);
}
function sb4_init(k){
if (sb4_mozeDalje){
for (var k=0; k<sb4_messages[sb4_currMsg].length; k++){
sb4_msgchar = sb4_messages[sb4_currMsg].charAt(k);
sb4_setChar(k);
}
sb4_mozeDalje=false;
sb4_delay=200;
}
if (sb4_pogodjenih == sb4_messages[sb4_currMsg].length){
if (sb4_currMsg == sb4_messages.length-1){
if ((sb4_rptType == 'finite') && (sb4_counter==sb4_rptNbr)){
clearTimeout(sb4_timer);
return;
}
sb4_currMsg=0;
sb4_counter++;
}
else{
sb4_currMsg++;
}
sb4_arr = new sb4_makeArray(sb4_messages[sb4_currMsg].length);
sb4_sts = new sb4_makeArray(sb4_messages[sb4_currMsg].length);
for (var i=0; i<sb4_messages[sb4_currMsg].length; i++){
sb4_arr[i] = i;
sb4_mozeDalje=true;
sb4_pogodjenih=0;
sb4_delay=sb4_inputDelay;
}
sb4_arr = sb4_shuffle(sb4_arr);
for (var i=0; i<sb4_messages[sb4_currMsg].length; i++){
sb4_sts[i] = sb4_messages[sb4_currMsg].charAt(sb4_arr[i]);
}
}
sb4_timer = setTimeout("sb4_init(0)", sb4_delay);
}
function sb4_pickStatus(){
sb4_init(0);
}
sb4_pickStatus()
=(
plisss......
ada yg bs editkan kode˛ itu gak...
plisss hele me... :crybaby: