Quando passo il mouse mi compare un immagine

Come faccio????

« Older   Newer »
 
  Share  
.
  1. Renato®
     
    .

    User deleted


    Ciao a tutti,
    ho visto in molti forum (specialmente quelli di grafica) che quando passo il mouse su un immagine me ne compare un altra piu grande e magari diversa come faccio per metterlo sul mio forum??

    Grazie 1000
     
    Top
    .
  2. R e a l l y ?
     
    .

    User deleted


    Il codice si chiama CSS Popup Image Viewer.
    Metti nei codici CSS questo:
    CODICE
    .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 */

    }

    Poi vai nella gestione codice html e metti dove vuoi che compaia l'immagine questo:
    HTML
    <a class="thumbnail" href="#"><img src="LINK DELL'IMMAGINE PICCOLA" border="0"><span><img src="LINK DELL'IMMAGINE GRANDE"></span></a>
     
    Top
    .
  3. BlackAssassin$
     
    .

    User deleted


    susate ma dove si mette quel codice css?
     
    Top
    .
2 replies since 4/9/2009, 08:41   333 views
  Share  
.