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.
Hi,
Im using Galleria with ImageField..
But I need the image switched using keyboard arrow key.. (next and previous using left and right arrow key)
Do you know how to make it?
Thanks in advance.
Comment | File | Size | Author |
---|---|---|---|
#3 | galleria.patch | 718 bytes | rapsli |
Comments
Comment #1
Mark Theunissen CreditAttribution: Mark Theunissen commentedYes, you could use javascript and bind the key press to trigger the event. It's a programming task.
Comment #2
rapsli CreditAttribution: rapsli commentedI'm working on this.
Further I'm working on support for nodereference
Comment #3
rapsli CreditAttribution: rapsli commentedpatch for using key navigation (arrow left and arrow right)
Comment #4
dman CreditAttribution: dman commentedA reasonable idea, but I can't see how to apply the patch. It says it is for a file called 'galleria.js' but no file of that name seems to be in the current release.?
If you'd made the patch with the
-up
options I may have been able to figure it out.Also has some extra whitspace in odd places.
Try making the change on a checked-out version of the code, then you can go
cvs diff -up
and get a clean diff against the current branch.Comment #5
apasaja CreditAttribution: apasaja commentedthanks for the reply..
Im trying and waiting
Comment #6
rapsli CreditAttribution: rapsli commented-> right now pretty tight with my schedule, but the patch is trivial.
Just append the php stuff to the end of the document (remove + and @ stuff)
Comment #7
apasaja CreditAttribution: apasaja commentedstill not works for me... maybe I missing some codes..
Anyone got it works?