|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
![]() I would love to be able to link to my images on forums such as fred miranda, etc. But I want to hide the share button unless I am logged in. Here is the code I found and pasted into my css: .share_button { display: none;}.loggedIn #altViews.nav, .loggedIn .share_button { display: block;} I have 'external link' enabled in this gallery: http://www.valeriecookphotography.co...41556189_9SDaR I can't see the 'share' button at all. Thanks for any help (-: www.valeriecookphotography.com ~Val |
|
|
|
|
#2
|
|
|
Scripting dude-volunteer
|
This is no longer the correct code for hiding/showing the share button.
Change this: .share_button { display: none;} .loggedIn #altViews.nav, .loggedIn .share_button { display: block;} to only this: .notLoggedIn #shareButton {display:none;} To have a Share Button at any time, you also have to have Easy Sharing turned on in the Customize Gallery screen.
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
|
#3
|
||
|
Big grins
|
Perfect - thanks!! I totally forgot about turning the share button on (-: Thanks too, for the correct code! ~Val
Quote:
|
|
|
|
||
|
#4
|
|
|
Big grins
|
I would like to revive this, rather than opening up a new thread...so maybe one of you can help me out.
I would also like the ability to share pics in forums, without making the 'share' button available to people that visit my pages. So, I guess my question is, where does one put that line of code? Two, if I turn off the 'share' button, in the gallery, will it still allow 'me' to share pics? Any help here would be much appreciated. Thanks. Manish. |
|
|
|
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|