[en] fancybox intergration

tevart

Avatar: tevart

2009-07-17 11:56

Hey!

Any way of switching from lightbox to fancybox? Has anyone tried it before?

tnx

» Quick.Cms v2.x

pxl666

Avatar: pxl666

2009-07-18 09:35

+1

tevart

Avatar: tevart

2009-07-19 16:21

It works.

in container load js and css. Remove all lightbox js


<script type="text/javascript" src="/fancybox/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/fancybox/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="/fancybox/jquery.fancybox-1.2.1.js"></script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" type="text/css" media="screen">



add

<script type="text/javascript"> $(document).ready(function() { $("a#slika").fancybox({ 'hideOnContentClick'true });
$(
"a.skupina").fancybox({ 'zoomSpeedIn'0'zoomSpeedOut'0'overlayShow'true }); }); </script> 



i used slika for single image and skupina for image gallery

then open pages_default or products_default or any other page that uses images, and add to IMAGE LIST link class="skupina" rel="skupina"

Back to top
about us | contact