Contact Me
credits
|
Agustus 25, 2012 | 0 Cloud(s)
Tutorial: Disable Right Click Hai, Assalamu 'alaikum!
1. Pergi ke : Dahsboard > Template > Edit HTML.
2. Tekan Ctrl+F atau F3 dan cari code ini :
<head>
3. Copy code di bawah.
<script language=JavaScript><!--//Disable right mouse click Script//By Dynamicdrive (renigade@nsimail.com)//For full source code, visit http://www.dynamicdrive.comvar message="";///////////////////////////////////function clickIE4(){if (event.button==2){return false;}}function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){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("return false")// --></script> 4. Pastekan di bawah code <head>5. Preview & save. Wassalamu 'alaikum. Label: tutorial Agustus 22, 2012 | 2 Cloud(s)
Tutorial: Hide Shoutbox Assalamu 'alaikum 1. Dashboard > Design > Add Gadget > Html 2. Copy code ini. <style type="text/css">#gb{position:fixed;top:50px;z-index:+1000;}* html #gb{position:relative;}.gbtab{height:350px;width:150px;float:left;cursor:pointer;background:url('URL PICT YANG KAMU SUKA') no-repeat;}.gbcontent{float:left;border:2px solid #00000;background:#F5F5F5;padding:10px;}</style><script type="text/javascript">function showHideGB(){var gb = document.getElementById("gb");var w = gb.offsetWidth;gb.opened ? moveGB(0, 150-w) : moveGB(170-w, 0);gb.opened = !gb.opened;}function moveGB(x0, xf){var gb = document.getElementById("gb");var dx = Math.abs(x0-xf) > 10 ? 5 : 1;var dir = xf>x0 ? 1 : -1;var x = x0 + dx * dir;gb.style.right = x.toString() + "px";if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}}</script><div id="gb"><div class="gbtab" onclick="showHideGB()"> </div><div class="gbcontent">MASUKKAN KODE SHOUTMIX KAMU DI SINI <div style="text-align:right"><a href="javascript:showHideGB()">[close]</a></div></div></div><script type="text/javascript">var gb = document.getElementById("gb");gb.style.right = (140-gb.offsetWidth).toString() + "px";</script> - merah: ukurannya. Boleh diubah sesuai yang kamu mau ;) - biru: URL pict -oren: code shotmix kamu Oya, ada bonus freebies nih. :) http://i1123.photobucket.com/albums/l550/queweq/shoutboxicon10.png http://i1142.photobucket.com/albums/n619/ienatecik/shoutbox-kitty.png http://i1118.photobucket.com/albums/k612/nizahwiwin/shoutbox.png maaf dikit. k'bye. Wassalamu 'alaikum Label: tutorial |