Skip to content

Instantly share code, notes, and snippets.

@johnhaitas
Created July 21, 2012 17:27
Show Gist options
  • Save johnhaitas/3156488 to your computer and use it in GitHub Desktop.
Save johnhaitas/3156488 to your computer and use it in GitHub Desktop.
conditionals for conditional binding events for browsers in FixedColumns
if ( !$.browser.mozilla )
{
// Bind 'scroll' for most browsers
} else {
// Bind 'scroll' for Mozilla browsers
}
if ( $.browser.safari )
{
// Bind 'mousewheel' for Safari
}
@johnhaitas
Copy link
Author

the $.browser.firefox conditional is no longer necessary ... just the $.browser.safari conditional

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment