[development] Javascript Tools and Backport: developer-interest modules

Rowan Kerr rowan at stasis.org
Mon Apr 24 20:03:30 UTC 2006


Earl Miles wrote:
> Please please please please.
> 
> Anyone who uses views UI would love you if the tools are something I can 
> easily integrate. =)


Since Merlin & Amazon asked so nicely... :)

http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/rkerr/table.js

A module that uses this will need to add a new column to tables with the 
links in it to call these functions. Something like this:

<td>
   <a href="#" onclick="tableRowUp(this); return false;">up</a>
   <a href="#" onclick="tableRowDown(this); return false;">dn</a>
   <a href="#" onclick="tableRowDelete(this); return false;">x</a>
   <a href="#" onclick="tableRowCopy(this); return false;">+</a>
</td>


-Rowan



More information about the development mailing list