codrops / pfold Goto Github PK
View Code? Open in Web Editor NEWA highly experimental jQuery plugin that let's you unfold elements to reveal more content just like a piece of paper. Unfolding directions and number of steps can be specified.
A highly experimental jQuery plugin that let's you unfold elements to reveal more content just like a piece of paper. Unfolding directions and number of steps can be specified.
Is it possible to fold an already unfold div while click on other div?
I tried adding a text field into the box, and it does not work.
Is there a way to prevent unfolded thing to get new position, so hidden parts stay hidden (user need to scroll to see full unfolded object) ?
could it be an option ? :)
nice trick. Although, Im having issues when its on mobile. the fold does not open entirely. Can you help?
Hi, I'm using PFold in a loop with infinitscroll plugin, infinitscroll does not pull any scripts from the header or anywhere when rendering new elements,so i was forced to load PFold via infinitscroll, but that will keep reloading PFold each time new elements are loaded so the script adds "div class="uc-final-wrapper" to old elements that already has it from the previous load of PFold .
what i want is to add a check in PFold so if the element already has the "div class="uc-final-wrapper" it wont add another one to it. in other words add "div class="uc-final-wrapper" only to new elements that don't have it. if you want I'll pay for this small add in your code.
Many Thanks!
Hi,
How can I destroy the plugin instance and reinitialize it on the same element? Is there a plan to add a destroyer method?
hi, I have this problem with chrome, could this be fixed or is it a technical limitation
any suggestions for fall-back to IE9? thanks a lot
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.