Is there any option to Display the galleria gallery inside the fancybox?

て烟熏妆下的殇ゞ 提交于 2019-12-25 06:07:10

问题


I am using the fancybox.I want to display the image gallery using the galleria plugin inside the fancy box similar to this

jQuery(".pika-stage img").live('click',function(){
            var product_id = <?php echo $Product->id;?>;
            jQuery.ajax({
                url: "<?php echo $currenturl;?>",
                type: "POST",
                data:{tasksubmit:"enlarge",productid:product_id},
                success: function(data){
                    var gal_img ='<div id= gallery>'+data+'</div>';
                    jQuery.fancybox({
                        'content': gal_img
                     });
                   }

                })
            });

回答1:


Finally i got the solution for displaying the gallery inside the light box. I am using the Pretty photo plugin for displaying the gallery in the light box. Demo for Preety Photo



来源:https://stackoverflow.com/questions/10908093/is-there-any-option-to-display-the-galleria-gallery-inside-the-fancybox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!