开发者

Dragging, dropping and horizontal scrolling

I am developing an jQuery browser based game where I use jQuery drag and drop (UL list). How can I also let the user horizontally scroll this list with swipe of the mouse?

UPDATE

I am using this code. I do not want to show all cards in the first row at once. The user should be able to horizontally scroll among them. http://www.elated.com/res/File/articles/development/javascript/jquery/drag-and-drop-with-jquery-your-essential-guide/开发者_如何转开发card-game.html

Thankful for all input!


If you want to develop your own solution, take a look at the jQuery documentation regarding .scrollLeft().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜