Thanks for the advices!!!
All i did is to add one more grep, the rest was the original code!
I edited index.html and rotation.html to use external js files.
I also edited rotation.html to add:
- adjust scroll: while reading, you can increase or decrease the scroll down by hitting the "menu". The default scroll is 600px. Increase and decrease change it by steps of 330px.
This means: you hit decrease ==> the new scrolldown is (600-330)=270px.
I choosed 330px because this was the perfect size for "3 strips page" comics like this:
http://imageshack.us/photo/my-images/136/ratman72.jpg/
You can choose your perfect scroll size by editing the rotationJS.js file:
PHP Code:
function changeScroll (ele) {
scelta = document.getElementById('adjustScroll').value
if (scelta == "more") {
scrollheight=scrollheight+330;
} else if (scelta == "less") {
scrollheight=scrollheight-330;
}
menuOff();
}
- I removed the dropdown menu in landscape mode because the popup window appears in an odd place (not centered). This means that long folders list are cut.
I moved back to the old text input box. Just write the folder name in it and press "choose folder".
I know it's boring, but, afaik, I can't choose where to open the popup window.
**************INSTALLATION**************
As always, just replace files in /imagegallery/bin
***************************************