JavaScript
  Home arrow JavaScript arrow Creating Table Rulers with the jQuery Java...
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

Creating Table Rulers with the jQuery JavaScript Library
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-09-17

    Table of Contents:
  • Creating Table Rulers with the jQuery JavaScript Library
  • Review: building a table ruler using plain JavaScript
  • Adding and removing CSS classes dynamically with jQuery
  • Full source code for the jQuery-based table ruler

  • 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


    Creating Table Rulers with the jQuery JavaScript Library


    (Page 1 of 4 )

    Welcome to the final installment of a series on creating table rulers with CSS and JavaScript. Comprised of four approachable tutorials, this series demonstrates how to build a table ruler by means of several approaches, ranging from utilizing CSS and JavaScript separately, to using a balanced combination of them.

    Introduction

    As a web developer, you know that there are many mechanisms that can be used on a web site to highlight certain sections of it, either for making them look a bit more attractive, or for providing users with a visual aid that contributes to the site’s usability.

    Certainly, table rulers fall under this last category. They're utilized by many web sites nowadays when it’s necessary to display large portions of tabular data. In a case like this, a table ruler permits users to easily highlight sections of a selected HTML table every time the mouse is placed over each of its rows.

    Thus, if you’re interested in learning how to build a table ruler in a simple fashion, which can be incorporated to your own web site with minor hassles, then look no further, because you’ve come to the right place.

    Now, returning to the topics covered in the previous article, I left off discussing how to develop a basic JavaScript-based table ruler that was capable of working with multiple HTML tables. Indeed, creating a JavaScript program like this was a no-brainer process, since it required only using a bit of DOM scripting to attach the table ruler to a couple of sample tables. It was that simple, really.

    However, this educational journey hasn’t finished yet, since in the next few lines I plan to teach you how to build a table ruler with the assistance of the jQuery JavaScript package. This approach can be pretty useful, particularly if you’re currently using this framework to develop your client-side web applications.

    Now that you know what to expect from this last installment of this series, it’s time to see how jQuery can be utilized for building an efficient table ruler. Let’s get going!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This chapter of the series shows how to build a simple table ruler by using...
     

    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 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek