Mouse Tricks

Results 1 - 9 of 9

Sort by:

Using getElementById() to dynamically change cursor styles

Previously I have discussed how various cursor styles can be accessed via CSS. This current tutorial will go one step further, and give an insight how the cursor property can be changed to another setting dynamically once the page has already been...
(show more)

  • Price: Free
  • Views: 49

Simple ChalkBoard Example

Extremely simple example of turning background colors of the cells of the table on and off with mouse events to simulate a chalkboard. You can add more rows and columns.

(2.44 out of 5) from 7 Ratings

  • Price: Free
  • Views: 4,572

Javascript Disable Right Click

If you have quality content on your webpage and want to prevent people stealing your resources, you can add this script to disable the right-mouse click.

(4.00 out of 5) from 15 Ratings

  • Price: Free
  • Views: 2,755

Getting the mouse position

This article shows a simple script to obtain the mouse position from an event. The script will work all modern browsers and most older browsers too.

(4.67 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,284

Table Row and Column Highlighting

Create horizontal and vertical highlighting on your HTML tables. Highlighting is activated when the mouse hovers over a table cell.

  • Price: Free
  • Views: 1,540

mouse events

Mouse-events.html is a template for handling three basic mouse events: Moving, pressing down on a button, and releasing the button. It works in IE 5+ and should also work in NS 6+. When used in conjunction with DHTML, this can be used to create drag and...
(show more)

(4.15 out of 5) from 39 Ratings

  • Price: Free
  • Views: 3,712

eLouai's Drag and Drop script

An extremly simple and useful script for implementing a cross browser drag and drop game (IE 4+, NN 6+, Firefox). Place code in the header and simply append all images that are draggable with the class name (class="dragme"). That's it!

(4.21 out of 5) from 783 Ratings

  • Price: Free
  • Views: 3,413

Table Cell Background Hover With CSS and Javascript

Learn how to make your cell background colors change when your mouse is pointed over it.

(3.40 out of 5) from 15 Ratings

  • Price: Free
  • Views: 8,661

Universal JavaScript Rollovers

This comprehensive tutorial explains various implementations of JavaScript rollovers. It discusses: How to use the document.images object, How to make your rollovers backward compatible, How to create an instance of the Image object, How to combine...
(show more)

(4.33 out of 5) from 9 Ratings

  • Price: Free
  • Views: 8,116
<< previous
 ( ) 
next >>