Git Product home page Git Product logo

Comments (1)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
This is not a defect but a feature request. In the first versions of Slimbox,
duplicates were removed. Then people complained so I changed it so that images 
are
just kept untouched which I think is the expected behavior.

It's your responsibility to filter out the duplicates first. For example, 
create a
group containing all the images that you want, in the order that you want. If 
you
want to create an additional link to an already linked image, you can add a 
snippet
of javascript code that will mimic a click on the first link when clicking on 
the
second one, like this:

jQuery(function($) {
   $("#secondlink").click(function() {
      $("#firstlink").click();
      return false;
   });
});

You can also open the box directly using the Slimbox API, or define a linkMapper
function which removes specific elements from the group that you know are 
duplicates.

Original comment by [email protected] on 20 Aug 2009 at 12:31

  • Changed state: WontFix
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from slimbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.