|
|
| Ecco la prima immagine piccola per Drefius Ogni utente parte dello staff o parte di uno dei gruppi del forum se vuole può inviare due immagini uguali una di questa grandezza e una più grande (presto farò sapere le dimensioni dell'immagine grande) Sto cercando di capire come funziona il codice... CODICE <style type="text/css">
/*Credits: Dynamic Drive CSS Library */ /*URL: http://www.dynamicdrive.com/style/ */
.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>
<a class="thumbnail" href="#thumb"><img src="http://image.forumcommunity.it/3/2/0/3/4/8/9/1289671884.png" width="100px" height="66px" border="0" /><span><img src="http://image.forumcommunity.it/3/2/0/3/4/8/9/1289671884.png" /><br />Simply beautiful.</span></a>
<a class="thumbnail" href="#thumb"><img src="http://image.forumcommunity.it/3/2/0/3/4/8/9/1290844091.gif" width="100px" height="66px" border="0" /><span><img src="http://image.forumcommunity.it/3/2/0/3/4/8/9/1290844091.gif" /><br />So real, it's unreal. Or is it?</span></a> Edited by Asteroide pagliaccio - 27/11/2010, 09:12
|
| |