diff --git a/galleryscript.js b/galleryscript.js index 36640ba..369cab6 100644 --- a/galleryscript.js +++ b/galleryscript.js @@ -1016,6 +1016,9 @@ function showbigimage(i) { $('#desccontainer').html(getProgressEl()+currentlink(i)+imagedesc[i]); $('#desccontainer').css('display','block'); + if (fullscreen) { + $('#imagecontainer')[0].scrollIntoView(true); + } if (zoom & !isHTML(imagelist[i])) { $(document).ready(function() { @@ -1606,8 +1609,8 @@ function keypressed(e) { if (unicode==79) { fliporiginals(); } - // s: setup - if (unicode==83) { + // s: setup or h: help + if (unicode==83 || unicode==72) { usersetupflip(); } // x: mark image @@ -1696,7 +1699,20 @@ function getsetupwindow() { ''+ '
Slideshow: seconds
'+ '
'+ - '
Help
'; + '
Keyboard shortcuts
'+ + '
'+ + 'Further Help
'+ + '
'; el.innerHTML=str; return el } diff --git a/gallerystyle.css b/gallerystyle.css index 22fab07..e4a4309 100644 --- a/gallerystyle.css +++ b/gallerystyle.css @@ -165,6 +165,11 @@ body { background-color: white; border: solid 1px black; } +#setupcontainer .thumbmenu ul { + list-style-type: none; + margin-top: 0px; + padding-left: 1ex; +} h1 { font-size: large; font-family: sans-serif;