Javascript / Jquery Archives - Page 2 of 2 - Freelance Web Developer Manchester | SEO Consultant

Smooth images loader

// minimal CSS img {display: none;} // JavaScript code <script> $(window).load(function() { var images = $('img'); images.each(function(n) { $(this).delay(n * 250).fadeIn(); }); }); </script> 123456789101112131415 // minimal CSS  img {display:...

How to block “right click”

<script> var message="Right Click is disabled on this page"; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){...