PANGKAS RAMBUT 09 BLOG

1. You open your first blog, click Design> Edit HTML> Expand Widget Templates.
2. Once you click the Expand Widget Tempalte, you copy the code below and paste the above code before the code </ body>

     <script language='JavaScript1.2'>

     / / Disable select-text script (IE4 +, NS6 +) - By Andy Scott

     / / Exclusive permission granted to Dynamic Drive to feature script

     / / Visit http://www.dynamicdrive.com for this script


     disableselect function (e) {

     return false

     }

     reEnable function () {

     return true

     }

     / / if IE4 +

     document.onselectstart = new Function ("return false")

     / / if NS6

     if (window.sidebar) {

     document.onmousedown = disableselect

     document.onclick = reEnable

     }

     </ script>

     <script language='JavaScript'> curPage = 1;

     document.oncontextmenu = function () {return false}

     if (document.layers) {

     window.captureEvents (Event.MOUSEDOWN);

     window.onmousedown = function (e) {

     if (e.target == document) return false;

     }

     }

     else {

     document.onmousedown = function () {return false}

     } </ script>

3. Once the code was pasted by you, you click Save Template and finished it all.

Categories:

Berikan Komentar Lanjutan