Monday, February 18, 2013

Membuat pringatan gambar saat klik kanan di blog

bismillaahirrohmaanirrohiim

oke, kali ini saya akan share sedikit tentang bagaimana cara membuat anti klik kanan sekaligus trik ini kita jadikan sebagai cara untuk mengingatkan pra blogging yang berkunjung di blog kita.

  • Login ke akun Blogger Anda dan masuk ke Tata letak/Layout
  • Klik Tambah Gadget/Add a Gadget


subscription box 1
  • Pilih HTML/JavaScript

Copas Code Berikut:

<style> .overlay{ background-color:rgba(0,0, 0, .9); position:fixed; top:0px; bottom:0px; left:0px; right:0px; z-index:100; } .box{ position:fixed; height:400px; width:678px; left:-80%; top:22%; background-color:rgba(0,0, 0, .4); background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE2X4wOn7uXtbECxJa83GCHGBjcK9TYSR-7ABqQxQCqZo7H-MccHuzKi8xb7wYlXGLgo3nxK777XuwCK8X7fAXBl_gPUXqp7X4YT4fW7jliu_gpnSS3mNs1sB1WlrlgdkbuWlhkyl4f2h_/s1600/dont+copas.png); color:#777; font:20px arial,sans serif; padding:20px; border:1px solid #222; -moz-box-shadow: 0 1px 5px #000; -webkit-box-shadow: 0 1px 5px #000; z-index:9999; } .close{ float:right; width:36px; height:36px; background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE2X4wOn7uXtbECxJa83GCHGBjcK9TYSR-7ABqQxQCqZo7H-MccHuzKi8xb7wYlXGLgo3nxK777XuwCK8X7fAXBl_gPUXqp7X4YT4fW7jliu_gpnSS3mNs1sB1WlrlgdkbuWlhkyl4f2h_/s1600/dont+copas.png) repeat top left; margin-top:-45px; margin-right:-40px; cursor:pointer; } .box h1{ font:60px arial black,sans serif;line-height:0.8em; color:red; } </style>
<script src="http://anthzo.webs.com/2012-blog/disble-right-click.js" type="text/javascript">
<div class='overlay' id='overlay' style='display:none;'>
</div>
<div class='box' id='box'>
<a class='close' id='close'/>
</div>
anda bisa mengganti url gambar tersebut dengan gambar anda.

Share this article :

1 komentar:

Anonymous said...
This comment has been removed by a blog administrator.
 

Goresan Sebuah Pena Copyright © 2013 Minima Template
Designed by BTDesigner · Powered by Blogger