Comments (11)
Hi,
could you show the "data" string ?
from freewall.
sure...here it is: (same structure as the default brick class) ... damn github parser..attached a screeny...
freewall is initialized:
$(document).ready(function() {
var wall = new freewall('#freewall');
wall.reset({
selector: '.brick',
animate: true,
cellW: 300,
cellH: 300,
});
wall.fitWidth();
});
from freewall.
if (data != "") {
console.log(data);
wall.appendBlock(data);
is_rendering = false;
}
could you get screen shot of this ?
from freewall.
sure...simple infinite scroll stuff: attached below:::
from freewall.
Please add the line code:
console.log(data);
in your code.
I want to see the data string show in console.
from freewall.
the first screenshot I sent shows the plain console output.
plain html
from freewall.
Thank you.
Could you test by try:
if (data != "") {
//wall.appendBlock(data);
wall.appendBlock("<div class='brick' style='width: 300px; heigh:200px' > test </div>");
}
from freewall.
..thats working.
var dump = "<_div_class='brick' style='width:300px; height:200px; background-image:url(/uploads/1/6c604707-c7ce-4dd1-b38f-83485d389e69_279x400_fit_aura.jpg)'>";
wall.appendBlock(dump);
its the same in the data string...now I am thinking...ufff.
from freewall.
FYI: appending a single element (div) is working. But if I append more than one element at the same time it crashes.
from freewall.
hi, may I know the type of 'data'?
can you test it with
if (data != "") { //wall.appendBlock(data); var bricks = $(data); wall.appendBlock(bricks); }
from freewall.
@Kyojimaru it is String or HTML Element list.
It using this method of jQuery:
http://api.jquery.com/append/
from freewall.
Related Issues (20)
- Keep tile ratio HOT 2
- fixSize: 0 not always keeping ratio HOT 2
- ImagesLayout + Filter = Impossible?
- Need data-position on block HOT 1
- Using Freewall with Media Queries/Breakpoints
- vnjs.net down? HOT 6
- Freewall with Easy Tabs
- Preview website not working HOT 2
- Wall extends beyond right edge when fitwidth is used HOT 1
- Square pictures get oversized
- Gap to the right of the grid.
- how can set freewall with bootstrap 3 ?
- Problem with right to left
- Wall items drops off over edge when using col-12
- Boxes that take up more than the visible columns disappearing
- Positioning of tiles broken in specific width
- Freewall Plugin
- On Drag do not push out / knock out other elements. Only swap with final item?
- Can Freewall make the grid as 2/3 , and 1/3 in grid?
- Lazy Loading Images On Scroll
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 freewall.