Viewing 6 reply threads
  • Author
    Posts
    • #1522
      flaubier
      Member

      How can I use the colorbox plugin ?

    • #1523
      Musama
      Member

      Hi, are you meaning how to choose a color from the colorbox?

    • #1524
      flaubier
      Member

      No, I am looking for the magic trick to open an image into the “ColorBox v1.3.20.2 – jQuery lightbox plugin”…

    • #1525

      Hi, the colorbox plugin has already intergrated in the theme, and if you want to use it, you should add the following javascript to “OldCar options > Custom codes > Custom javascript”

      $('a.lightbox').colorbox();

      Then add the class name “lightbox” to the a tag, for example:

      <a href="image url" class="lightbox">Colorbox</a>
    • #1806
      flaubier
      Member

      Sorry, but it doesn’t work. When I click on the photo in this post http://www.jurapix.fr/?p=1 the image doesn’t show up into Colorbox…

    • #1812

      Put the following code to “OldCar options > Custom codes > Custom javascript”

      jQuery(document).ready(function($){
         $('.lightbox').colorbox();
      });
    • #1814
      flaubier
      Member

      That’s ok. It works fine. Thanks a lot.

Viewing 6 reply threads
  • You must be logged in to reply to this topic.