Link che si ingrandisce al passaggio del mouse

« Older   Newer »
 
  Share  
.
  1. Principessa(c)
        +1   -1
     
    .

    User deleted


    LINK CHE SI INGRANDISCE AL PASSAGGIO DEL MOUSE




    Per applicare l'effetto delle immagini che si ingrandiscono al passaggio del mause, dovete inserireil seguente codice in:
    Amministrazione -> gestione codice html -> in cima al forum

    CODE
    <style type="text/css">

    .thumbnail{
    position: relative;
    z-index: 0;
    }

    .thumbnail:hover{
    background-color: transparent;
    z-index: 50;
    }

    .thumbnail span{ /*CSS for enlarged image*/
    position: absolute;
    background-color: lightyellow;
    padding: 5px;
    left: -1000px;
    border: 1px dashed gray;
    visibility: hidden;
    color: black;
    text-decoration: none;
    }

    .thumbnail span img{ /*CSS for enlarged image*/
    border-width: 0;
    padding: 2px;
    }

    .thumbnail:hover span{ /*CSS for enlarged image on hover*/
    visibility: visible;
    top: 0;
    left: 60px; /*position where enlarged image should offset horizontally */

    }

    </style>


    Questo codice NON Si DEVE ASSOLUTAMENTE modificare.


    Dopodichè, dovete inserire questo codice dove volete per fare apparire l'effetto.

    CODE
    <a class="thumbnail" href="LINK PER CREARE COLLEGAMENTO A UN SITO"target="_blank">SCRITTA<span><img src="LINK DELL'IMMAGINE CHE APPARE QUANDO SI PASSA IL MAUSE"><br>TESTO CHE APPARIRà INSIEME ALLIMMAGINE INGRANDITA</span></a>

     
    Top
    .
0 replies since 30/3/2011, 16:38   14 views
  Share  
.
Top
Top