Change slider's image bar default position
|
RonOnThePond
Joined: 2010-02-07
Posts: 7 |
Posted: Tue, 2010-02-09 18:22
|
|
How can I make the image bar in the slider theme default to the left side (vertical) instead of the bottom (horizontal)? I know the user can change it, but it really looks best on the side for my site, and that's how I want it to initially appear. I'm new to Gallery2, but (by scouring the forum) I've managed to make several mods successfully - thanks to all! This one, though, so far eludes me. Any help is much appreciated! |
|
| Login or register to post comments |

Posts: 17339
See if changing
var thumbs_horiz=1;to
var thumbs_horiz=0;In the js file,
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
That did it - thank you so much for your help. PERFECT!
Posts: 7
Ooops, Dave. It seemed to work initially, but it is no longer working. I have cleared the browser cache, forced page reloads, etc. I checked the code and the revision is still there. Are there multiple instances that need to be modified? Any other ideas where I can look? I really appreciate any help you can offer.
Ron
Posts: 17339
Could be, never used this theme before. Look at the JS code and see if there is any settings or cookie settings that I missed.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Although I have done some programming in days gone by, I am not a PHP or Java programmer and I really don't know what to look for in the JS code. However, I have scoured the JS file and most of the theme files and could not find any other references that set thumbs_horiz explicitly to 0 or 1. If you can suggest more explicitly what to look for I'm more than eager to put in the time to hunt it down. Otherwise, all I can really do is muck around and guess, but so far that has not worked in this case. Thanks again!
Posts: 17339
http://gallery.menalto.com/node/29273
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Thanks, Dave (again). I think that did it! Not sure why my searches didn't find that post, but I guess it's all in the keywords. Oh, well. Much appreciated!