toddmotto / superbox Goto Github PK
View Code? Open in Web Editor NEWSuperbox, the lightbox, reimagined
Superbox, the lightbox, reimagined
In the documents you forgot to add a wrapper class outside of superbox-list.
Looks good, Todd, as always. One feature request: could you add a loading indicator to "soften" the transition when the large image loads, especially on slow connections?
Ah, while I'm at it, let's add another feature request: css animations instead of (or with a fallback to) jquery's animate, which is noticeably slower on some mobile devices as it doesn't use hardware acceleration.
The full images are loaded using 'data-img', is there a method for loading more than one image? Essentially allowing multiple images to stack vertically…
You can use http://projects.jga.me/jquery-builder/ to build custom jQuery for superbox to work -
you need css dimensions effects offset
This is just a suggestion
Each click at a image fires a scroll event, also if position is already correct.
You could test it by clicking images at the same image row.
http://toddmotto.com/labs/superbox/
Shouldn't scroll if You click images at the same row?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.