|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Just a Guy with a Camera
|
Passworded gallery thumbs
Is there a way to add a class to the featured thumb for a passworded gallery? I'd like to make it so when the thumb of a passworded gallery is hovered the image changes. However, I do not believe there is a unique class for the thumb of a passworded gallery if there is a featured image like there is if it's the standard SM generated "locked gallery" thumb.
I seem to remember that I was given some JS once to add a class to the passworded gallery "passwordPage" when one did not exist.
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.r2rcoalcity.org • www.tinleyparkfrankfortrotary.com • www.smalltowntheatrics.com Use this code:8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
#2
|
|
|
Just a Guy with a Camera
|
I guess I'm looking for something like this
Code:
YE.onAvailable("content", function () { if (YD.hasClass(this, "galleryPassword") || YD.hasClass(this, "passwordPage")) { YD.addClass(document.body, "passwordBody"); } });
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.r2rcoalcity.org • www.tinleyparkfrankfortrotary.com • www.smalltowntheatrics.com Use this code:8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
#3
|
|
|
Just a Guy with a Camera
|
No thoughts at all?
I know I come up with crazy ideas sometimes but I thought someone here would know how to do this with all the brain power on this site.
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.r2rcoalcity.org • www.tinleyparkfrankfortrotary.com • www.smalltowntheatrics.com Use this code:8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
#4
|
||
|
Major grins
|
Quote:
toni, have you tried something like this yet? Code:
.category_The_Broadway_Dance_Center_2012
.photoLarge:hover:before
{content:"Password Protected!!";
font-size:24px;position:absolute;top:5px;right:5px;
color:#fff;background-color:red}
you could use an image with type of rule also...something like this, but you'd have to tweak the position and add your dimensions into it: Code:
.category_The_Broadway_Dance_Center_2012
.photoLarge:hover:before
{content:url(/photos/647730640_gJCNb-O.png);
position:absolute}
obviously this can be applied to a whole category via css...I'm sure you could write a script that would look for "locked" galleries and apply this css to all locked galleries.....let me know your thoughts on it. |
|
|
|
||
|
#5
|
||
|
Just a Guy with a Camera
|
Quote:
I'm actually trying to get this to work for all locked galleries and have a set hover image to show it's locked and requires a password.
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.r2rcoalcity.org • www.tinleyparkfrankfortrotary.com • www.smalltowntheatrics.com Use this code:8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
||
|
#6
|
||
|
Major grins
|
Quote:
For now, just give it a try in your CSS and see what you think...you'll only see the change on this page: The_Broadway_Dance_Center_2012 I'll look into a script for you so it applies on locked galleries... |
|
|
|
||
|
#7
|
|
|
Just a Guy with a Camera
|
I tried it. It's pretty close to what I would like. I'd rather have a stock png file but we can work on that. If you can get ti to work for all locked galleries that would be great.
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.r2rcoalcity.org • www.tinleyparkfrankfortrotary.com • www.smalltowntheatrics.com Use this code:8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
#8
|
|
|
Just a Guy with a Camera
|
Any chance you have time to look at this?
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.r2rcoalcity.org • www.tinleyparkfrankfortrotary.com • www.smalltowntheatrics.com Use this code:8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| 6 across gallery thumbs? text underneath? | austinjames | SmugMug Customization | 10 | Jan-20-2012 09:00 AM | |
| Slideshow Gallery Customization- move thumbs BELOW main image gallery | sgolonks | SmugMug Customization | 1 | Jan-06-2012 02:48 AM | |
| Gallery description, gallery nav. style QUESTIONS | voicelit | SmugMug Customization | 7 | Feb-16-2010 04:18 PM | |
| PopularPhotos thumbs don't readjust size when gallery thumbs are adjusted | JerryBarton | Bug Reporting | 1 | May-01-2009 04:22 AM | |
| Is it possible to have galleries AND categories on the home page? | jfriend | SmugMug Customization | 3 | Jun-27-2008 05:43 AM | |
| Thread Tools | |
| Display Modes | |
|
|