roncioso / flip-jquery Goto Github PK
View Code? Open in Web Editor NEWFlip! is a jQuery plugin that enables card-flip animations with only css animation
Home Page: http://lab.smashup.it/flip
Flip! is a jQuery plugin that enables card-flip animations with only css animation
Home Page: http://lab.smashup.it/flip
Hi,
I ran the code of Flip without using the Jquery UI, it worked, I just want to know if without using the Jquery UI, there will be no problem.
Do we really need to have Jquery UI?
Thanks :-)
How can I call onEnd function, but only after revertFlip and not before?
$(".toFlip").mouseenter(function(){
console.log("mouseenter");
$(this).flip();
}
}).mouseleave(function(){
console.log("mouseleave");
$(this).revertFlip();
});
Additional mouse leave events gets triggered (from clone objects I believe) when object is flipping.
When I use this script on list items (
Is it somehow possible to stop the animation and jump straight to another direction or another animation ?
thanx in advance
best regards
Objects still switch place, but no transition is seen.
Wordpress 4 ships with jQuery 1.11.1, and manually rolling it back to 1.11.0 fixes the issue… I'm still troubleshooting...
Hi!
Thanks for this great plugin!
I have a bunch of flip divs with not the same height, How can I set Flip! to keep the same height between the front and back div (without css)?
BC
Hello - I would really like to use your plug-in, but it's really lacking in terms of examples. It would be really helpful if you included a sample file in the download package that showed how to flip standard html content, not just basic text.
Thanks!
Hi,
there is no possibility to have two flip animations on one page.
It seems that when the page direction is RTL, for example with Hebrew, the flip effect doesn't appear in the right place. This affects Chrome and IE but not Firefox. As soon as I change the page CSS to LTR it works again.
Any idea how this can be fixed?
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 roncioso/Flip-jQuery
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": "roncioso/Flip-jQuery",
"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!
If you try to flip more than one item using a class selector it will revert back to the original item.
Any ideas how to fix it?
I placed a "Text" box item in the container, and wanted to enter something, as soon as I clicked on "Text box" or the "Submit" button, it back flipped again. Here is the code that I wrote:
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sponsor Flip Wall With jQuery & CSS | Tutorialzine demo</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<link type="text/css" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery.flip.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="myjs.js"></script>
</head>
<body>
<div id="clearfix" style="height:50px; width: 400px; background-color:red">
</div>
</body>
</html>
$( document ).ready(function() {
var $row =$('<div/>', {
class : 'row'
});
var $col =$('<div/>', {
class : 'col-xs-6'
});
var $content =$('<div/>', {
class : 'input-group'
});
var $input=$('<input/>', {
type : 'text',
class : 'form-control',
placeholder : 'WI 1234567890'
});
var $span =$('<span/>', {
class : 'input-group-btn'
});
var $button =$('<button/>', {
class : 'btn btn-primary',
type : 'button',
text : 'Go'
});
$span.append($button);
$content.append($input);
$content.append($span);
$col.append($content);
$row.append($col);
$("#clearfix").append($row.hide());
$("input").click(function(event){
alert('click');
return false;
});
$content.click(function(event){
alert('click');
return false;
});
var clicked=false;
$("#clearfix").click(function(event){
if(clicked===false){
$("#clearfix").flip({
direction: "lr",
color: "red",
content: $row
});
clicked=true;
}
else{
clicked=false;
$("#clearfix").revertFlip();
}
//event.stopPropagation();
return false;
});
});
Hi guys,
Just a quick question, is this library compatible with jQuery Masonry? I am having a really tough time integrating the two libraries together to produce some magic. Has anyone tried that?
There is no wiki page, the readme file is empty, and the link is broken?
Hi all,
I try to use the Flip function on a SVG object.
The effect is running but the SVG does not appear during the transformation (only the rectangle DIV containing the SVG).
Is there a way to fix that issue ?
Thx
The waist size is hard-coded at 25%. For a current project the client wants the flip to be less pronounced, so the plugin should allow the waist size to be config driven.
Lovely little plugin but unfortunately its messing with my sites functionality.
I have various buttons and events happening on my page. Once .flip()
is called that functionality is lost unless it is wrapped in the onEnd:
function.
Similarly the revertFlip()
function seems to remove the functionality of the original content.
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.