Comments (2)
It may be slightly "nicer" if done like this:
$(document).ready(function() {
var ps = $('li.photoset');
ps.find('.photo-slideshow')
.pxuPhotoset(options, function() {
$(this).css({display: 'block'});
ps.find('.html_photoset').remove();
});
});
Or perhaps using jQuery's fades instead of just snapping into view. The general idea is the same though.
from extended-tumblr-photoset.
I don't mind the idea of falling back to Tumblr's version if the user has JS disabled, but that's a lot of extra resources to be forcing on 99% of the user base.
If you want a JS disabled fallback, I'd rather just make use of the no-js
class and provide some rudimentary styles.
from extended-tumblr-photoset.
Related Issues (11)
- Caption Support HOT 1
- Rebinds to all dom events every time it gets called
- Open the lightbox on photo click (as opposed to zoom icon click) HOT 3
- highRes images not showing with demo mockup HOT 1
- next image not shown in slideshow HOT 1
- Conflict with bootstrap HOT 1
- 245px and 160px photosets HOT 3
- Used this to build a photoset plugin in CommonJS format HOT 2
- how do you implement it with masonry?
- Gutter being applied to last row
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.