Andrew Plummer - Design Development Translation

HotText and TableGear Together

Summary

HotText can now be used with TableGear! The effect is very cool, allowing you to update a database quickly and intuitively. It also takes very little to get running!

Example

View Example

Code

<script type="text/javascript" src="/path/to/MooTools-Core.js"></script> <script type="text/javascript" src="/path/to/MooTools-More.js"></script> <script type="text/javascript" src="/path/to/TableGear.js"></script> <script type="text/javascript" src="/path/to/HotText.js"></script> <script type="text/javascript"> new TableGear("tgTable"); new HotText(".htElement"); </script>

The code is so simple, it's almost hardly worth mentioning. Once you've linked to all the source files, simply call each constructor together as you would separately! tgTable is still the id of your table, and htElement is still a class for HotText elements.

Enjoy!