Comments (9)
Have you been able to solve this issue? When you say you don't seem to be able to create more than 1 Jtinder slider what scenario are you talking about?
from jtinder.
It's a long time ago since I posted the question.
But I had a problem instantiating multiple jTinder objects. When you would swipe the first one the second jTinder slider would also react to that function. Easy said, the 2 jTinder sliders were actually 1 and wouldn't react apart from each other.
But maybe it has been fixed now :?
Like this:
$("#first_jTinder").jTinder({
onLike: function (item) {
// this also triggers the second onLike jTinder slider
}
});
$("#second_jTinder").jTinder({
...
});
from jtinder.
MelleDikstra, I'm also interested in a solution to this.
from jtinder.
@melledijkstra I figured it out. If you still need it, let me know.
from jtinder.
@haveabyte Good job!
But I don't need it anymore. Thanks anyway!
from jtinder.
Can you guys comment on how this was solved?
from jtinder.
@haveabyte Can you help post on how you were able to resolve this? thanks in advance
from jtinder.
I was able to solve this, ill try to post some help tomorrow or this week.
*EDIT: This actually has to do with the 'this' context in this plugin. It's always referring to the first object you created. Use the proper context and you'll be fine.
from jtinder.
I actually posted this up to a URL to work on it and kind of forgot about it. So I don't remember how it all works, but if anyone wants, go grab the code from the page and try to figure out what the heck I actually did. :)
from jtinder.
Related Issues (20)
- Rotation depending on number of slides HOT 1
- Interactive elements within each slide
- jTinder buttons HOT 1
- Implementation in Angularjs HOT 2
- Save to database HOT 3
- Destroying and reinitializing a new JTinder instance HOT 1
- Restart the slide from first HOT 3
- can i make any element clickable inside jtinder li element? HOT 3
- how to dynamically update the images
- How to Undo Swipe? HOT 5
- Dynamic Html HOT 7
- add sidebar
- Images responsive
- Not an Issue
- I want to display perticular card
- Destroy method for the plugin HOT 7
- Mobile firefox bug?
- NPM module HOT 2
- How does create superlike?
- Swipe on left and right
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.
from jtinder.