Last active
December 29, 2015 18:19
-
-
Save maxmumford/7709594 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var overlay_fix_start = function() { | |
$('.overlay_fix').show(); | |
} | |
var overlay_fix_stop = function() { | |
$('.overlay_fix').hide(); | |
}; | |
// initiate gridster with the above functions executed each time a drag is started / stopped | |
$(".gridster ul").gridster({ | |
widget_margins: [10, 10], | |
widget_base_dimensions: [140, 140], | |
draggable: { | |
start: overlay_fix_start, | |
stop: overlay_fix_stop | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment