jquery - Anybody know what is this scroll library http://rdcm.com/? -
i found site of http://rdcm.com/ , there cool app cube scrolling when drag mousewheel. know how jquery library call , can find documentation that? google don't know that.=(
maybe render same effect this plugin. there settings allow x-axis rotation.
here keydown
event, can add own mousewheel
event based on :
... $(document).keydown(function(evt) { switch(evt.keycode) { case 37: // left viewport.move({y: viewport.y - 90}); break; case 38: // evt.preventdefault(); viewport.move({x: viewport.x + 90}); break; case 39: // right viewport.move({y: viewport.y + 90}); break; case 40: // down evt.preventdefault(); viewport.move({x: viewport.x - 90}); break; case 27: //esc viewport.reset(); break; default: break; }; ...
update 1:
here live demo permiss myself edit in order give 3d cube effect exemple
this based on old answer given here
Comments
Post a Comment