You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Gridster ( v0.7.0 - 2017-03-27 ) for my web site, and i need to add lot of widgets with "add_widget" command. While adding multiple gridster instances on the same page, page loads forever or hang during page load. Tested it on both Chrome & Firefox browser and issue exits.
Tried the solution provided here: #166 But it does't work.
I'm using Gridster ( v0.7.0 - 2017-03-27 ) for my web site, and i need to add lot of widgets with "add_widget" command. While adding multiple gridster instances on the same page, page loads forever or hang during page load. Tested it on both Chrome & Firefox browser and issue exits.
Tried the solution provided here: #166 But it does't work.
Any ideas how to fix this problem?
Here's my code:
var gridster = [];
for(i=0; i<=5 ; i++){
gridster[i]=$(".gridster ul.grid"+i).gridster({
widget_base_dimensions: [5, 5],
widget_margins: [5, 5],
shift_widgets_up: false,
shift_larger_widgets_down: false,
collision: {
wait_for_mouseup: true
},
avoid_overlapped_widgets: true
}).data('gridster');
}
The text was updated successfully, but these errors were encountered: