Cod galerie foto html
Last Updated: Jan 31 2012 17:25, Started by
serjnho
, Jan 23 2012 17:01
·
0
#1
Posted 23 January 2012 - 17:01
In primul rand,vreau sa precizez ca sunt la un nivel destul de jos privind limbajul HTML.Ceea ce doresc de fapt este sa stiu daca este posibil sa creez in html o galerie foto exact ca aici .Adica cu frame-uri,zoom si click in new tab,si un preview mai large.Va sunt recunoscator in caz afirmativ,
|
#2
Posted 23 January 2012 - 17:10
cea mai simpla galerie care am vazuto vreodata
default img { height: 134px; width: 100px; }si are un hover adica cand duci cliku pe img se activeaza automat un cod css img:hover { border: 4px ridge #74B7EB; height: 150px; margin-left: -50px; margin-top: -75px; position: absolute; width: 200px; }hover |
#3
Posted 23 January 2012 - 21:32
nu prea am inteles,unde pun calea spre imagine?Imi poti face un exemplu cu cateva poze"
|
#4
Posted 23 January 2012 - 22:25
<html> <head> <style type="text/css"> img { height: 134px; width: 100px; } img:hover { border: 4px ridge #74B7EB; height: 268px; position: absolute; width: 200px; } </style> </head> <body> <img height="75" width="100" alt="Bucegi Babe" title="Bucegi Babe" src="http://www.muntii-bucegi.ro/img/Bucegi_Babe_thumb.jpg"> </body> </html> |
#5
Posted 24 January 2012 - 11:16
mersi mult ,am reusit ceva insa imi poti spune ce sa mai modific ca atunci cand dau click pe ea sa se deschida intr'un tab nou la o marime mai mare?
|
#6
Posted 24 January 2012 - 13:12
si inca ceva,cand mut mouse-ul pe prima poza de pe primul rand imi dispare ultima poza de pe primul rand,pana mut mouse'ul peste ea/
|
#7
Posted 25 January 2012 - 02:10
Ia uite ce galerie ți-am făcut din css. La click, ai target blank cu link-ul exact al imaginii.
<html> <head> <style type="text/css"> a {display:inline-block; outline:none;} a img.normal {width:100px; padding:3px; border:dashed 1px #000; margin:5px; background:silver;} a span.absolute {display:none;} a:hover span.absolute{position:absolute; top:20%; width:90%; display:block; left:5%; height:0px;} a:hover span.absolute img{display:block; margin:auto; margin-top:5%; padding:3px; border:dashed 1px #000; background:silver;} </style> </head> <body> <a href="http://www.foreverways.com/wp-content/uploads/2011/06/apple-150x150.jpg" target="blank"> <img class="normal" src="http://www.foreverways.com/wp-content/uploads/2011/06/apple-150x150.jpg"> <span class="absolute"><img src="http://www.foreverways.com/wp-content/uploads/2011/06/apple-150x150.jpg"></span> </a> <a href="http://www.itcnews.info/wp-content/uploads/2010/12/apple-150x150.jpg" target="blank"> <img class="normal" src="http://www.itcnews.info/wp-content/uploads/2010/12/apple-150x150.jpg"> <span class="absolute"><img src="http://www.itcnews.info/wp-content/uploads/2010/12/apple-150x150.jpg"></span> </a> <a href="http://im1.shopmania.org/files/brands/apple.jpg" target="blank"> <img class="normal" src="http://im1.shopmania.org/files/brands/apple.jpg"> <span class="absolute"><img src="http://im1.shopmania.org/files/brands/apple.jpg"></span> </a> </body> </html> PS : N-am probat în ie. Nici nu mă stresez.... Edited by w3room, 25 January 2012 - 02:15. |
#8
Posted 31 January 2012 - 17:25
Vreau la primul cod sa introduci target="blank",sper sa ma ajuti
|
Anunturi
Bun venit pe Forumul Softpedia!
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users