Up Your Cupcake
Please 'Register' or 'Log-in' to start interacting with the forum.
Up Your Cupcake
Please 'Register' or 'Log-in' to start interacting with the forum.
Up Your Cupcake
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Up Your Cupcake

Connect with other women from all over the world! Share advice, get support, & make lifelong friendships.
 
HomePortalLatest imagesRegisterLog in
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Navigation
Portal
Forum
Memberlist
User Control Panel
Forum FAQ

March 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031
CalendarCalendar
Tweet With Us ♥
Poll
What is your opinion on Male Infant Circumcision?
Pro-Circumcision
 → Disable 'Right' Clicking on Your Blog ← Vote_lcap25% → Disable 'Right' Clicking on Your Blog ← Vote_rcap
 25% [ 37 ]
Pro-Parents Choice
 → Disable 'Right' Clicking on Your Blog ← Vote_lcap32% → Disable 'Right' Clicking on Your Blog ← Vote_rcap
 32% [ 47 ]
Anti-Circumcision
 → Disable 'Right' Clicking on Your Blog ← Vote_lcap39% → Disable 'Right' Clicking on Your Blog ← Vote_rcap
 39% [ 57 ]
I don't have an opinion.
 → Disable 'Right' Clicking on Your Blog ← Vote_lcap3% → Disable 'Right' Clicking on Your Blog ← Vote_rcap
 3% [ 5 ]
Total Votes : 146

Share
 

  → Disable 'Right' Clicking on Your Blog ←

View previous topic View next topic Go down 
AuthorMessage
SnarkyCupcake
SnarkyCupcake
Administrator
Administrator


 → Disable 'Right' Clicking on Your Blog ← Empty
PostSubject: → Disable 'Right' Clicking on Your Blog ←    → Disable 'Right' Clicking on Your Blog ← Icon_minitimeSat Jan 24, 2015 3:15 pm

Code:
<script language=”JavaScript”>
<!–

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message=”Please do not use any images from this site without written permission. [You must be registered and logged in to see this link.]“;

///////////////////////////////////
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>


[You must be registered and logged in to see this link.] wrote:


Do you want to protect the images and photos on your blog? You can protect your site with a right click disable code! Using the follow code will cause an alert box to pop up with the message of you choice, letting people know that your information is copyrighted. The code isn’t foolproof, but it does allow you to warn people who want to take your graphic and photos.


Please note: If you have a blog button on your site with the HTML share code, be sure to let your readers know to use their keyboard short cuts (CTRL C, CTRL V) instead of their mouse to copy your button code.

Copy the following code and paste it into a gadget box on your sidebar.
Back to top Go down
 

→ Disable 'Right' Clicking on Your Blog ←

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» → Disable Comments for Specific Posts ←
» → What is a Blog Hop? ←
» Your first blog post?
» → Adding Labels to Your Blog Post ←
» → Getting Traffic to Your Blog ←

Permissions in this forum:You cannot reply to topics in this forum
Up Your Cupcake :: BLOGGY BISHES ♥ :: Blog Graphics & Layouts :: HTML/CSS Coding-