Comments (1)
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)
- IE9 error- something is wrong with nextImage and prevImage var at the end of the array ! HOT 1
- Mini update for mootools 1.3
- Missing $ at ln 6 col 170 HOT 1
- Reversed sort order when div holding images is float:right. HOT 1
- Source Code Wont Work HOT 1
- Upgrading from jQuery 1.4 to jQuery 1.9 breaks slimbox HOT 16
- Firefox image not center of window HOT 1
- Overlay above the image issue
- v2.05 - example file in download, image not displaying in Chrome, FF, IE HOT 2
- Slimbox popup window showsno image in Safario n iPad
- slimbox 2 with IE10 callbacks dont display and
- Would be great to have this library in Nuget HOT 1
- Captions don't support newline
- Rescan? HOT 1
- Images doesn't automatically resize to fit viewport HOT 1
- Not working after ajax call HOT 1
- Say it's jQuery plugin HOT 1
- JQuery 3
- npm HOT 1
- Slimbox2 creates "Empty Links," which violates the WCAG 2.0 Accessibility Guidelines
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slimbox.