ESTE BLOG É MELHOR VISUALIZADO NO INTERNET EXPLORER. MUITO MAIS RÁPIDO !!! Templates e Acessorios Templates & Acessórios: Galeria de imagens
NÃO É PERMITIDO COPIAR OS TEMPLATES E OS ACESSÓRIOS PARA REDISTRIBUIR EM OUTROS SITES OU BLOGS. NÃO RETIRE OS CRÉDITOS PARA NÃO TER PROBLEMAS.
Google
www.flickr.com
templates.acessorios fotos Mais fotos detemplates.acessorios

Galeria de imagens

english mobile

Para quem deseja fazer uma header com efeitos, encontrei este.







Copie este primeiro código, vá até o HTML do seu blog e cole antes do código:

<head>




Pegar código





    <script type="text/javascript">

    var xm = 0;
    var ym = 0;

    document.onmousemove = function(e){
    if (window.event) e=window.event;
    xm = e.clientX;
    ym = e.clientY;
    }

    var panel = {
    speed : .006,
    t : 0,
    O : [],
    over : false,

    run : function() {
    panel.t += panel.speed;
    for (var i = 0, o; o = panel.O[i]; i++)
    o.anim(i + panel.t);
    },

    init : function(){
    for (var i = 0, o; o = document.images[i]; i++){
    if (o.className.indexOf('panel') >= 0) {
    if(o.parentNode.href != undefined) {
    var div = document.createElement("a");
    div.href = o.parentNode.href;
    } else {
    var div = document.createElement("div");
    }
    div.className = 'panel';
    var img = document.createElement("img");
    img.src = o.src;
    img.className = 'imgPanel';
    o.parentNode.replaceChild(div,o);
    div.appendChild(img);
    div.ims = img.style;
    div.iw = img.width;
    div.ih = img.height;
    div.cx = -div.iw / 2;
    div.cy = -div.ih / 2;
    div.anim = function(t) {
    nw = this.offsetWidth;
    nh = this.offsetHeight;
    if (panel.over == this){
    for (var nx = 0, ny = 0, o = this; o != null; o = o.offsetParent) nx += o.offsetLeft, ny += o.offsetTop;
    var x = Math.max(-this.iw + nw, Math.min(0, (-(xm - nx) * (this.iw - nw)) / nw));
    var y = Math.max(-this.ih + nh, Math.min(0, (-(ym - ny) * (this.ih - nh)) / nh));
    if (Math.abs(xm-nx-nw * .5) > nw Math.abs(ym-ny-nh * .5) > nw ) panel.over = false;
    } else {
    var mx = (this.iw - nw) * .5;
    var my = (this.ih - nh) * .5;
    var x = -mx * (1 + Math.cos(t * 1.2));
    var y = -my * (1 + Math.sin(t));
    }
    this.cx += (x - this.cx) * .1;
    this.cy += (y - this.cy) * .1;
    this.ims.left = Math.round(this.cx) + 'px';
    this.ims.top = Math.round(this.cy) + 'px';
    }

    div.onmouseover = function()
    {
    panel.over = this;
    }
    this.O.push(div);
    }
    }
    setInterval(panel.run, 32);
    }
    }

    onload = function ()
    {
    panel.init();
    }

    </script>


    <style type="text/css">
    #screen {
    position: absolute;
    left: 22%;
    top: 20%;
    width: 60%;
    height: 60%;
    background: #fff;
    overflow: hidden;
    }
    .panel {
    position: relative;
    float: left;
    width: 21%;
    height: 30%;
    margin: 1%;
    overflow: hidden;
    }
    .imgPanel {
    position: absolute;
    border: none;
    text-decoration: none;
    }
    </style>







Agora vá até elementos de página, clique em "Adicionar um novo elemento de página" e clique em "HTML/Javascript". COLOQUE O ENDEREÇO DE SUAS IMAGENS E SALVE

Pegar código



    <div id="screen">
    <img class="panel" src="ENDEREÇO DE SUA IMAGEM AQUI" alt="">
    <img class="panel" src="ENDEREÇO DE SUA IMAGEM AQUI" alt="">
    <img class="panel" src="ENDEREÇO DE SUA IMAGEM AQUI" alt="">
    <img class="panel" src="ENDEREÇO DE SUA IMAGEM AQUI" alt="">
    <img class="panel" src="ENDEREÇO DE SUA IMAGEM AQUI" alt="">
    </div>

0 comentários: