Hi all I 'm trying to create a gallery of images on a CMS page using fancybox but i cant do it to work , I followed several tutorials including these but it has not worked for me :
http://tonalidad.es/blog-de-notas/galerias-en-prestashop-1-6-con-fancybox/
http://antonio-ventura.com/fancybox-in-all-pages/
This is an example of code that does not work in CMS , it just leads me to the bigger picture and I do not open it in the frame of fancybox :
<p><a href="http://ecokamin.com.mialias.net/img/cms/10361335_1428120704122897_2787639426026746628_n.jpg" rel="gallery" class="fancybox"><img src="http://ecokamin.com.mialias.net/img/cms/10361335_1428120704122897_2787639426026746628_n.jpg" alt="ver foto en Fancybox" title="ver foto en Fancybox" width="223" height="297" /> </a></p>
tried adding the corresponding function in both " global.js " and " cms.tpl " files but it goes with none have some help ?, thanks .
$(document).ready(function(){$(".fancybox")
.attr('rel', 'gallery')
.fancybox({
openEffect: 'elastic',
prevEffect: 'fade',
});