Jquery | Some useful and qucik scripts
May 1, 2010 at 4:55 am 2 comments
1. How to get x-axis and y-axis on mouse move
$().mousemove(function(e){
//display the x and y axis values inside the mouseOverMe div
$('#mouseOverMe').html("X Axis : " + e.pageX + " | Y Axis " + e.pageY);
});
HTML
<div id=”mouseOverMe”>Mouse over me</div>
2. Disabling Right click
$(document).ready(function(){
$(document).bind("contextmenu",function(e){
return false;
});
});
1.
brat111111 | May 26, 2010 at 12:32 pm
interesting post-modernism.To me ponravilosya as you are izlogaete ideas.
2.
hidayat | June 1, 2010 at 6:26 am
i really appreciate this your good script..
from there i get something that i want to know
thanks for this usefull informations