Comments (9)
Remove clone:false.
from flexisel.
Hello,
I tried this but this does not work. It make changes in code which results in layout changes.
see here is what is displayed after removing clone:false
Please provide suitable solutions..
I need to add ad div with clear:both, please tell me how can i restrict div element to be cloned again and again..
from flexisel.
You are likely seeing that because the inner div needs to be a bit wider in the CSS which you can increase. How to do this and where is discussed in issue #5. Please let me know if there is anything else that you need.
from flexisel.
no. actually i am having following code
<ul class="flex">
<li> <img....></li>
<li> <img....></li>
<li> <img....></li>
<li> <img....></li>
<div class="clearfix"></div>
</ul>
if i add clone:true then flexisel is clonning entire section inside
from flexisel.
Ah ok. So the clone is happening at the end of the "appendHTML" method
if (settings.clone) {
var cloneContent = object.children().clone();
object.append(cloneContent);
}
You'll need to target it to just clone the list items
if (settings.clone) {
var cloneContent = object.children('li').clone();
object.append(cloneContent);
}
But you will need to keep clone: true to have the infinite scroll. Give that a try and let me know how that works out for you.
from flexisel.
Hello
I'm having the same problem. As soon as I add more than 4 pictures, I get "double rows" or sometimes even "triple rows". If I turn clone "off", it only displays a double row when loading the first picture but it's not fixing the issue. Also tried your proposed fix, but had no luck. Here's my test website that exhibits the problem: http://michaeloldhouse.com/AlthausProductions/portfolio.php
Any help is appreciated!
from flexisel.
Hi cordvision -- I think you will also need to make the adjustment described in issue #5 I actually made this change in the latest commit as well so if you want to pull the latest that should be in there for you. Also, for the infinite scrolling you will need to have clone:true. The example provided has clone set to false.
from flexisel.
Did this resolve the issue for you?
from flexisel.
@9bitStudios i am not using felxisel. Now I am using owl carousel on this project.
Will try flexisel in any other project again and hope this issue is fixed untill then..
from flexisel.
Related Issues (20)
- - increment margin between items HOT 2
- Multiple calls on window resize HOT 4
- Element order when set infinitely:true HOT 4
- Slides. second item overlaps with previous and next one HOT 2
- Need to trigger methods.scroll(true); from page on mouseover event. HOT 1
- Dynamic Data Binding HOT 1
- visibleItem:1 is not working properly HOT 2
- Can this flexisel compatible with ie8 HOT 2
- Can we turn off slider on small widths HOT 3
- swipe is left or right? HOT 1
- Event Propagation HOT 1
- How to disable touch swipe HOT 1
- When autoplay is enabled, DOM gets bombarded with duplicate clones. HOT 3
- How install in angualr js..? HOT 2
- Disable next button condition HOT 1
- Add bullets pagination HOT 1
- Needs a up/down carousal animation HOT 1
- Pause Slider until it's visible in the viewport
- For many picture norounded value problem solved liked below
- Not working with latest jquery version 3.x HOT 1
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 flexisel.