JavaScript
  Home arrow JavaScript arrow Handling Mouse Overs and Keyboard Events w...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Handling Mouse Overs and Keyboard Events with the jQuery JavaScript Library
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-08-26

    Table of Contents:
  • Handling Mouse Overs and Keyboard Events with the jQuery JavaScript Library
  • Review: handling mouseup and mousemove events with jQuery
  • Using the mouseover() method
  • Introducing the keydown() method

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Handling Mouse Overs and Keyboard Events with the jQuery JavaScript Library


    (Page 1 of 4 )

    Welcome to the third part of an eight-part series introducing the jQuery JavaScript library. This series provides you with a quick overview of the most important features that come packaged with the jQuery JavaScript framework. You'll learn how to manipulate web pages via the DOM, handle different mouse and keyboard events, develop Ajax applications, and create eye-popping effects.

    Introduction

    Now that you've been introduced to the main subject of this series of articles, it’s time to refresh your memory of the topics that were discussed in the last tutorial. Well, as you’ll certainly remember, on that particular occasion I explained how to use the “mouseup()” and “mousemove()” methods included with the “jQuery” package. I then used them to develop a pair of basic JavaScript applications, which were capable of responding to these common mouse events via a simple interface.

    Speaking more specifically, these JavaScript applications displayed an alert box on screen each time users clicked on a link within a sample web document. Definitely, these examples weren't rocket science, but hopefully they helped you to acquire a better understanding of the way that jQuery handles several mouse events.

    Okay, at this point I’m pretty sure that you recalled how to use the library in question to handle both “mouseup” and “mousemove” events in an approachable fashion, so it’s time to explore more methods provided by jQuery. In this article, we'll look at the ones that are aimed specifically at manipulating mouse overs and other common keyboard-related events.

    Now, pick up the mouse with your right hand and the keyboard with the left one, and start reading!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This article looks at more methods provided by jQuery that are aimed specifically at...
     

    JAVASCRIPT ARTICLES

    - Comparing Fields and Customizing Error Messa...
    - Checking Numbers and File Extensions with jQ...
    - Validating Digits and Dates with jQuery`s Va...
    - Validating Ranges, Emails, and URLs with jQu...
    - More Uses for the jQuery Tooltip Plug-in`s b...
    - Building Image-Based Tooltips with the jQuer...
    - Using the jQuery Tooltip Plug-in`s bodyHandl...
    - Using Rangelength, Min and Max with the Vali...
    - Using Minlength and Maxlength with the Valid...
    - Modifying Tooltip Coordinates with the jQuer...
    - Applying a Fade Out Effect with the jQuery T...
    - Tracking Mouse Movements with the jQuery Too...
    - Checking Online Forms with the Validator jQu...
    - Nested JavaScript Functions as Objects
    - The jQuery Tooltip Plug-in







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek