Tutorial Basic Codes

Code For Infinite Scroll :

NOTE: just paste it to your Customize > THEME. between <head></head> 

——————————————————-

<script type=”text/javascript” src=”http://codysherman.com/tools/infinite-scrolling/code”></script>

——————————————————

Saving Energy Code :

NOTE: just paste it to your Customize > THEME. between <head></head> 

——————————————————

<script language=”javascript” type=”text/javascript” src=”http://www.onlineleaf.com/savetheenvironment.js”></script>

——————————————————

Youtube for Music :

1. Get The Link of the Video

2 Copy this Code Below and insert the Link :

——————————————————

<object width=”0” height=”0”><param name=”movie” value=”LINK HERE &autoplay=1 “></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”LINK HERE &autoplay=1” type=”application/x-shockwave-flash” width=”28” height=”0” allowscriptaccess=”always” allowfullscreen=”true”></embed></object>

——————————————————

Note: you can adjust the size of you player by changing the height and the width of if. and Paste it between <body></body> or on you Description Page.

Disable Right Click :

NOTE: just paste it to your Customize > THEME. between <body></body> 

————————————-

<script language=JavaScript>

<!—

//Disable right click script, http://www.dynamicdrive.com

var message=”“;

///////////////////////////////////

function clickIE() {if (document.all) {(message);return false;}}

function clickNS(e) {if 

(document.layers||(document.getElementById&&!document.all)) {

if (e.which==2||e.which==3) {(message);return false;}}}

if (document.layers) 

{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}

else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function(“return false”)

// —> 

</script>

———————————-