[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-06-13 Thread Nicolas R
Hello all, I am working on a new version for this plugin to tackle the problems mentioned here and those received by email. I created a new group for this plugin to better organise this project. Here I describe the current status and where it is going: http://groups.google.com/group/jqueryfinder/

[jQuery] Re: A new take on form validation, need code review and feedback

2009-06-03 Thread Nicolas R
Matthew wrote: > > > > > > > Hey Nicolas, > > > Great work!  I really like this idea.  Maybe you can put the explanation > > and examples from your email onto the web site.  I've bookmarked the > > page for future reference but this email really gives a q

[jQuery] A new take on form validation, need code review and feedback

2009-06-03 Thread Nicolas R
Hello all, I feel a bit guilty for posting this here as it may be considered as spam, so if you do think that please ignore/delete. For the last couple of days I've been working on a form validation plugin and I've taken a completely different approach (I think, that is) from what already exists.

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-04-01 Thread Nicolas R
Tor, To select an item when the finder is created you can use the public method $('some').finder('select', URLS_ARRAY or URL_STRING or DOM_ELEMENTS ). Call this method on the onInit callback. There is no function that returns some sort of path for the current page. I believe it would be easy to

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-03-14 Thread Nicolas R
wrote: > Hi, I noticed that the API browser > @http://www.nicolas.rudas.info/jquery/finder/api.html > isn't displaying the info.  Is it being updated for 1.7 maybe? > Thanks... > > On Mar 5, 5:37 pm, Nicolas R wrote: > > > All right, I added IE6 support. > > &g

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-03-05 Thread Nicolas R
All right, I added IE6 support. Latest files (ui.finder.js,ui.finder-min.js, and ui-finder.ie.css) can be found at the trunk: http://code.google.com/p/jqueryfinder/source/browse/trunk Its not the same as in decent browsers but its good enough. On Mar 4, 7:41 pm, Nicolas R wrote: > M

[jQuery] Re: Javascript search library

2009-03-05 Thread Nicolas R
Khai, perhaps this may be useful to you: http://code.google.com/p/jdatastore/ If you find it excessive, perhaps just the filter method is what you're after: http://code.google.com/p/jdatastore/source/browse/trunk/store.js#375 On Mar 5, 4:00 am, Khai wrote: > I have a collection of DIVs (or a JS

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-03-04 Thread Nicolas R
Matt, I'll get back to you tomorrow with some code snippets. It's been a while since I did the bug fixing for IE and I can't remember right now what the issues were. And since I'm really smart I didn't save the code that fixed the issues. So, yeah, tomorrow I'll have a look and post back. Cheers

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-02-27 Thread Nicolas R
Ok, first public version of jQuery Finder is now available. I've fixed a few bugs and added/changed some methods. Download from http://code.google.com/p/jqueryfinder/downloads/list Zip file contains all necessary scripts and styles. On Feb 20, 9:34 am, Nicolas R wrote: > Your welco

[jQuery] Re: Loop through JSON data and check for each option specified

2009-02-22 Thread Nicolas R
Hey Thomas, from what you're saying it seems that we're trying to tackle the same issue. Have a look at this it may be helpful: http://groups.google.com/group/comp.lang.javascript/browse_thread/thread/83281987eccf68be What's your solution? On Feb 21, 4:24 pm, Thomas Jaggi wrote: > Great, that's

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-02-19 Thread Nicolas R
docs wiki in the ThemeRoller ready > > page:http://docs.jquery.com/UI/Theming/ThemeRollerReady > > > On Feb 7, 2:04 pm, Nicolas R wrote: > > > > IE 7 seems to be ok now, but there's a CSS bug I can't figure out (see > > > the width of list items,

[jQuery] Finding values (text,numbers, regexps) in objects (arrays or key/value pairs)

2009-02-19 Thread Nicolas R
I know that this is not the place to post my question but here it is. If someone knows a better place please do inform. I have an array of objects and I want to retrieve specific elements that match certain criteria, i.e. find value A in an object B. The problem is that I cannot know what is A (t

[jQuery] Re: Does it hurt to call functions that don't do anything on the page?

2009-02-09 Thread Nicolas R
I not sure if this suits you, but you could split your functions to separate files and then lazy load each js file as necessary. In such case http://nicolas.rudas.info/jQuery/getPlugin/ may be helpful Otherwise I find Ricardo's suggestion the easiest. You could also do some time tests to check wh

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-02-07 Thread Nicolas R
quires ie6 support just ask. Chrome is also ok. I also added some more data on the api. On Feb 6, 10:55 pm, "Rick Faircloth" wrote: > Malformed in IE 7... > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On &g

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-02-06 Thread Nicolas R
v0.6a is out http://www.nicolas.rudas.info/jQuery/Finder/ Following up on Nikola's idea, I've also made this: http://www.nicolas.rudas.info/jQuery/Finder/v0.6a/api.html The jQuery API, finder style. It's doesn't give any API docs tho at the moment, just a list of methods (the json data provided

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-02-05 Thread Nicolas R
ackle this? Are there any special requirements? Any jQuery UI people around here? Cheers On Jan 23, 7:32 pm, Nicolas R wrote: > @Cliff, > I remember that somewhere in the source there's provision for what > you're asking (the first version was like that). I'm also sure that

[jQuery] Re: Bug? ajax request headers not being modified by beforeSend (jquery 1.3.1)

2009-01-24 Thread Nicolas R
mall plugin to submit my forms in a hidden iframe so that to avoid ajax. Problem solved. Works in all browsers, including IE. Hope it helps: http://www.nicolas.rudas.info/jQuery/xajaSubmit.js On Jan 24, 7:30 pm, Nicolas R wrote: > Hi Mike, > > Unfortunately no I can't post a link, t

[jQuery] Re: Bug? ajax request headers not being modified by beforeSend (jquery 1.3.1)

2009-01-24 Thread Nicolas R
Hi Mike, Unfortunately no I can't post a link, the site is private and contains lots of sensitive user data. I observe request using FF's firebug. As I said, using GET will change the content-type to whatever I specify. When using POST, the content- type may change but the charset part will not.

[jQuery] Re: Bug? ajax request headers not being modified by beforeSend (jquery 1.3.1)

2009-01-23 Thread Nicolas R
It seems that when I use GET instead of POST, the content type header is correctly changed to what I specify. But even so, this is not a stable fix as I want to POST. Any ideas? On Jan 22, 7:09 pm, Nicolas R wrote: > I need some help here guys. > I'm trying to modify the conte

[jQuery] Re: Download a file from server...

2009-01-23 Thread Nicolas R
I also worked around this by using an iframe, and pointing the form's (or anchor's) target attribute to that iframe. Some browsers don't like it when the iframe is set to visibility:hidden or display:none. If you make it position:absolute;height:0;width:0;border:0; it should be ok. Now, I want to

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-01-23 Thread Nicolas R
@Cliff, I remember that somewhere in the source there's provision for what you're asking (the first version was like that). I'm also sure that its not implemented and that it will require quite a bit of fiddling to get it to work. I'll check the source and do some tests over the weekend and if I h

[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6

2009-01-23 Thread Nicolas R
I had the same problem, I still do actually and the only workaround was to turn off firebug. I also noticed that it wasn't so much the injected html that was causing the issue, rather it was binded events and animations (most likely). John, if you want I'll try and test this and determine the ca

[jQuery] Bug? ajax request headers not being modified by beforeSend (jquery 1.3.1)

2009-01-22 Thread Nicolas R
I need some help here guys. I'm trying to modify the content-type and accept-charset request headers of an ajax call and it seems that beforeSend does not really change the XHR object. My code is something like this: beforeSend : function(xhr) { xhr.setRequ

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-01-16 Thread Nicolas R
On Jan 16, 3:18 am, gobagoo wrote: > Great plugin.  Have you made any progress on getting IE working.  I > would be happy to help as this is a feature that I would love to get > working on my site. > > Thanks, > Adam > > On Dec 8 2008, 6:25 am, Nicolas R wrote: > > &g

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2008-12-08 Thread Nicolas R
l lsee if I can't fix it up in Ie for you. > > I like the idea of this, would be good for CMS use. > > Nicolas R wrote: > > Greetings! > > > I've put together a plugin that creates a mac-style finder out of a > > list. The plugin is still in development (

[jQuery] New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2008-12-08 Thread Nicolas R
Greetings! I've put together a plugin that creates a mac-style finder out of a list. The plugin is still in development (ALPHA) and it needs some testing, especially on IE. The purpose of this plugin is to provide an alternative to treeview navigation. Making it look just like the Finder on a Ma

[jQuery] Re: Design question

2008-11-24 Thread Nicolas R
instead of using an array you could use a key/value object. then you can do something like var o = {} o[row_position] = [row_data] then when you remove a row you do delete o[row_position] you could get the row's position from the drag&drop callback I assume, but even if thats not the case its

[jQuery] Re: Validation regarding Jquery

2008-10-01 Thread Nicolas R
just make sure that you remove any previous validation messages before inserting new ones. if you add class of 'validation-msg' to your messages, then do a $('.validation-msg').remove() whenever you validate something. If you are considering performance when you could also do something along the l

[jQuery] Re: Exhausted..Need HELP Please! - Jquery / Simplemodal / Jquery.validate.js

2008-10-01 Thread Nicolas R
I would say that the problem is caused by either invalid HTML and/or event bindings being lost after you replace the original element with a new one (retrieved via ajax perhaps). I haven't checked for the second case, but it appears that invalid HTML is the most probable cause. It's always good p

[jQuery] Zebra stripes (alternate background colours)

2008-10-01 Thread Nicolas R
Just in case anyone is looking for an easy way to create zebra stripes (for table rows or whatever), here's a small plugin you could use: $('.zebra :even').zebra() or $('.zebra :even').zebra('.zebra :odd') - will take the background colour of selector specified as a starting colour or $('.zebra :

[jQuery] $.waitFor: Calling a function only when another has completed

2008-06-19 Thread Nicolas R
I've put together a simple jQuery method that puts functions 'on hold' so that they are called at the right time and with the right arguments. I thought that some of you may find it useful so here it is. In my case, I used this in creating editable areas with FCK text editor. Instead of using tim

[jQuery] Re: ANNOUNCE: Free AIR v1.0 for JavaScript Developers Pocketguide from Adobe

2008-04-21 Thread Nicolas R
Rey, Thanks On Apr 18, 6:25 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > For all jQuerians interested in producing AIR applications, Ajaxian.com > has posted about the new "AIR for JavaScript Developers Pocketguide" > which has been updated for Adobe AIR v1.0. The PDF download is FREE! Get > it whi

[jQuery] Re: should be using .find . . .

2008-04-21 Thread Nicolas R
$.ajax({ type: "GET", url: "home.html", data: "", success: function(html){ $("#loadTest").append($(html).find("#footer")); } }); that should do it. but why would you pass an empty string of data? On Apr 21, 9:39 am, hubbs <[EMAIL PROTECTED]> wrote: > I cannot get it

[jQuery] Re: Traversing AJAX Response?

2008-04-20 Thread Nicolas R
If you convert your response to a jQuery object then yes. So something like $(response).find('#mylinks') should work, if used in the success callback function. Your response doesnt need to be in XML, HTML is just fine. On Apr 19, 5:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Is it po

[jQuery] Re: Tabs & Validation

2008-04-13 Thread Nicolas R
Perhaps you could prevent the user from accessing another tab when there are errors on the tab he is currently looking at. On Apr 12, 1:30 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > I think in this case you should reconsider using tabs at all. If you > want to use tabs you should put error mess

[jQuery] Re: $(window).bind("load",function(){ vs onready

2008-04-08 Thread Nicolas R
This is quite a nice topic for discussion as it touches on various important theoretical and practical issues. "All my sites validate perfectly with

[jQuery] Re: $(window).bind("load",function(){ vs onready

2008-04-07 Thread Nicolas R
well, for example, if you want to do something to your DOM elements (divs, links, lists etc) and do it as quickly as possible then you could use document.ready. if on the other hand you are not in a hurry to change the state of your DOM elements or the functionality you want to achieve is less im

[jQuery] Re: New Plugin to help optimise usage of jQuery plugins - contributions welcome

2008-04-05 Thread Nicolas R
; is a quirk. > > -- > Ariel Fleslerhttp://flesler.blogspot.com > > On 4 abr, 12:27, Nicolas R <[EMAIL PROTECTED]> wrote: > > > There seems to be a problem with the plugin when loading external CSS > > and the browser is Opera. > > > From what I understand Opera loads

[jQuery] Re: new to jquery

2008-04-04 Thread Nicolas R
try .parents() instead of .parent() if the parent you are looking for is not the immediate parent of the element you specify (what Andy said). so $(this).parents("fieldset") should work also, perhaps you should use .toggleClass $(function(){ $("a.toggle") .click(function

[jQuery] Re: New Plugin to help optimise usage of jQuery plugins - contributions welcome

2008-04-04 Thread Nicolas R
ded, the styles are not applied to the newly appended elements. Any suggestions about this? On Apr 4, 2:19 am, Nicolas R <[EMAIL PROTECTED]> wrote: > Hey all, > I've just released getPlugin, a plugin that aims to minimise loading/ > rendering times by keeping unnecessary scripts an

[jQuery] [getPlugin] New Plugin to help optimise usage of jQuery plugins - contributions welcome

2008-04-03 Thread Nicolas R
Hey all, I've just released getPlugin, a plugin that aims to minimise loading/ rendering times by keeping unnecessary scripts and styles out of the DOM. What it does is basically check whether or not a specific plugin/ script/style should be imported, and then imports it. The concept is similar t

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Nicolas R
Iair, so what you are saying is that you want to know if, at any point in time, there are any page elements that are still loading? for example, if a mouse click appends a script to the page you need to know if the script has loaded or not? If that's the case, then I've been also trying to get th