Options

PhotoBar off except for specific galleries?

spider-tspider-t Registered Users Posts: 443 Major grins
I'd like to have the photobar off for all galleries, except for some. I tried this code, but no photobar in the galleries where I want it.

What did I do wrong?


/*====================*/
/*== photo bar HIDE ==*/
/*====================*/
showPhotoBar = false;

/*=======================*/
/*== photo bar UN-HIDE ==*/
/*=======================*/
if (YD.hasClass(document.body, 'gallery_2470718'))
showPhotoBar = true;
if (YD.hasClass(document.body, 'gallery_2418218'))
showPhotoBar = true;



I should see the photobar in this gallery:
http://www.trishtunney.com/gallery/2470718


thanks!
Trish
Sign In or Register to comment.