VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 General help me questions
 Disable right click
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gupster
VP-ASP New User

101 Posts

Posted - September 17 2006 :  18:43:58  Show Profile  Visit gupster's Homepage  Reply with Quote
On one of our stores we have spent ages making the pictures look perfect and obviousy dont want people steeling them. I could put a copyright watermark accross them all but then this will make them look not so nice.

What code do i need to add and where to bring up the right click has been disabled warning box like i have seen on other sites.

Thanks,

www.reactionclubwear.co.uk
www.reactionclothing.co.uk
www.reactionlingerie.co.uk
www.reactionvision.co.uk

elammers
VP-ASP Super User

USA
256 Posts

Posted - September 17 2006 :  21:16:18  Show Profile  Visit elammers's Homepage  Reply with Quote
To answer your question, there are multiple tricks. I'll post the IE Image Toolbar disable.

"Image Toolbar" is a IE6+ specific feature designed to facilitate the handling of images on your site. As a user moves his mouse over an image on your page in IE6, a rectangular toolbar pops up, allowing for the instant saving, printing, and emailing of it.

Insert the following META tag into the <head> section of your shoppage_header.htm page. Doing so will disable the toolbar for all images on the page:

<META HTTP-EQUIV="imagetoolbar" CONTENT="no">


MY 2 CENTS:
Some power users really hate it when you disable the right-click option and may just leave your site because they use it for other things. If someone really wants your graphics, they'll get them. So unless the graphic is what is for sale, don't disable the right-click.

But if the graphic is what you are selling, then people will understand the copyright watermark. Or . . . you could edit a little of the cart code and make all your "protected" images show up as the background graphic in a cell with blank, transparent GIF on top. That way, any right-clicking will only save the empty GIF.

Regards,

Eric in Maine
Go to Top of Page

gupster
VP-ASP New User

101 Posts

Posted - September 18 2006 :  20:53:44  Show Profile  Visit gupster's Homepage  Reply with Quote
Thanks for the info.

Are products are just of clothing items so its not the sort of items people need a copy of on their own computer to make up their mind if the want to buy. Also the site is aimed at women and i have asked alot of women friends and family and they have agreed that they would never think about saving the picture for any reason if it is on the site.

The code you have givin isnt exactly the type i am after i take it that the stops the pop up icons next to the picture? I am after the one were you click the right click to get the ie menu but the a box pops up saying warning text that you add.

Thanks,


Adam



www.reactionclubwear.co.uk
www.reactionclothing.co.uk
www.reactionlingerie.co.uk
www.reactionvision.co.uk
Go to Top of Page

gupster
VP-ASP New User

101 Posts

Posted - September 18 2006 :  21:01:17  Show Profile  Visit gupster's Homepage  Reply with Quote
Forget my last question google came to the rescue again!!

Thanks agin for letting me know which file needs it.

<script language=JavaScript>
<!--
var message="All images copyright Reaction Lingerie.co.uk";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// --> 
</script>


www.reactionclubwear.co.uk
www.reactionclothing.co.uk
www.reactionlingerie.co.uk
www.reactionvision.co.uk

Edited by - gupster on September 18 2006 21:09:20
Go to Top of Page

dwight
VP-ASP New User

USA
143 Posts

Posted - February 15 2007 :  06:50:40  Show Profile  Reply with Quote
I was hoping you could tell where and in which file to put the following code you posted.
Thanks for posting it.
Dwight

quote:
Originally posted by gupster

Forget my last question google came to the rescue again!!

Thanks agin for letting me know which file needs it.

<script language=JavaScript>
<!--
var message="All images copyright Reaction Lingerie.co.uk";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// --> 
</script>


www.reactionclubwear.co.uk
www.reactionclothing.co.uk
www.reactionlingerie.co.uk
www.reactionvision.co.uk

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000