right click warning not working
J.T.
Registered Users Posts: 279 Major grins
I have customized my right click protection in my javascript to read: rightClickWarning = "All photographs are property of J.T. Photography. All rights reserved. Unauthorized use is prohibited.";
It used to work but for some reason it doesn't work now. It's still in my javascript exactly as it reads above. I recently added some new javascript to protect from spam emails (<a href="javascript:norobotmail('capturemoment',%20 'sbcglobal.net')" class="nav">email me</a>) and thought it might have something to do with it but I am not sure.
How can I fix this so the right click protection goes back to my customized text?
Thanks :scratch
It used to work but for some reason it doesn't work now. It's still in my javascript exactly as it reads above. I recently added some new javascript to protect from spam emails (<a href="javascript:norobotmail('capturemoment',%20 'sbcglobal.net')" class="nav">email me</a>) and thought it might have something to do with it but I am not sure.
How can I fix this so the right click protection goes back to my customized text?
Thanks :scratch
John "J.T."
http://johnthiele.smugmug.com
Nikon D80 w/MB-D80 vertical grip
Tokina 50-135 f/2.8
Nikkor 50mm f/1.4D
Nikkor 18-55mm f/3.5-5.6G
Nikkor 70-300mm f/4.5-5.6G VR
RPS Studio Rotating Flash Bracket
SB 600
http://johnthiele.smugmug.com
Nikon D80 w/MB-D80 vertical grip
Tokina 50-135 f/2.8
Nikkor 50mm f/1.4D
Nikkor 18-55mm f/3.5-5.6G
Nikkor 70-300mm f/4.5-5.6G VR
RPS Studio Rotating Flash Bracket
SB 600
"Sometimes I do get to places just when God's ready to have somebody click the shutter." -- Ansel Adams
0
Comments
So this appears to be an IE-only problem.
I've included a screen shot from Firefox below.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Thanks Denise...that's nice to know? Weird, hmm. I use IE7 at work which is where I noticed this problem. I mainly use a mac at home with safari and firefox. Those probably are okay though. I'll check later.
Thanks.
http://johnthiele.smugmug.com
Nikon D80 w/MB-D80 vertical grip
Tokina 50-135 f/2.8
Nikkor 50mm f/1.4D
Nikkor 18-55mm f/3.5-5.6G
Nikkor 70-300mm f/4.5-5.6G VR
RPS Studio Rotating Flash Bracket
SB 600
Portfolio • Workshops • Facebook • Twitter
Andy here is one link to a gallery, but it's occuring on every gallery when I am using Internet Explorer 7. I haven't had a chance to check using Safari or Firefox, but on the previous reply, Firefox seems to be working fine. ???
Thanks.
http://www.jtcapturethemoment.com/gallery/3162503#173850038
http://johnthiele.smugmug.com
Nikon D80 w/MB-D80 vertical grip
Tokina 50-135 f/2.8
Nikkor 50mm f/1.4D
Nikkor 18-55mm f/3.5-5.6G
Nikkor 70-300mm f/4.5-5.6G VR
RPS Studio Rotating Flash Bracket
SB 600
It appears that you have some sort of JavaScript error in IE7 that doesn't show in Firefox and that error is causing your Javascript that sets the right click message to not execute. I see the error in IE7 on this page: http://www.jtcapturethemoment.com/gallery/3162503#173850038, but I haven't yet figured out what is causing it since the JS debugging tools for IE7 are not as good as those for Firefox.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
OK, here are two JavaScript errors in your JavaScript customizations.
In the JavaScript line:
var objElement = YD.get("comment")
you need a semicolon at the end of the line.
Also, you have this HTML:
<a href="javascript:norobotmail('capturemoment',%20 'sbcglobal.net')" class="nav">email me</a>
in your JavaScript section. It does not belong there and creates JavaScript errors. I don't know where you want it - perhaps you were trying to put it in your header or footer. If so, put it in those sections of your customization, not in the JavaScript section.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Hi,
I checked your code, and it is the script you are using in your javascript for your email. I removed it from your javascript and placed it in your bio where your email me link is. There was also some javascript that belonged in your JS code, but was not there. I have added it. No errors. If that is not where you wanted it, just holler!
Smug since 2006
SmugMug Help
PhotoscapeDesign
Thanks Barb. I will check with IE7 tomorrow at work and see if it still is a problem. If it is I'll holler, otherwise, thanks!
http://johnthiele.smugmug.com
Nikon D80 w/MB-D80 vertical grip
Tokina 50-135 f/2.8
Nikkor 50mm f/1.4D
Nikkor 18-55mm f/3.5-5.6G
Nikkor 70-300mm f/4.5-5.6G VR
RPS Studio Rotating Flash Bracket
SB 600
Thanks for looking into my problem John. It looks like Barb took care of it today.
http://johnthiele.smugmug.com
Nikon D80 w/MB-D80 vertical grip
Tokina 50-135 f/2.8
Nikkor 50mm f/1.4D
Nikkor 18-55mm f/3.5-5.6G
Nikkor 70-300mm f/4.5-5.6G VR
RPS Studio Rotating Flash Bracket
SB 600