Skip to content

Commit

Permalink
Small cache images size and stacking them allows for smaller negative…
Browse files Browse the repository at this point in the history
… offset #196
  • Loading branch information
pisi committed Oct 10, 2013
1 parent 88666ac commit 068128b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jquery.reel.js
Expand Up @@ -994,7 +994,8 @@
responsive || css(__, { width: width, height: height });
responsive && $.each(responsive_keys, function(i, key){ truescale[key]= get(key) });
css(____+___+dot(klass), { display: _block_ });
css(dot(cache_klass), { position: _absolute_, left: px(-100000), top: px(-100000) }, true);
css(dot(cache_klass), { position: 'fixed', left: px(-100), top: px(-100) }, true);
css(dot(cache_klass)+___+_img_, { position: _absolute_, width: 10, height: 10 }, true);
pool.bind(on.pool);
t.trigger(shy ? 'prepare' : 'setup')
},
Expand Down

0 comments on commit 068128b

Please sign in to comment.