Blog

New Features Released in jquery.matrix.js 0.3

Wed, Apr. 29, 2009

I updated the matrix.jquery.js project with some big new features. The most notable is matrixDelete and matrixStatus being able to be used without triggers. Here are the new features:

matrixDelete

  • New option, trigger, which defaults to true. If you set this option to false, Matrix will not need a trigger to delete an asset. You just need to be sure to pass that asset id in through an anchor tags href attribute. Matrix will still use ajax to move your asset to the trash. Deleting multiple assets also supports this new feature. Note: Because this uses ajax GET and POST, Internet Explorer will run this feature much slower than other modern browsers. This is just a problem with IE.
  • New option, ajaxStatus, will give you real time text status for each asset that is being deleted. So, if this option is set to true, and you use multiple deleting, you will see the status for all assets. (Status includes things like, getting locks, submitting hippo, etc.)
  • onComplete works with these new feature as well.

matrixStatus

  • New options, trigger and ajaxStatus have been added to matrixStatus and are detailed above.

Note: The features outlined above do follow permissions, and require the user deleting or changing the status to have permissions to the admin interface. If this is not the case, the plugin will let you know that you do not have permissions.

matrixMap

  • This is a new plugin that will load up your asset map using xml and ajax.
  • It is in a very early stage and currently can only be used to browse the tree.
  • There are still issues with it, such as the stalks not being correct for lines or open/closed folders. But, things like type 2 links, and indicating if an asset has children work correctly.

I am not entirely sure where this plugin is going to go. It would be a huge project to build all the features that the java asset map currently has. I would be interested in hearing what you guys think about this.

Please give the new version of the plugin a download, and let me know what you think!

Download the jquery.matrix.js Project

Nicholas Hubbard
Owner

Add Comment