Didascalia al passaggio del mouse

« Older   Newer »
  Share  
»£ £awliet´
view post Posted on 26/2/2012, 16:52     +1   -1




Script che ultimamente è molto richiesto, serve per fare ingrandire le immagini al passaggio del mouse su di esse:

Amministrazione > Gestione codici 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>


E successivamente inserire in
Amministrazione > Gestione codici HTML > Nella Home page

HTML
<a class="thumbnail" href="#thumb"><img src="http://link_immagine_piccola><span><img src=http://link_immagine_grande><br>Simply beautiful.</span></a>


in caso nn dovesse funziare: http://newsboard.forumfree.it/?t=24443239
 
Top
view post Posted on 11/3/2012, 16:16     +1   -1


風影


Group:
Administrator
Posts:
10,034
Punti:
+5
Location:
Anime Shonen Forum =D

Status:


come funziona ? cioè come verrebbe quando mondo sto cod ? o.O
 
Web Web Contacts Contacts  Top
view post Posted on 11/3/2012, 16:59     +1   -1


風影


Group:
Administrator
Posts:
10,034
Punti:
+5
Location:
Anime Shonen Forum =D

Status:


.-. non ho capito come funziona U_U
 
Web Web Contacts Contacts  Top
»£ £awliet´
view post Posted on 12/3/2012, 17:41     +1   -1




...ma che cazz...t' arrangi...
 
Top
view post Posted on 12/3/2012, 21:10     +1   -1


風影


Group:
Administrator
Posts:
10,034
Punti:
+5
Location:
Anime Shonen Forum =D

Status:


cattivo ç_ç
 
Web Web Contacts Contacts  Top
¬skyslider™
view post Posted on 2/4/2012, 22:35     +1   -1




in css si puo fare usando transform: scale :sisi:

 
Top
6 replies since 26/2/2012, 16:52   183 views
  Share