Add a group on the cover fancybox (left and right navigation)
This commit is contained in:
parent
e54e3653a8
commit
8f2eaa141d
|
@ -57,6 +57,8 @@
|
||||||
|
|
||||||
$(".fancycover").fancybox({
|
$(".fancycover").fancybox({
|
||||||
'type' : 'image',
|
'type' : 'image',
|
||||||
|
prevEffect : 'none',
|
||||||
|
nextEffect : 'none',
|
||||||
<?php if ($isEink) echo "openEffect : 'none', closeEffect : 'none', helpers : {overlay : null}"; ?>
|
<?php if ($isEink) echo "openEffect : 'none', closeEffect : 'none', helpers : {overlay : null}"; ?>
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -152,7 +154,7 @@
|
||||||
<?php
|
<?php
|
||||||
if ($entry->book->hasCover) {
|
if ($entry->book->hasCover) {
|
||||||
?>
|
?>
|
||||||
<a class="fancycover" href="<?php echo $entry->getCover () ?>"><img src="<?php echo $entry->getCoverThumbnail () ?>" alt="cover" /></a>
|
<a rel="group" class="fancycover" href="<?php echo $entry->getCover () ?>"><img src="<?php echo $entry->getCoverThumbnail () ?>" alt="cover" /></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue