Unregistered
Unregistered
Guest   Less than 1 minute ago
#1

Hello,

Is it possible to navigate from image to image by using left/right arrow keys? About the same way as in Facebook. I currently have a fresh install with the default plugins only. Hopefully this is possible to achieve without any extra plugins. Couldn't get it to work i Fx 3.0 at least.

Administrator
Administrator
acrylian   05-08-2008, 08:42
#2

None of the themes is set up (to my knowledge) for keyboard usage. Of course that is possible, this could be done without plugins, but you would need to change the html/css of the theme you wish to use. There are basically two solutions:

  1. HTML: Using access keys within : http://en.wikipedia.org/wiki/Access_keys
  2. Javescript: Using eventhandlers (onKeydown etc): http://www.w3schools.com/jsref/jsref_events.asp
Member
Member
krainbolt   06-08-2008, 23:12
#3

Take a look at the Cimi theme for one way to implement this.

Member
Member
saraconstanca   24-05-2011, 00:56
#4

Here is a possible solution created by my dear friend Jorge Matias who is helping me with webdesign development:

Insert this code snippet in the file: "zenphoto/themes/default/image.php" just before the tag "",

  • ------8

                                     break;
                     }
             }
  • ------>8------

Jorge

Administrator
Administrator
acrylian   24-05-2011, 08:05
#5

It is probably much easier to do this using jQuery. If you can live with pressing an two keys you even could do this with CSS alone.

Member
Member
Laurent   24-05-2011, 09:07
#6

Or use this plugin http://www.zenphoto.org/news/keyboard-plugin

Administrator
Administrator
acrylian   24-05-2011, 09:18
#7

Right, always good to look what is already there...;-)

Member
Member
saraconstanca   24-05-2011, 10:35
#8

This is cool Laurent, it seems to be pretty much the same thing Jorge Matias did but thanks any way.

I did search for it here Acrylian, but all I found was this thread. I'm probably just a newbie...

Administrator
Administrator
acrylian   24-05-2011, 10:56
#9

My comment was actually because I did forget that plugin as well as I did not look, too.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.