WordPress.org

Ready to get started?Download WordPress

Forums

WP-Spreadplugin
[resolved] WP-Spreadplugin Fancybox pop up not working (6 posts)

  1. GrayD
    Member
    Posted 1 year ago #

    Great plugin, but I cannot get the fancybox pop up to work, here's a page on the site:
    http://www.codenamedesign.com/shop/now-public-3/

    No matter what I do to select fancybox in the settings or in the shortcode as shop_checkoutiframe="2" it won't work.

    Thanks

    http://wordpress.org/extend/plugins/wp-spreadplugin/

  2. Thimo Grauerholz
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Gary,

    please review your template or other plugin.

    SlidesJS is loading again an old version of the jquery library, after loading fancybox and the out of the box version of jquery of wordpress. Please update or remove the second jquery call of SlidesJS and it's working. (Have a look at the website source header, then you'll know what I mean :))

    Delete this:

    <!-- SlidesJS Required: Link to jQuery -->
       <script src="http://www.codenamedesign.com/shop/wp-content/themes/responsive01/library/js/jquery-1.7.1.min.js"></script>
      <!-- End SlidesJS Required -->

    This is not a problem of this plugin.

    If you've got further questions, don't hesitate to ask :)

    Cheers
    Thimo

  3. Thimo Grauerholz
    Member
    Plugin Author

    Posted 1 year ago #

    and know:

    Change

    $(function() {
          $('#slides').slidesjs({
            width: 600,
            height: 600,
            navigation: {
          active: true,
            // [boolean] Generates next and previous buttons.
            // You can set to false and use your own buttons.
            // User defined buttons must have the following:
            // previous button: class="slidesjs-previous slidesjs-navigation"
            // next button: class="slidesjs-next slidesjs-navigation"
          effect: "slide"
            // [string] Can be either "slide" or "fade".
        }
          });
        });

    to

    jQuery(function() {
          jQuery('#slides').slidesjs({
            width: 600,
            height: 600,
            navigation: {
          active: true,
            // [boolean] Generates next and previous buttons.
            // You can set to false and use your own buttons.
            // User defined buttons must have the following:
            // previous button: class="slidesjs-previous slidesjs-navigation"
            // next button: class="slidesjs-next slidesjs-navigation"
          effect: "slide"
            // [string] Can be either "slide" or "fade".
        }
          });
        });

    and your slider will work again :)

  4. GrayD
    Member
    Posted 1 year ago #

    Thanks Thimo, I did this, but the fancybox isn't loading still, is it a problem with the wordpress jquery?

  5. Thimo Grauerholz
    Member
    Plugin Author

    Posted 1 year ago #

    I found also a bug in my plugin. I saw you disabled the infintescroll, but the script tried to access it by mistake.
    The new update 2.9.2 should fix this!

  6. GrayD
    Member
    Posted 1 year ago #

    Great! works now, thanks Thimo

  7. Thimo Grauerholz
    Member
    Plugin Author

    Posted 1 year ago #

    Looks nice!

    (plz rate if you like :))

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic