Advanced search
Registered users
Username:

Password:

Log me on automatically next visit?

¤  Forgot password
¤  Registration
 
♥ ♥ SHOUTBOX ♥ ♥



Please leave name in the shoutbox to be activated. Thanks Manimal & Heidi (You can IM us in Hal also!) or contact us @ patient@theasylum.me


Random image

enchancedtallbymanimal-405
enchancedtallbymanimal-405

Heidi
  


Remove the Right-Click Disabler Different Versions

Previous image:
   4Images Remove Postcard Function  
 Next image:
How to Change Template   

 


    
Remove the Right-Click Disabler Different Versions
Description: You Can Read This Tutorial also at - http://iezombie.net/4images-remove-the-right-click-disabler-different-versions/


Go to Edit Template > Load Your Theme > Then Load Header.html

Open the header.html template and remove these lines

Don’t Forget to Save Changes at the Bottom



4images V1.7 – 1.7.2

function right(e) {
if (navigator.appName == ‘Netscape’ && (e.which == 2 || e.which == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
else if (navigator.appName == ‘Microsoft Internet Explorer’ && (event.button==2 || event.button == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;

4images V1.7.3 – 1.7.6

function right(e) {
if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
else if (event.button == 2 || event.button == 3) {
alert(“© Copyright by {site_name}”);
return false;
}
return true;
}if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = right;
}
else if (document.all && !document.getElementById){
document.onmousedown = right;
}document.oncontextmenu = new Function(“alert(‘© Copyright by {site_name}’);return false”);

Right-click only for Guest, not for Members



function right(e) {
if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
else if (event.button == 2 || event.button == 3) {
alert(“© Copyright by {site_name}”);
return false;
}
return true;
}if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = right;
}
else if (document.all && !document.getElementById){
document.onmousedown = right;
}document.oncontextmenu = new Function(“alert(‘© Copyright by {site_name}’);return false”);



Replace



function right(e) {
if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
else if (event.button == 2 || event.button == 3) {
alert(“© Copyright by {site_name}”);
return false;
}
return true;
}if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = right;
}
else if (document.all && !document.getElementById){
document.onmousedown = right;
}document.oncontextmenu = new Function(“alert(‘© Copyright by {site_name}’);return false”);
Keywords:  
Date: 10.05.2012 22:41
Hits: 703
Downloads: 38
Rating: 0.00 (0 Vote(s))
File size: 29.4 KB
Added by: Heidi


Author: Comment:
There are no comments for this image



Previous image:
   4Images Remove Postcard Function  
 Next image:
How to Change Template   

 

RSS Feed: Remove the Right-Click Disabler Different Versions (Comments)


Template Modifications by Heidi (Forte)