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;
});
});

About these ads

Entry filed under: css, jquery. Tags: .

Insert a character using jquery at some location using substring split single list into multiple vertical columns using jquery

2 Comments Add your own

  • 1. brat111111  |  May 26, 2010 at 12:32 pm

    interesting post-modernism.To me ponravilosya as you are izlogaete ideas.

    Reply
  • 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

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Flickr Photos

The echoing green - El prado de los ecos [Explore 15.09.2014]

Paddy's Boathouse

Sunset at Karanu Geo-Coast

More Photos

Blog Stats

  • 644,741 hits

Follow

Get every new post delivered to your Inbox.

Join 36 other followers

%d bloggers like this: