Home arrow JavaScript arrow Making Table Rulers Work with Multiple Tables
JAVASCRIPT

Making Table Rulers Work with Multiple Tables


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.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
September 10, 2009
TABLE OF CONTENTS:
  1. · Making Table Rulers Work with Multiple Tables
  2. · Review: building a table ruler that targets a single HTML table
  3. · Extending the functionality of the table ruler
  4. · The full source code of the improved table ruler

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Making Table Rulers Work with Multiple Tables
(Page 1 of 4 )

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!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks
- Dynamic jQuery Styling

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials