paperfold | 3d Paperfold Animation Library | Frontend Framework library
kandi X-RAY | paperfold Summary
kandi X-RAY | paperfold Summary
Fold website elements in 3D. Demo: [felixniklas.com/paperfold] It’s based on an [experiment] from 2011. Include jQuery and paperfold.js in your site. Call paperfold on the container you want to fold and bind the fold interaction to a button or any other interaction.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns the parent scroll parent of an element
- Calls the callback when the content changes
- draw a line
- Creates a fake fold shadow under the content of the folder
- Animate a percentage to another page .
- show content
- hide content
- Check if an object is positioned
- Generates the foldfolders
- set the index to the vertical index
paperfold Key Features
paperfold Examples and Code Snippets
Community Discussions
Trending Discussions on paperfold
QUESTION
I am trying to display a list-item menu whenever the user hovers over the burger menu. So far it is working as expected, when I hover over the icon, the list-items appear.
But there's no animation attached to them, they just appear out of no where. I would like to add a folding animation but I have no idea how to do that.
Something similar to Paperfold JS which I have tried to use but was not successful, maybe because it's outdated (2 years old)? So I reverted back to doing it manually.
Another example of the effect I'm aiming at is this website http://lempens-design.com
There's also another small "bug" that when I hover over the div of the menu icon and try to move the cursor to the list-items below, they disappear. I have to hover over the menu icon several times to be able to have the list-items stay active and in-focus.
DEMO https://jsfiddle.net/fupu02kh/1/
HTML
...ANSWER
Answered 2017-Mar-24 at 15:49Try with this updated code. I edited your code ( some CSS and JS).
jsfiddle.net/fupu02kh/2/
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install paperfold
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page