/jquery-dragster

Unified drag and drop listener

Primary LanguageJavaScriptMIT LicenseMIT

Include jquery.dragster.js in page.

Works in IE.

$('.element').dragster({
	enter: function (dragsterEvent, event) {
		$(this).addClass('hover');
	},
	leave: function (dragsterEvent, event) {
		$(this).removeClass('hover');
	},
	drop: function (dragsterEvent, event) {
		$(this).removeClass('hover');
	}
});