Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Can we Please have the slider draggable on Mobile devices as well.
Presently it's not draggable on mobile devices.
Thanks in Advance.
Comments
Comment #1
lazyD CreditAttribution: lazyD commentedComment #2
sinasalek CreditAttribution: sinasalek commentedComment #3
culfin CreditAttribution: culfin commentedThis may be resolved by adding the query UI Touch Punch library (via libraries integration?).
Here's the link to the project: http://touchpunch.furf.com
For D8, this library has been added to core, see https://drupal.org/node/1955926
Unfortunately I'm not a programmer, but I hope this info is useful.
Comment #4
no.exploit CreditAttribution: no.exploit commentedThanks Mr culfin help Full :)
Comment #5
sinasalek CreditAttribution: sinasalek commentedSince the library is generic, this is out of the scope of this module. it should probably be added through another modules like
https://drupal.org/project/jquery_plugin
https://drupal.org/project/jqp
Comment #6
aliaric CreditAttribution: aliaric commentedUI Touch Punch library wont work on default Drupal jquery version (1.4.4). It requires at least 1.7
So, to add touch support by default to current d7 sliderfield version will be kinda complicated.
Comment #7
sinasalek CreditAttribution: sinasalek commentedjquery_update module can be used to update jquery and jquery ui
Comment #8
aronanda CreditAttribution: aronanda as a volunteer commentedHere's my solution using vanilla Drupal (no jQuery Update):
and then load it through:
Note that I had to load it only when jquery.ui is loaded, and the libraries module is a dependency.
Comment #9
arled CreditAttribution: arled commentedClosed (works as designed) - You're kidding right!!
Comment #10
Shane Birley CreditAttribution: Shane Birley commentedFor anyone who finds this thread, you can use this module to install the Touch Punch library.
You can also grab the library file from here. The minimized version works fine as the module recognizes variants.
Comment #11
sano CreditAttribution: sano commentedthanks Shane.