javascript - Make whole page draggable -
i not sure start or keywords search for, asking point me in right direction. here wanting.
i wanting make webpage can dragged in directions different html elements in directions , load new elements close edges via ajax. hoping achieve via bootstrap or jquery.
any ideas on how page draggable that?
jquery ui has draggable method work you, long target viewable area element initiallize plugin on. if prefer more lightweight approach can use plugin created chris coyier.: https://css-tricks.com/snippets/jquery/draggable-without-jquery-ui/.
an example of working in 2 directions found in thread well: scroll page on drag jquery actual plugin being used in demo supports direction dragging - see authors site: http://davetayls.me/jquery.kinetic/
Comments
Post a Comment