hakimel / forkit.js Goto Github PK
View Code? Open in Web Editor NEWan animated GitHub ribbon
License: MIT License
an animated GitHub ribbon
License: MIT License
Hi, I liked your project very much & want to implement in my application as filter for grid.
I want to close the ribbon if user either click Search button or click cancel but current close work only for first button.
how to apply close event on multiple buttons.
pl help or guide me what to change to get desired result
We at VersionEye are working hard to keep up the quality of the bower's registry.
We just finished our initial analysis of the quality of the Bower.io registry:
7530 - registered packages, 224 of them doesnt exists anymore;
We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).
Sadly, your library hakimel/forkit.js
is one of them.
Can you spare 15 minutes to help us to make Bower better?
Just add a new file bower.json
and change attributes.
{
"name": "hakimel/forkit.js",
"version": "1.0.0",
"main": "path/to/main.css",
"description": "please add it",
"license": "Eclipse",
"ignore": [
".jshintrc",
"**/*.txt"
],
"dependencies": {
"<dependency_name>": "<semantic_version>",
"<dependency_name>": "<Local_folder>",
"<dependency_name>": "<package>"
},
"devDependencies": {
"<test-framework-name>": "<version>"
}
}
Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.
NB! Please validate your bower.json with jsonlint before commiting your updates.
Thank you!
Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!
i have added this css code and i have seen that on FF16 the animation it's fluid and not lag.
i have increased the value of width and height with padding-left for not hide the ribbon.
.forkit {
width: 200px;
height: 300px;
z-index: 4;
overflow:hidden;
padding-left: 100px;
}
Start dragging the ribbon and bring it to the right of the screen (passed browser limits). This will send the ribbon to heaven.
Would you be interested if I submit a PR for closing the slider when the esc key is pressed?
I can drag the ribbon, but clicking the ribbon instead goes to the github page, and does not trigger 'onRibbonClick()'.
After trying to use the .click event trigger to open a second form that does not have the icon showing, I figured out the .click event is conflicting with the .mousedown/.mouseup events.
Going to try assigning a new event that has nothing to do with mouse captures as a backup way to resolve my issue, but leaving this here as a "head's up" about the eventListener conflicts. :)
Hello, This is a very cool bit of coding. I was curious if there was a way to make the area around it smaller. I'm new to design work and haven't been able to figure it out on my own. I would like it to not start the animation until you are actually over the ribbon. As of right now, it starts to interact with it from quite the distance.
This is where the cursor is when the ribbon pulls from the corner. I'd like to be able to modify the area that the cursor starts to interact with the ribbon.
Hi.
First, thanks and bravo, I used forkit.js for a couple of years and.. I love it!
The demo page at lab.hakim.se/forkit-js/ is failing with a 403 error, and the old link I had http://hakim.se/lab/forkit.js is dead too.
Could you bring it up back online plz?
Thanks in advance.
Hello,
Can you add a minified version of the script ?
thanks
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.