Ati Cidi

Ati Cidi Student MBA,
yguhjikl

Temat: greybox galeria zdjec

witam mam zainstalowany greybox na stronie i mam taki problem ,czy jest mozliwosc zeby galeria wyswietlala sie tak jak na tej stronie -- http://www.djhweb.co.uk/article29.html --

jak ktos by chcial rozwiozac ten problem moge za to zaplacic : cena do uzgodnienia nr. gg:7893632

jak przerobic ten kod:

<div class="gallerycontainer">

<?php

if (@mysql_num_rows($pres))

{
$i = 0;
?>

<?php
while ($row = mysql_fetch_array($pres))
{
$i++;

$imgsize = GetThumbnailSize("{$datadir[adpics]}/{$row[picfile]}", $images_max_width, $images_max_height);

?>

<a class="thumbnail" href="<?php echo "{$datadir[adpics]}/{$row[picfile]}"; ?>" title="" rel="gb_imageset[<?php $row[picfile]; ?>]"><img src="<<?php $row[picfile]; ?>" alt="<?php echo $ad['adtitle']; ?>" id="adimg<?php echo $i; ?>" width="<?php echo $imgsize[0]; ?>" height="<?php echo $imgsize[1]; ?>">

<?php
}
?>

<?php

$imgcnt = $i;

}

else {

?>

--------------------

ccs:

.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
border-bottom: 1px dotted gray;
}

.thumbnail img{
border: 1px solid gray;
margin: 0 2px 2px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid gray;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 2px;
left: -1000px;
border: 4px dashed green;
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*/
visibility: visible;

left: 242px; /*position where enlarged image should offset horizontally */
top: -169px;
z-index: 50;
}