malihu-custom-scrollbar-plugin icon indicating copy to clipboard operation
malihu-custom-scrollbar-plugin copied to clipboard

Drag content

Open fedeweb opened this issue 10 years ago • 7 comments

Is it possible to have the content draggable?

fedeweb avatar Mar 30 '15 14:03 fedeweb

jj2020driver avatar Aug 13 '15 09:08 jj2020driver

The content is draggable via touch. If you mean draggable via mouse, it's not possible (at least not without modifying the script)

malihu avatar Aug 20 '15 14:08 malihu

+1

Has anyone managed to get this working?

janein avatar Dec 02 '15 10:12 janein

@janein

Check how I made it here, connecting malihu-custom-scrollbar-plugin with another plugin for drag. It requires a bit of scripting. Script itself is placed inline in the bottom of markup. Check if you're interested. http://aqua.dreamtown.ua/map/

jj2020driver avatar Dec 02 '15 11:12 jj2020driver

thanks @pawlikdoc for the quick response! I tried your approach and it works perfectly fine. =)

PS: I didn't even need the draggabilly plugin - so there is no ugly overhead ;)

janein avatar Dec 02 '15 12:12 janein

Janein, mind sharing how you got this working without draggabilly? I am trying to solve the same problem now, where I have a horizontal list of image thumbnails which are scrollable, I need to set up the list to allow the thumbnails to be draggable to via mouse to scroll content area.

michaellouviere avatar Mar 16 '18 17:03 michaellouviere

@janein

Check how I made it here, connecting malihu-custom-scrollbar-plugin with another plugin for drag. It requires a bit of scripting. Script itself is placed inline in the bottom of markup. Check if you're interested. http://aqua.dreamtown.ua/map/

Link is broken :-(

jsalvata avatar Oct 30 '19 17:10 jsalvata