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
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17339
Posted: Fri, 2010-02-12 01:29

See if changing
var thumbs_horiz=1;
to var thumbs_horiz=0;
In the js file,

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
RonOnThePond

Joined: 2010-02-07
Posts: 7
Posted: Fri, 2010-02-12 12:25

That did it - thank you so much for your help. PERFECT!

Login or register to post comments
RonOnThePond

Joined: 2010-02-07
Posts: 7
Posted: Sat, 2010-02-13 00:45

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17339
Posted: Sat, 2010-02-13 18:47
Quote:
Are there multiple instances that need to be modified? Any other ideas where I can look?

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

Login or register to post comments
RonOnThePond

Joined: 2010-02-07
Posts: 7
Posted: Sat, 2010-02-13 19:11

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!

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17339
Posted: Sun, 2010-02-14 18:02

http://gallery.menalto.com/node/29273

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
RonOnThePond

Joined: 2010-02-07
Posts: 7
Posted: Sun, 2010-02-14 18:45

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!

Login or register to post comments