Immagine che si ingrandisce al passaggio del mouse

« Older   Newer »
  Share  
view post Posted on 27/8/2012, 22:05     +1   -1

Group:
Founder
Posts:
366
Reputation:
0

Status:


Per applicare l'effetto delle immagini che si ingrandiscono al passaggio del mouse dovete inserire questo codice in: Amministrazione>Grafica>Codice HTML> In cima al Forum

CODICE
<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 nn si deve toccare ne modificare!!!

poi x far apparire quell'effetto di immagine ingrandita utilizzate questo codice..che potete inserire in una tabella o dove volete :)

CODICE
<a class="thumbnail" href="LINK X CREARE COLLEGAMENTO A UN SITO"target="_blank"><img src="LINK IMMAG CHE APPARE PICCOLA" width="10px" height="11px" border="0"><span><img src="LINK DELLIMMAG CHE APPARE QUANDO SI PASSA IL MAUSE"><br>TESTO CHE APPARIRą INSIEME ALLIMMAG INGRANDITA</span></a>



width="10px" height="11px" (queste sono le misure da impostare x l'immagine piccola)
 
Web  Top
0 replies since 27/8/2012, 22:05   69 views
  Share