Mito da caverna de platão
{
if (window.Event)
{
if (e.which == 2 || e.which == 3) return false;
}
else
{
event.cancelBubble = true event.returnValue = false; return false;
}
}
//desabilita botao direito function desabilitaBotaoDireito(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3) return false;
}
else if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true event.returnValue = false; return false;
}
}
//desabilita botao direito do mouse if ( window.Event ) document.captureEvents(Event.MOUSEUP); if ( document.layers ) document.captureEvents(Event.MOUSEDOWN); document.oncontextmenu = desabilitaMenu; document.onmousedown = desabilitaBotaoDireito; document.onmouseup = desabilitaBotaoDireito;
function slideSwitch() { var $active = $('#slideshow2 img.active');
$active.addClass('last-active');
// verifica se existe um próximo objeto na div #slideshow2, caso ele nao exista, retorna para o primeiro var $next = $active.next().length ? $active.next() : $('#slideshow2 img:first');
$next.css({opacity: 0.0}) .addClass('active') .animate({opacity: 1.0}, 1000, function() { $active.removeClass('active last-active'); });
}
$(function() { //Executa a função a cada 2 segundos setInterval( "slideSwitch()", 2500 );
});
//Created by Title bar Maker (http://www.bosiljak.hr/titlemaker)
function tb8_makeArray(n){
this.length = n;
return this.length;
}
tb8_messages = new tb8_makeArray(1);
tb8_messages[0] = "{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;