annotate bns_website/static/js/fancybox/jquery.mousewheel-3.0.4.pack.js @ 79:548b9e61bd64

Updated bands.json to include "asset_prefix" tags for all the bands. Incorporated all the small images from Ferenc into the bands slideshow. Went through and crushed all the large images to fit within 800x600. Make sure to "manage.py loaddata bands.json" after picking this up.
author Chris Ridgway <ckridgway@gmail.com>
date Fri, 25 Nov 2011 16:54:59 -0600
parents 04991ccaf30c
children
rev   line source
bgneal@5 1 /*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
bgneal@5 2 * Licensed under the MIT License (LICENSE.txt).
bgneal@5 3 *
bgneal@5 4 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
bgneal@5 5 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
bgneal@5 6 * Thanks to: Seamus Leahy for adding deltaX and deltaY
bgneal@5 7 *
bgneal@5 8 * Version: 3.0.4
bgneal@5 9 *
bgneal@5 10 * Requires: 1.2.2+
bgneal@5 11 */
bgneal@5 12
bgneal@5 13 (function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
bgneal@5 14 f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);