(2016-08-05, 09:48:25)morvy Wrote: @barknezz, maybe you should try to check mvlcek's website, everything is nicely explained there: http://mvlcek.bplaced.net/get-simple/i18ngallery
@Bill, open Console in your browser and check if there are any errors. It seems like a problem with jQuery not loaded correctly (so the link is not handled by lightbox and is opened as standard link)
Ok i have got this error :
(index):248 Uncaught TypeError: $sel.fancybox is not a function
Code:
<script type="text/javascript">
$(document).ready(function(){
var $sel = $("[rel=fancybox-photo-test]")
$sel.get(0).href = 'http://www.website.fr/data/uploads/photos/businessdesign1.jpg';
$sel.get(1).href = 'http://www.website.fr/data/uploads/photos/businessdesign2.jpg';
$sel.get(2).href = 'http://www.website.fr/data/uploads/photos/futurotextile1a.jpg';
$sel.get(3).href = 'http://www.website.fr/data/uploads/photos/futurotextile2.jpg';
$sel.get(4).href = 'http://www.website.fr/data/uploads/photos/project.jpg';
$sel.get(5).href = 'http://www.website.fr/data/uploads/photos/smart.jpg';
$sel.fancybox({
cyclic: true
});
});
</script>
Thanks for your help again