1
0

Fix with click on skimming img.

This commit is contained in:
Fredrik Erlandsson 2011-11-10 15:31:54 +01:00
parent 996ee67214
commit ce0987a52d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
name = ".Pear Theme"
description = "A theme with the intention to mimic Apples mobile me gallery."
version = 2.6
version = 2.7
author = "Fredrik Erlandsson <fredrik.e@gmail.com>"
site = 1
admin = 0

View File

@ -50,7 +50,7 @@ if($child->is_album()):
$offset = 0;
$step = round(200/min(count($granchildren),50));
foreach ($granchildren as $i => $granchild):?>
<? if(++$i > 50) break; ?>
<? if($i++ > 50) break; ?>
<? if ($granchild->has_thumb()): ?>
<?= $granchild->thumb_img(array("style" => "display: none;")) ?>
<div class="skimm_div" style="height: 200px; width: <?=$step?>px; left: <?=$offset?>px; top: 0px;" onmouseover="$('#thumb_<?=$child->id?>').attr('src', '<?=$granchild->thumb_url()?>');skimimg=<?=$i?>;" id="area_<?=$granchild->id?>"></div>