Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

"Step back" function, can I disable?
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=316
Page 1 of 1

Author:  Tubaplayer.com [ 17. May 2006, 16:55 ]
Post subject:  "Step back" function, can I disable?

Hi again!

Is there any way to disable the "step back" function that is activated by the arrow up key (accesskey..??)?

I find that on my computer (with a 12" screen), I often have to scroll up and down to view the whole page. I don't want to make the images smaller, since most other users probably have bigger monitors and higher resolution, so they can see the eniter site without scrolling. But for me it's annoying that the photo gallery goes to the parent folder/view when I use the arrow keys to navigate...

Paal

Author:  TinyWebGallery [ 17. May 2006, 18:00 ]
Post subject: 

sure - you have to modify the "keydetection".

There are 2 different ones - for ie and for the rest like firefox ;).

the one from firefox is in the js/twg_key.js

the one for ie in the index.php - search for
window.event.keyCode

then remove the key codes for up.

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/