The hack allows you to replace the standard functionality of increasing the image in DLE - from Highslide to FancyBox. Works for additional fields too.
Insert main.tpl
</head>
<link rel="stylesheet" type="text/css" href="{THEME}/css/jquery.fancybox.min.css">
</body>
<script src="{THEME}/js/jquery.fancybox.min.js"></script>
<script>
$('[data-fancybox]').fancybox({
loop: true,
buttons: [
"zoom",
"share",
"slideShow",
"fullScreen",
"download",
"thumbs",
"close"
],
autoFocus: false
});
</script>
Info
Please login to view information Auth!
Please login to view information Auth!
Tags:
0 Comments
Information
Users of Guests are not allowed to comment this publication.
Users of Guests are not allowed to comment this publication.