Jahsauhs

1404 palavras 6 páginas
//desabilita menu de opcoes ao clicar no botao direito function desabilitaMenu(e)
{if (window.Event)
{if (e.which == 2 || e.which == 3) return false;} else {event.cancelBubble = true event.returnValue = false; return false;} } document.oncontextmenu = desabilitaMenu; document.onmousedown = desabilitaBotaoDireito; document.onmouseup = desabilitaBotaoDireito;

function tb8_makeArray(n){

this.length = n; return this.length;
}

tb8_messages = new tb8_makeArray(3);

tb8_messages[0] = "{Title}";

tb8_messages[1] = "{Title}";

tb8_messages[2] = "{Title}";

tb8_rptType = 'infinite';

tb8_rptNbr = 5;

tb8_speed = 100;

tb8_delay = 2000;

var tb8_counter=1;

var tb8_currMsg=0;

var tb8_tekst ="";

var tb8_i=0;

var tb8_TID = null;

function tb8_pisi(){

tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1);

document.title = tb8_tekst;

tb8_sp=tb8_speed;

tb8_i++;

if (tb8_i==tb8_messages[tb8_currMsg].length){

tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay;

}

if (tb8_currMsg == tb8_messages.length){

if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){

clearTimeout(tb8_TID);

return;

}

tb8_counter++;

tb8_currMsg = 0;

}

tb8_TID = setTimeout("tb8_pisi()", tb8_sp);

}

tb8_pisi()

function changeNavigation(id) {document.getElementById('liuc').innerHTML=document.getElementById(id).innerHTML}

/** barra de rolagem **/
::-webkit-scrollbar { width: 04px; height: 10px;}
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {display: block;}
::-webkit-scrollbar-button:vertical:start:increment,
::-webkit-scrollbar-button:vertical:end:decrement {display: none;}

/** rolagem penultima **/
::-webkit-scrollbar-button:vertical:increment {background-color: #fff;}

/* Place The scroll up button at the up */
::-webkit-scrollbar-button:vertical:decrement { background-color:

Relacionados