JavaScript
  Home arrow JavaScript arrow Making Table Rulers Work with Multiple Tab...
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

Making Table Rulers Work with Multiple Tables
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-09-10

    Table of Contents:
  • Making Table Rulers Work with Multiple Tables
  • Review: building a table ruler that targets a single HTML table
  • Extending the functionality of the table ruler
  • The full source code of the improved 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


    Making Table Rulers Work with Multiple Tables


    (Page 1 of 4 )

    A table ruler is a helpful mechanism that allows the user to highlight sections of a selected HTML table every time the mouse is placed over each of its rows. Naturally, this simple rollover effect permits users to keep track of the row currently being viewed, in this way increasing the table’s overall usability. This is the third article in a four-part series on creating table rulers.

    Introduction

    Despite its seeming simplicity, building a table ruler can be a challenging task, particularly for inexperienced web designers taking their first steps into the huge terrain of professional web development.

    So, if you’re a newcomer who wishes to learn how to create a table ruler by using different approaches, or simply a seasoned designer who wants to fill some gaps that you might have regarding this topic, then in this group of articles you’ll find a comprehensive guide that will lead you through building this popular web application, using a combination of CSS and JavaScript.

    And now that I mentioned “articles,” you’ll surely recall that in the last one I explained how to construct a simple table ruler that only relied on JavaScript to highlight the rows of a targeted HTML table. Indeed, this small JavaScript program was built by means of an unobtrusive approach, meaning that its functionality could be easily extended, without having to modify its structural markup.

    Now that you have recalled the topics that were treated in the previous article, it’s time to talk about the concepts that I plan to deploy in the next few lines. In this third tutorial I’m going to demonstrate how to build a table ruler that can be used with multiple HTML tables, thus largely extending its existing functionality.

    In this particular case, this brand new table ruler will use JavaScript as its workhorse to target several HTML tables at the same time, but as you’ll see in a moment, the way this application will function will be really easy to grasp.

    Now, it’s time to start learning how to create a table ruler capable of working with multiple tables. Let’s jump in!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This installment of the series demonstrates how to build a table ruler that can be...
     

    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