Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Jquery从超链接运行幻灯片放映_Jquery_Wordpress_Colorbox_Magnific Popup - Fatal编程技术网

使用Jquery从超链接运行幻灯片放映

使用Jquery从超链接运行幻灯片放映,jquery,wordpress,colorbox,magnific-popup,Jquery,Wordpress,Colorbox,Magnific Popup,请看一下,让我知道怎么做 问题是jquery冲突,我已经提交了另一个关于堆栈溢出的问题 <div class="image-container" style="display:none;"> <a href="<?php echo get_template_directory_uri();?> /images/events/Caroline Springs 29112013/1.jpg">Caption 1<

请看一下,让我知道怎么做

问题是jquery冲突,我已经提交了另一个关于堆栈溢出的问题

 <div class="image-container" style="display:none;"> 
                    <a  href="<?php echo get_template_directory_uri();?> /images/events/Caroline Springs 29112013/1.jpg">Caption 1</a>
                    <a  href="<?php echo get_template_directory_uri();?> /images/events/Caroline Springs 29112013/2.jpg">Caption 2</a>
                    <a  href="<?php echo get_template_directory_uri();?> /images/events/Caroline Springs 29112013/3.jpg">Caption 3</a>
                    <a  href="<?php echo get_template_directory_uri();?> /images/events/Caroline Springs 29112013/4.jpg">Caption 4</a>
                    <a  href="<?php echo get_template_directory_uri();?> /images/events/Caroline Springs 29112013/5.jpg">Caption 5</a>
                    <a  href="<?php echo get_template_directory_uri();?> /images/events/Caroline Springs 29112013/6.jpg">Caption 6</a>
            </div> 
<a id="openGallery" href="#">Caroline Springs</a>
$(".events .previous-events .container-list-row1 a#openGallery").click(function(e){

    e.preventDefault();


    $('.image-container').magnificPopup({
    delegate: 'a', // child items selector, by clicking on it popup will open
    type: 'image'
    // other options
    });

});