(0.0)
0
Strona wtyczki
Oficjalna witryna wtyczki
Zobacz więcej
Avgrund to plugin jQuery dla modalnych okien i standardowych popupów.
Wykorzystuje ciekawą animację oraz zmianę rozmiaru całej witryny. Plugin działa na wszystkich nowoczesnych przeglądarkach jak również na starszych, ale bez efektów transformacji i przejść. Posiada rozbudowane możliwości konfiguracji animacji. Testowane z jQuery 1.4 +.
Instalacja
  • JS
$('element').avgrund({
	width: 380, // max is 640px
	height: 280, // max is 350px
	showClose: false, // switch to 'true' for enabling close button
	showCloseText: '', // type your text for close button
	closeByEscape: true, // enables closing popup by 'Esc'..
	closeByDocument: true, // ..and by clicking document itself
	holderClass: '', // lets you name custom class for popin holder..
	overlayClass: '', // ..and overlay block
	enableStackAnimation: false, // another animation type
	onBlurContainer: '', // enables blur filter for specified block
	openOnEvent: true, // set to 'false' to init on load
	setEvent: 'click', // use your event like 'mouseover', 'touchmove', etc.
	onLoad: function (elem) { ... }, // set custom call before popin is inited..
	onUnload: function (elem) { ... }, // ..and after it was closed
	template: 'Your content goes here..' // or function (elem) { ... }
});
Podobne