Skip to content

xbogdan/simplr-smoothscroll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#simplr-smoothscroll

##DEMO

##Requirements jquery-mousewheel

##Usage

$(function () {
	$.srSmoothscroll();
});

##Browser and os detection Browsers that support smooth scrolling natively may be excluded.

$(function () {
	var platform = navigator.platform.toLowerCase();
	if (platform.indexOf('windows') != -1 || platform.indexOf('linux') != -1) {
		if ($.browser.webkit) {
			$.srSmoothscroll();
		}
	}
});

This will enable simplr-smoothscroll only for webkit browsers on windows and linux.

About

Smooth scrolling in all browsers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published