çok güzel bir uygulama
Instructions For Use: - Download the zip file, unzip hl2l.js, and upload it to your server.
- Copy the following code into the <head> tag of the webpage you wish to use the script on (the example assumes that you have uploaded the file to the root of your website):
<script type="text/javascript" src="/hl2l.js"></script> - On any image you wish to protect, use the following "onmouseup" declaration:
<img src="/images/myimage.jpg" onmouseup="hl2l(event);">
kullanım yöntemi
1. zip dosyasını indirin dosyayı extract edin ve serverınıza yükleyin
2. aşağıdaki kodu sayfalarınızın <head> tagından sonra yazın
<script type="text/javascript" src="/hl2l.js"></script>
src="/hl2l.js yazdığı için root dizinine yüklenmeli. siz kendinzie göre düzenleyebilirsiniz
3. herhanngi bir resimi korumak isterseniz "onmouseup" yöntemini aşağıdaki kodlarla beraber kullanabilirsiniz
<img src="/images/myimage.jpg"
onmouseup="hl2l(event);">