Fix with click on skimming img.
This commit is contained in:
parent
996ee67214
commit
ce0987a52d
@ -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
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user