Right Click Protection Code
Jingle Images
Registered Users Posts: 212 Major grins
Ok did a update on this here is the new code needed
Thanks to dallasw
CODE goes in css box on Entire Site
For example
Thanks to dallasw
CODE goes in css box on Entire Site
For example
- Custom message in green
- Right click tooltip look and feel in blue
/* Right Click Protection code */ /* Your Message */ .sm-user-ui .sm-right-click-message:after { content: '[COLOR="PaleGreen"]YOUR Custom Message Here[/COLOR]'; } /* To Block SM Message */ .sm-user-ui .sm-right-click-message .sm-tooltip-content { display: none; } /* used for changing background-color and Radius AND color of Text In some Themes */ [COLOR="DeepSkyBlue"].sm-user-ui .sm-right-click-message { background-color: #fff; border-radius: 10px; box-shadow: -4px 5px 10px #000; color: black; }[/COLOR]
0
Comments
Please check out my gallery of customisations for the New SmugMug, more to come!
Ok updated to single.
And this works like a charm. Thanks!!!
"Taking One Shot at a Time"
[url]Http://PedroAlicea.smugmug.com[/url]
[url]Http://www.PedroAlicea.com[/url]
Ok.
www.jingleimages.com
Yea I had the same thing trying to make it work for me. I had "" around a word. Will work on it today to see if can somehow get around this.
Or:
Please check out my gallery of customisations for the New SmugMug, more to come!
www.richknechtphotography.com
Yes, customizing is faster and easier, but we are still missing JavaScript support and a better comment system.
Your welcome. check it on IE 9 might need to add or adj. code
IE 9 is not working for me.
follow me on: flickr - 500px - twitter
Are you using IE 7,8,9 ???
If so I have to find away for it to work.
Safari, Chrome or Firefox
Full code with added lines:
.sm-tooltip-content:after {
content: 'Your message here.';
visibility: visible;
display: inline-block;
position: relative;
background-color: #595959;
width: 240px;
height: 75px;
padding: 8px;
}
.sm-user-ui .sm-tooltip, .sm-user-ui.sm-tooltip {
visibility: hidden;
}
Hope that helps some
ColinMPhotography.com
I do not see your site as new, so until it is live it will be hard to help.
Thanks for this
use this and adj. in red
Will this code work on IE 10?
I cant get it to work on IE at all on my end.
will work on code tonight and see what I can come up with.
Just tried on IE 10 & when I right click nothing happens (I don't get any menus, even the default IE menu).
Short answer: No, it does not appear to work in IE 10.
It works perfect. Thank you very much!
Have a good Day
Code is
Try replacing the code with updated code and see if it works now.
It works on my end with updated code.
I know, it is the irony of the "New and Improved SmugMug". To work out the bugs you have to unveil, which is the very thing you want to avoid doing until after you have worked out the bugs.
Thanks for trying.
EDIT: In Safari the new code appends what you type in the 'YOUR MESSAGE HERE' section of the code to the already existing SmugMug boiler plate so that it ends up looking like this (here i just inserted "test message"):
Try the new code I put up.