Re: [jQuery] ANNOUNCE: The treemap plugin

2007-03-14 Thread Renato Formato
Alexandre Plennevaux ha scritto: Just beware if you put too much elements, it clogs the browser and then you have to ctrl+alt+Del your way out. I just tried with 500 elements. Boom. If there were some safe way to threshold the plugin, i would consider it perfect. I know, I have spent much

Re: [jQuery] ANNOUNCE: The treemap plugin

2007-03-14 Thread Renato Formato
Howard Jones ha scritto: Renato Formato wrote: Hi all, I wrote a jQuery plugin to show treemaps (http://en.wikipedia.org/wiki/Treemap) easily thanks to jQuery. A treemap is a nice way to visually show data with rectangles and colors. Let me know what do you think about it, how can I

Re: [jQuery] ANNOUNCE: The treemap plugin

2007-03-14 Thread Renato Formato
Matt Kruse ha scritto: Renato Formato schrieb: I wrote a jQuery plugin to show treemaps (http://en.wikipedia.org/wiki/Treemap) easily thanks to jQuery. Link: http://www.jquery.info/spip.php?article40 The documentation is pretty light, so it's hard to understand exactly what the table data

[jQuery] ANNOUNCE: The treemap plugin

2007-03-13 Thread Renato Formato
Hi all, I wrote a jQuery plugin to show treemaps (http://en.wikipedia.org/wiki/Treemap) easily thanks to jQuery. A treemap is a nice way to visually show data with rectangles and colors. Let me know what do you think about it, how can I enhance it, add new features and so on. Link:

Re: [jQuery] ANNOUNCE: The treemap plugin

2007-03-13 Thread Renato Formato
Jörn Zaefferer ha scritto: I like that. Dunno yet what I'd need that for, but I'll keep it in mind. Could you please add the link to the plugin list in the wiki and provide demo links at the top of your plugin site? Thanks. Other than the Alexandre suggestion (in fact treemaps have been

Re: [jQuery] .filter(array) bug, and patch

2006-11-28 Thread Renato Formato
Andrea Ercolino ha scritto: Fil wrote: I agree, but it's really grep that we want to do here, in my opinion. The call to filter inside the loop is already grepping... ultimately. BTW: could someone explain how does it work this mechanism, where a function has two declarations, like

[jQuery] form plugin: preprocessing params before submitting

2006-11-18 Thread Renato Formato
Hi, i'm using the excellent form plugin but I have a problem. I would like to preprocess the params of the form before submitting them but the before function does not allow this kind of manipulation. It allows only to abort the submit. I propose that the value returned by the before function,

Re: [jQuery] form plugin: preprocessing params before submitting

2006-11-18 Thread Renato Formato
Mike Alsup ha scritto: Is it possible to preprocess the params without changing the API? Renato, The 'before' handler is passed an array containing the args to be submitted. You can manipulate this array any way you see fit. When the 'before' handler returns the array is converted to

[jQuery] aborting an ajax request

2006-11-15 Thread Renato Formato
Hi, i was searching for a way to abort an existing ajax request, not on timeout but explicitly and i did not find anyone. I propose to let the ajax function return the XMLHttpRequest object. This light change would allow to abort the request. To have this feature working for all ajax request,

Re: [jQuery] form plugin updates

2006-10-10 Thread Renato Formato
Mike Alsup ha scritto: Based on recent discussions I've made some updates to the form plugin. Thanks Mike, I would like to remind that there is still a very annoying bug on IE. Fil filled a bug report about that for jQuery (http://jquery.com/dev/bugs/bug/160/) In short, if you have an input

Re: [jQuery] Fast form serializer function for review

2006-10-03 Thread Renato Formato
Hi, I've introduced the optimizations proposed by Matt in the serialize version I've already posted (var t = this.type). http://zone.spip.org/trac/spip-zone/browser/_plugins_/_dev_/-jQuery/form.js Renato ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] clone() returning the cloned objects instead of a reference

2006-09-30 Thread Renato Formato
Anyway, why a clone() affects the object. Cloning should only create a copy object, not affect the state of the original one. I think it is because you may want to chain methods on the cloned object. If clone() does not substitute the cloned object with the original one, you could not call

Re: [jQuery] Form plugin's serialize(): performance issues

2006-09-28 Thread Renato Formato
Brian ha scritto: Perhaps there should be a FastSerialize method, that doesn't guarantee semantic order, and uses every shortcut to cut down on dom-walking time? This way, the developer can choose whether to use the faster method, or the slower-but-correctly-ordered method. - Brian

Re: [jQuery] Form plugin's serialize(): performance issues

2006-09-27 Thread Renato Formato
Mike Alsup ha scritto: Believe it or not, make it a reverse for loop, it is even faster: Except that we want to process them in semantic order! :-) Hi, I read John and Mike pointed out the need to process form elements keeping their order. Can you explain why processing elements in

Re: [jQuery] a fix for getAttribute('action') in forms

2006-08-27 Thread Renato Formato
Fil ha scritto: Hello, there is (apparently) a bug in MSIE if we use getAttribute('action') on a form, because it will give us the action property of the form, instead of the value of its action input. Example : form action=url input type=text name=action value=ok / /form

Re: [jQuery] a fix for getAttribute('action') in forms

2006-08-27 Thread Renato Formato
Jörn Zaefferer ha scritto: Why do you consider an input element with the name 'action' an attribute of the parent form? I'm not sure how form.js works, but I see no bug here. -- Jörn It's not Fil, it is IE that considers attributes and properties the same thing. If you have an input

[jQuery] bug in form plugin when form element name is action

2006-08-20 Thread Renato Formato
Hi, when you ajaxSubmit a form with an element whose name is action, the element itself is passed as the url parameter of the load function. The same kind of error should occur if an element name is method. Renato ___ jQuery mailing list