Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Genocide

    (@genocide)

    Now Colorbox it’s working in all my pages, but I’m seeing the last image that I clicked before load another page, what can I do?

    Thread Starter Genocide

    (@genocide)

    Anybody can help me? 🙁

    Plugin Contributor techotronic

    (@techotronic)

    Hi,
    why have you manually copied a JavaScript function from the plugin and call it? This causes a JavaScript error:
    $(this).colorboxImage is not a function

    If you want to call all necessary JavaScript functions bundled in my plugin, just do what the plugin does on every page load:

    jQuery(document).ready(function() {
      if (Colorbox.autoColorboxJavaScript == "true") {
        colorboxAddManualClass();
      }
      if (Colorbox.colorboxAddClassToLinks == "true") {
        colorboxAddClassToLinks();
      }
      if (Colorbox.autoHideFlash == "true") {
        colorboxHideFlash();
        colorboxShowFlash();
      }
      colorboxSelector();
    });

    (colorboxSelector() actually adds the colorbox functionality to the images)

    Cheers,
    Arne

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: jQuery Colorbox] Livequery implementation’ is closed to new replies.