This is where I live.
You can find a bit more about me in other corners of the internet.
- Personal Blog: turbomack.github.io
- Twitter Account: @turbo_MaCk
- GitLab Profile: [email protected]
Lightweight jQuery + CSS plugin for creating responsive, dynamic & customizable pinterest like grid with diferent column width support and few display mods.
License: MIT License
This is where I live.
You can find a bit more about me in other corners of the internet.
Is there a way to trigger other method after grid resizing ends?
Example : I set in this way.
(function($){
$('#grigliarticoli').babylongrid({
scheme: [
{
minWidth: 960,
columns: 3
},
{
minWidth: 500,
columns: 2
},
{
minWidth: 0,
columns: 1
}
],
afterRender: function() {
console.log('Tutto Ok');
}
});
}(jQuery));
Resizing dont work, remains with the actual grid.
Hi
Currently I am using your grid for a search. I have the requirement to first clear the grid for a new search and then add the search results. Therefore I need a possibility to clear the cached articles.
How about adding the following code?
$(this.element).on('babylongrid:remove', function() {
self._removeArticles();
});
/*
Remove articles
*/
_removeArticles: function() {
this.cached.articles = [];
this._setColumns(this.__currentColumns);
},
Hi turboMaCk,
I have a strange issue with Firefox.
In Chrome the page loads perfectly. But in Firefox the images are not in the right height and resizing the page just makes it worse...
See yourself here:
http://cy-borg.net/maria/
Please fix line 300 in jquery.babylongrid.js
from
$(this.element).html('');
to
$(this.element).find('.babylongrid-container').html('');
Otherwise reload deletes all the content.
and change line 309 .off('babylongrid:reset') to .off('babylongrid:reload') in the destructor. This listener does not exist.
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.