Merge branch 'fancybox-list' into dev
This commit is contained in:
commit
7126678bac
@ -446,7 +446,12 @@ jQuery(document).ready(function($)
|
||||
else
|
||||
result += '<td> </td>'
|
||||
|
||||
result += '<td><a href="painting.html?number=' + i.number + '"><img src="styles/icons/eye.svg" alt="Voir"></a></td>';
|
||||
result += '<td><a data-fancybox="exposition-list" href="';
|
||||
if (i.photo == "none")
|
||||
result += 'images/unknown.jpg';
|
||||
else
|
||||
result += 'photos/paintings/normal/' + i.number + '.jpg'
|
||||
result += '" data-fancybox-index="' + i.number + '"><img src="styles/icons/eye.svg"></a></td>';
|
||||
result += "</tr>";
|
||||
|
||||
$("table").append(result);
|
||||
@ -513,7 +518,7 @@ jQuery(document).ready(function($)
|
||||
|
||||
|
||||
// fancybox configuration
|
||||
$('[data-fancybox="exposition"]').fancybox(
|
||||
$('[data-fancybox="exposition"], [data-fancybox="exposition-list"]').fancybox(
|
||||
{
|
||||
infobar: false,
|
||||
toolbar: true,
|
||||
|
Loading…
Reference in New Issue
Block a user