PDA

View Full Version : Display MapThis when altViews are Hidden?


sealedglass
Jul-08-2009, 09:34 PM
I'm using the following code to hide my altViews from all my galleries (don't want to show Share or Rate buttons):

#altViews {
display: none
}

.loggedIn #altViews {
display: block;
}

It works well to hide all the extra stuff, but I've read that the MapThis button is also included in altViews and I'd like to add this option back in. I tried adding the following blurb after the above but it didn't work:

.notLoggedIn #mapsbutton {
display: block;
}

Is there an easy way to add the MapThis button back to all galleries without displaying all altViews?

Thanks!

jfriend
Jul-08-2009, 10:02 PM
Hiding altViews hides everything inside it. To see anything inside it, you have to make altViews visible and then just hide the things inside of it that you don't want to see.

The Share button you should turn off in your customize gallery screen (turn off easy sharing) and it will go away. Or, if you only want it visible when logged in, you can use this CSS:
.notLoggedIn #shareButton {display:none;}

The slideshow button can be hidden with this CSS:
#slideshowButton {display:none;}

That should leave just the map button. Let me know if you need further help and please include a link to a gallery that has a map this button.

sealedglass
Jul-09-2009, 07:17 AM
Thanks, John; that did it. I can't remember why I switched over to altViews from individually removing the share and slideshow options, but didn't even think about it until I started using the GP-1 to add geo data. I only have it in a handful of pictures so far:

People of Pike Place Market, Seattle, WA (http://www.sealedglassphoto.com/gallery/8778896_ystF2)
Heather Lake, WA (http://www.sealedglassphoto.com/gallery/8567581_ukuwu)